Commit Graph

42 Commits

Author SHA1 Message Date
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06:00
Kurt
c181db68ff Minor clean
Handle some nullable warnings, style c#12
2023-12-21 12:31:00 -08:00
duckdoom4
afec3c3a84 Remove the (unused) extra array wrapper from SpecialTutors
Also don't transfer from older generations, these are not the same anyway
2023-09-10 16:57:22 +02:00
duckdoom4
56cb75340a Minor refactor
Rename all the interfaces to give them a more sensible name
Rename the Set<InterfaceName> extension methods to Import<InterfaceName>, since evenI got confused about it's purpose for a while. It's supposed to be used by the data importer to fill in missing properties from older generation data. This means it should actually not set every property that is part of the interface and 'set' is therefor a confusing name.
Update PokeDataUI to fix layout of new property names
2023-07-05 19:35:57 +02:00
TalonSabre
7a762da8fd
Fixed compatible TRs reading incorrectly. (#328)
* Fixed SWSH not gathering TR learnsets correctly

TR compatibility for each pokemon had been saving to the same list as TM compatibility, and for some reason it was not working as intended.
After finishing, and seeing that it built and ran, I tested the impacted features, and confirmed it is working.

* Remove Commented/Unused Section

PersonalDumperSWSH was previously commented, and is now entirely removed from PersonalDumper.cs

* Add case for TRs to SetIMovesInfo function

Changed IMovesInfo.cs
Added extra if for SWSH to account for TRs.

* Add case for SWSH to SetPersonalInfo function

new if statement in SetPersonalInfo from IPersonalInfo.cs that allows setting TRs.
2023-04-21 22:21:58 +02:00
Kurt
38b784e19b Add handling for S/V load and data ripping
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-11-24 15:30:03 -08:00
Kurt
f591257e7a Minor tweaks
Cleaning things up before things go dark?
2022-10-27 11:59:42 -07:00
JelleInfinity
4167762c44
Some bug fixes (#276)
* Replace all uses of ModelID

* Prep work to add PokeMisc data
2022-10-05 17:01:34 +01: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
9346f482da
Improved auto fill (#254)
* Rename fields

Rename to `HatchedSpecies`
`Species` here is actually `ModelID`. To get Species `DexIndexNational` should be used

* Update interfaces

Use DexIndexRegional
Replace `RegionalFormIndex` with `Form`

Add national dex index

* Add debug assert

* Add set functions for easy assignment of personal info

* Update auto-fill

* All missing SWSH data is now filled based on USUM data
* Accounts for form data
* Ignores all forms that are not carried over to next gen
* Adds form number and national dex number

* Update PLA filler to account for forms and other missing entries
2022-09-29 16:14:44 -07:00
JelleInfinity
e1d7cc790a
PersonalInfo interface fixes (#243)
Improved the inheritance graph and renamed some variables to merge some into an interface
2022-09-21 15:55:54 -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
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
sora10pls
dfeaf76908 Add tutor move editing 2021-03-13 14:54:34 -05:00
sora10pls
85406e8f28 Update PokeDataUI.cs
Now opens with no exceptions!
2021-01-14 12:12:17 -05:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
8d7b5cea3c Crown Tundra Update
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2020-10-23 18:02:01 -07:00
sora10pls
ed34f245db Add every level evolution randomizer
Every new level up grants an evolution to the Pokémon. Makes for an incredibly varied playthrough!
2020-09-23 12:26:35 -04:00
sora10pls
0c716e25b4 Expose CanNotDynamax flag in Pokémon Editor
Only set for Zacian/Zamazenta/Eternatus; could be fun for ROM hacks.
Regional Variant flag is set for species whose offspring will produce a regional variant depending on the parent's current form + if holding an Everstone.
Thanks Anubis!
2020-07-27 18:39:23 -04:00
sora10pls
1d8481d81f Save current changes on Base Exp. amp
Closes #89
2020-07-03 09:49:16 -04:00
sora10pls
2e600b9080 Standardize using FormRandomizer for all randomizers 2020-06-27 14:59:59 -04:00
sora10pls
4299e5d88b Use Gigantamax sprites for Trainer Editor
Allows for easier identification, especially with Urshifu.
2020-06-22 19:31:01 -04:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
sora10pls
cfb1593ca7 Add banlist and form randomization to evo randomizer
Previously, no forms would be adjusted, so something like Milcery could evolve into Charmander-8 (invalid)
2020-06-10 23:33:54 -04:00
Kurt
70e2ba0a56 Expose move randomizer settings 2020-06-03 21:22:15 -07:00
Kurt
50aeb7ddbb sync missing file 2020-05-25 11:36:40 -07:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -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
Kurt
62517ca742 Add TM editor 2018-12-01 16:54:44 -08:00
Kurt
00d367b1b0 Add common sanitization util 2018-12-01 15:16:53 -08:00
Kurt
5736e54cea Add exp yield amp button 2018-11-27 17:44:20 -08:00
Kurt
28340d10f3 Save current entry on exit 2018-11-26 22:28:23 -08:00
Kurt
11e5bdbb88 Add persistent rand settings
save to xml with version name
2018-11-24 23:50:40 -08:00
Kurt
13ff6099cd Use centralized settings 2018-11-24 21:57:24 -08:00
Kurt
1921317495 Add randsettings for trainer editor
testing next
2018-11-23 21:20:46 -08:00
Kurt
1ea020d6c2 Make learnset randomizer work
banned moves auto-generated ;)
2018-11-23 16:20:11 -08:00
Kurt
39e078d595 Add learn randomizer
untested, committing what I have for now
- metronome mode
- expand only (set all new to pound)
2018-11-23 16:00:27 -08:00
Kurt
d26bcfc12e Add evolution randomizer 2018-11-23 14:23:29 -08:00
Kurt
7838e77be9 Hook up personal randomizer 2018-11-23 14:00:36 -08:00
Kurt
37286326f1 Add personal info table dump
Make generic type editor dump out the derived class in the event the
array type is a base class
2018-11-21 10:13:23 -08:00
Kurt
6a34a96af1 Misc fixes
Form opens, displays data
2018-11-20 18:25:20 -08:00
Kurt
9909da7dae Add poke data editor (personal, learn, evo)
WIP, haven't even bothered launching the form yet
2018-11-20 16:31:53 -08:00