Commit Graph

51 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
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
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
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
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
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
1dad93d7c5 Remove old 40x30 sprites
Unlike PKHeX, pkNX never really used these sprites, so no point in keeping them.
2021-04-09 20:21:57 -04:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
d407506c30 Mior clean
reduce compiler messages
2020-10-25 13:17:04 -07: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
4299e5d88b Use Gigantamax sprites for Trainer Editor
Allows for easier identification, especially with Urshifu.
2020-06-22 19:31:01 -04:00
sora10pls
b52cc87c5a Fix Trainer/Item Info dumps
Game Freak left in DLC 2 item data, so we should only iterate on items with names present.
2020-06-21 22:24:59 -04:00
sora10pls
e2aeecbe12 Document DLC Trainers 2020-06-18 20:12:58 -04:00
sora10pls
19095bc4ba Fix SWSH trainer dump
After saving and exiting the trainer editor, their trclasses will get changed from 250/251 to 219/220, but they're valid classes used by them so no big deal.
2020-06-18 01:55:37 -04:00
sora10pls
eb38d5cb83 Gigantamax Swap per SpeciesSettings
Accounts for when only specific Generations are allowed
If no criteria matches (e.g. only Gen 2 species allowed), make it any regular Dynamax
2020-06-08 16:14:06 -04:00
sora10pls
a105d88025 Expose and re-order SWSH AI bitflags
Three flags are related to the Motostoke Gym Challenge, not too interested in documenting them since they're only used for 3 Trainers in the entire game
Also fix Gigantamax Swap
Closes #21
2020-06-08 14:16:44 -04:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07:00
Matt
5521b72431 Document and Expose CanDynamax Flag (#46) 2020-01-01 19:03:30 -08:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -08:00
Matt
91b5ae0616 Expose Dynamax Level/CanGigantamax (#32)
Also revise Important Trainers.
2019-11-19 16:54:03 -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
b611df6823 Misc clean
no functional change
2019-03-19 17:36:27 -07:00
Kurt
14a53aa09c Fix stat editing
ooooooops
stat editor was editing the incorrect object reference, and any changes
weren't saved

https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=240379
2019-02-18 12:05:08 -08:00
Kurt
fa65a70cfc Sync missing changes
yay unsaved content
2019-02-18 11:56:14 -08:00
Kurt
aedb51cc12 Fix species/form overwrite on load
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=240379
2019-02-18 11:36:29 -08:00
Kurt
f390b38c0e Add battle mode edit
force doubles could change them all to doubles, expose for user edits
2018-12-27 22:34:20 -08:00
Kurt
9abddb17e2 Add force fully evolved implementation
use current evo data instead of hardcoded max-evolved table for each
game
2018-12-16 20:45:16 -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
b085c1976b Misc fixes
fix: double-trainer battles forced to 3
fix: high powered trainer rand moves no longer errors
2018-12-01 14:35:26 -08:00
Kurt
f77454d3d4 Rework call for high powered moves
learn is a bit more complex; just add an overload with another param
2018-11-30 18:17:59 -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
2fd387d5b1 Remove trainer class value cast 2018-11-24 17:12:16 -08:00
Kurt
15974cd8d8 Make trainer rand work
tfw no fairy moves -> causing STAB fetch loop to hang for Clefairy, lul
2018-11-23 22:08:41 -08:00
Kurt
1921317495 Add randsettings for trainer editor
testing next
2018-11-23 21:20:46 -08:00
Kurt
47349160b2 Use learnset moves for get buttons 2018-11-23 16:24:25 -08:00
Kurt
cc9963859b Reorder AVs 2018-11-19 20:03:44 -08:00
Kurt
d85f0f6878 fix av export
lul
2018-11-19 20:01:38 -08:00
Kurt
6457838bb4 Fix AV export
lol
2018-11-19 18:51:09 -08:00
Kurt
a9d1f2b466 Misc updates
Add BTTE saving button, swap UI positions to create space.
Fix GP filecount (lul matt, nice dump)
Add trainer names & AVs to export
2018-11-19 18:44:03 -08:00
Kurt
83a5b39008 Add post-victory gifts and AI bit enumeration 2018-11-19 17:43:14 -08:00
Kurt
52425fbed5 Update view for 7b stats 2018-11-18 21:02:54 -08:00