Commit Graph

34 Commits

Author SHA1 Message Date
Kurt
fa4de667b0 Update PersonalInfo8SWSH.cs 2022-10-07 10:08:31 -07:00
Kurt
8d7d698d1f Fix TypeTutor write
Was missing (i >> 3); error caused it to write last 8 bits at offset 0, overwriting any previous bit flags.

Extract out a method to do all the work for us.
2022-10-07 10:07:42 -07:00
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
2578ba073c Refactoring
File scoped namespaces for all lib projects
netstandard2.0 => net6; now uniform. bye netframework!
2022-10-01 17:08:17 -07:00
JelleInfinity
97e5999372
Fix merge error (#263) 2022-09-30 13:46:17 -07:00
JelleInfinity
3c71e74b93
SWSH personal info refactor (#256)
* Add missing properties

* Refactor swsh personal info
2022-09-29 23:04:34 -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
7f051d06ed
Move IMovesInfo to own file (#252) 2022-09-27 11:17:20 -07:00
JelleInfinity
8ac8ae78ac
Refactor evolution code from PKHeX source (#251)
* Add evo table resources and re-arrange files

* Add array from byte span utility function

* Update evolution related code from pkHex
2022-09-24 17:39:41 -07:00
JelleInfinity
ea9ce5dec6
Add auto-fill from old databases (#246)
This adds the option to fill in the missing info using swsh and usum databases
2022-09-21 16:05:30 -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
dff97a4105
Feat/pokemon editor (#242)
* Make PersonalTable saveable

* Add poke editor
2022-09-20 16:46:04 -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
JelleInfinity
0f40a36c3a
Use Types enum for UI values (#229) 2022-09-11 09:07:49 -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
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
b7191a6103 Revert implicit casting 2021-03-31 22:42:32 -04:00
sora10pls
64d04182ef Re-merge wild buttons
Related: d231a411a0
2021-03-11 11:32:17 -05:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -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
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
10c3160368 Update dumpers
Futureproof for Crown Tundra, denote Ability 3 as "Ability = 4" for PKHeX dumps
2020-07-12 21:07:48 -04:00
sora10pls
2e600b9080 Standardize using FormRandomizer for all randomizers 2020-06-27 14:59:59 -04:00
Michael Scire
ff96283b24 Improve dumpers for Isle of Armor 2020-06-17 11:00:35 -07:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
Kurt
82b4d896dd Add typetutor r/w 2019-11-17 11:14:17 -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
537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00
Kurt
5879a4950f Use RandomGender logic from PKHeX 2019-02-17 22:10:48 -08:00
Kurt
127ae14d2b Make RandomGender a method 2019-02-17 22:09:17 -08:00
Kurt
8341dd8f95 Misc updates
Add more enums, expand on information types
2018-11-20 16:31:05 -08:00
Kurt
2d2ab21bf0 Misc fixes
Use personaltable logic from pkhex, fix some file loading
2018-11-18 17:38:30 -08:00
Kurt
52d70f0b9f Initial Commit 2018-11-13 19:44:43 -08:00