Commit Graph

15 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
f591257e7a Minor tweaks
Cleaning things up before things go dark?
2022-10-27 11:59:42 -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
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
Salier
af47a9305a
Fixed the randomisation inheriting process (#217)
* Fixed the randomisation inheriting process

* Corrected the ability inheritence 

Not anymore overwrite by the SameAbilityChance setting in the case of an inheritence

* Corrected Type inheritence

No longer overwrited by the SameTypeChance setting.

* Slight fix InheritTypeSetting.One and Type inheritence

Slight error causing too much random types use.
2022-09-10 11:38:51 -07:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
sora10pls
3523ef97e0 Add Species enum 2020-05-30 23:09:43 -04: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
7838e77be9 Hook up personal randomizer 2018-11-23 14:00:36 -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