Commit Graph

45 Commits

Author SHA1 Message Date
Kurt
efb34f556b Minor tweaks
Reduce allocation of button string fetch (for fun!)
Type return covariance for Editors (no longer limited by netframework!)
2022-10-02 10:24:44 -07:00
Kurt
33a2ab24f1 Minor clean 2022-10-01 17:46:11 -07:00
Kurt
76b0b62ca3 Refactoring
File scoped namespaces
NET6 for GUI
handle nullable references
add editorconfig (mostly for newline at end of file)
2022-10-01 12:44:47 -07:00
JelleInfinity
d1a6948e95
Fix compiler error (#241) 2022-09-19 08:42:05 -07:00
JelleInfinity
21a87b454d
Update legality from PKHeX (#237)
* Update legality from PKHeX

* Move to folder

* Remove namespace wrapping

Co-authored-by: Kurt <kwsch@users.noreply.github.com>
2022-09-18 12:48:03 -07:00
JelleInfinity
3a8328c0cd
Use interfaces for personal info to make updating the data easier (#234)
* Use GameVersion instead

* Fix formatting

* Update Personal info code

* Use interface versions in code

* Remove unnecessary param

* Remove TableLength

* Fix integration

Rename Forme to Form
Typed numbers
2022-09-18 12:44:51 -07:00
Philip Woolford
d692d957d4
Check for missing ExeFS or main executable in SWSH shiny editor (#216)
* Fix Shiny Rate Editor

This fixes the broken shiny rate editor that hasn't been re-implemented.

* Check for missing ExeFS or `main` executable in SWSH shiny editor
2022-09-10 11:38:27 -07:00
sora10pls
fe9e21749f Sync missing changes
oops
2022-07-22 21:10:42 -04:00
Philip Woolford
8da0a5d3d8
Fix Shiny Rate Editor (#211)
This fixes the broken shiny rate editor that hasn't been re-implemented.
2022-06-30 07:18:48 -07:00
Kurt
6d76d21cfe Defer data object return to after init 2022-02-21 09:32:50 -08:00
Kurt
0a30e0ca3c Remove unsupported games, split GameData
lack of interfaces and default interface implementations is killing me :)

Split GameData so we can interact with changed data structures a little less weird; PLA Learnsets are too incompatible for direct edits with existing abstractions.
2022-02-15 01:58:27 -08:00
Kurt
e432370a40 Add Pokémon Legends: Arceus support
.NET5.0 -> .NET6.0

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2022-02-04 18:43:21 -08:00
sora10pls
32e14d5612 Update EditorSWSH.cs 2021-09-20 19:57:23 -04:00
sora10pls
f35658731f Update critter data after randomizing starters
This could be expanded to include all gifts that are visible before obtaining them, but this is fine. Starters are arguably the most important.
2021-09-20 19:49:11 -04:00
Kurt
4d6cb0c757 Simplify file putback
No functional change, just simplifies how things are behaving
2021-09-13 19:19:06 -07:00
Kurt
77910f3529 Enable writing of placement 2021-09-13 16:43:17 -07:00
Kurt
4d7645026c Add map tweaker beginnings
Document fields k?
2021-09-11 16:09:01 -07:00
sora10pls
801a3cac8b Document more Item8 fields
Each item has 3 separate prices the game can pull from, depending on where an item is purchased:
• Pokémon Dollars for Poké Marts
• Watts for Wild Area Watt Traders
• Alternate (BP/Dynite Ore) for specific NPCs, such as BP Shops and the Dynite Ore Trader in the Max Lair

Add an item "randomizer" that changes trade evolution items to be given a 'use' effect to work like evolution stones (e.g. use Electirizer on Electabuzz to evolve it into Electivire! https://i.imgur.com/qefHIFT.png)
2021-09-06 12:50:35 -04:00
sora10pls
a9e72c288f Skip TMs when randomizing Shops 2021-09-04 14:57:05 -04:00
sora10pls
c4b670af61 Label all shop inventories
84 tables between Unused + Watt Trader 1 are Ingredient Sellers in the Wild Area. Instead of randomizing daily items like they did for Snowslide Slope's daily highlight of 1 item, they hardcoded 84 tables with ingredients. Why?
2021-09-04 12:14:55 -04:00
Kurt
639f8156ab
Handle FlatBuffers in-process with FlatSharp, and add more flatbuffer editors. (#166)
Thanks @sora10pls for double checking some editors, and @Lusamine for some field identification.

Closes #115 -- tested the pokedex after randomization and it no longer crashes when randomizing+saving with the latest code in this pull request.

Adds:
* Shop editor (SWSH + LGPE)
* Move editor
* Item editor
* Symbol (Overworld Pokemon) Behavior editor
* Default Rental team editor
2021-09-02 19:47:41 -07:00
sora10pls
ae42c5ea45 Better handling of ROM dumps without ExeFS
pkNX will now prompt the user to select a version before opening the wild editor, should no ExeFS data exist to determine which game is currently loaded.
2021-04-20 12:47:39 -04:00
sora10pls
64d04182ef Re-merge wild buttons
Related: d231a411a0
2021-03-11 11:32:17 -05:00
sora10pls
d231a411a0 Properly differentiate between SW/SH
Previous implementation did not work correctly for LGPE. If someone wishes to merge the wild encounter buttons again, make sure it works for all games before submitting a pull request. Also fixes LGPE wild editor using small sprites.

Closes #110
2021-03-04 14:43:21 -05:00
Koopa
4efedc0b38
Merge version specific buttons. 2021-02-28 01:29:07 -05:00
sora10pls
295e14c433 Misc changes
Update personal length count for FormRandomizer, properly randomize Gift/Trade balls
Show Species enums in Dynamax Adventure editor
2020-10-25 18:41:01 -04:00
Kurt
d407506c30 Mior clean
reduce compiler messages
2020-10-25 13:17:04 -07:00
Kurt
01f02dd549 Add Dynamax Adventures encounter editor
Closes #101
2020-10-25 10:57:20 -07:00
sora10pls
2c990d2b7d Simplify IV set when randomizing 2020-10-01 13:48:21 -04:00
sora10pls
38cbe7b5c3 Swap Kubfu for another Gigantamax capable species
Closes #91
2020-07-04 20:11:17 -04:00
sora10pls
caf9e635b4 Add AllowRandomFusions to Trainer Randomizer Settings
Move BattleExclusiveForms outside of Tables7 since it'll be used for every Generation, and update it with Gen 8 species.
Also fix FormRandomizer allowing Zen/Galarian Zen Darmanitan.
2020-07-01 15:16:03 -04:00
sora10pls
2e600b9080 Standardize using FormRandomizer for all randomizers 2020-06-27 14:59:59 -04:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
sora10pls
c411aedcff Update SWSH trade randomizer 2020-05-31 00:23:03 -04:00
sora10pls
2db23faee6 Use enums in generic editors
Ball, Species, Nature, Gender, ShinyLock.
We'll hold off on Legendary swapping until DLC 2 comes out and adds in all of them.
Closes #16
2020-05-31 00:19:00 -04:00
sora10pls
3523ef97e0 Add Species enum 2020-05-30 23:09:43 -04:00
sora10pls
93a78fadf5 Add Raid Species + Item Drop randomizers 2020-05-30 14:42:22 -04:00
sora10pls
11f45a418e Add SWSH Static/Gift/Trade randomization
Currently doesn't edit ingame dialogue to reflect modified starters, but you can save right in front of them so it's not a big loss.
Closes #57
2020-05-29 22:22:53 -04:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07:00
CatAxe
0d25537de0 * Added editing drop tables and bonus drop tables.
- added some info in NestHoleReward8Archive.cs to make things pretty in the PropertyGrid editor uses and also to fix exclude stuff from the json/fb serialization/deserialization process.
* Fixed a bug in FlatBufferConverter.cs related to creating a json file for a particular structure when saving, not deleting it and next time when serializing a different structure, that json file would be used because it would be first returned.
2020-05-06 06:22:33 +03:00
Kurt
9fe628b5c9 Add ROM raid editor 2020-01-10 15:48:54 -08:00
Kurt
4b3bf3380b Add static/gift/trade generic editors 2019-11-30 18:10:28 -08:00
Kurt
7237f7264f Update SSWE saving
something is still weird with re-opening after first saving, where the
tables are swapped
not sure what is misbehaving, so it'll get caught in an infinite loop
2019-11-28 15:03:25 -08:00
Kurt
f2de05c5e1
Fix hidden encounter serialization
Duplicated lines yay.

Closes #31 , thanks @wowjinxy !
(keep commit / change history clean)
2019-11-19 13:58:30 -08:00
Kurt
58b0597fea Sword/Shield Update
Many thanks to @SciresM and @sora10pls for assisting in this massive
update!
2019-11-15 17:00:41 -08:00