Commit Graph

94 Commits

Author SHA1 Message Date
Kurt
0936c08eb1 LZA 1.0.2
Cumulative changes from the team.

Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2025-11-16 15:56:12 -06:00
Kurt
31b45ee883 Minor clean
Remove unused namespace usings
2025-06-23 00:25:11 -05:00
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
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
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
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
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
sora10pls
a2f0a58f7a Allow LA species for randomization, handle bad forms 2022-02-21 10:29:51 -05:00
Kurt
22ede7da03 Add landmark editor 2022-02-20 23:35:18 -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
5c6c506a29 Sync missing changes 2021-09-16 08:54:38 -04:00
sora10pls
a9e72c288f Skip TMs when randomizing Shops 2021-09-04 14:57:05 -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
c194e035cc Exclude banned species from boosted Legendaries/Mythicals
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=265072
2021-03-04 15:34:53 -05:00
Kurt
d34c4412be Keep stab moves in learnset
Closes #123
2021-02-15 18:31:53 -08:00
Egzon
d4238e3c71 Add option for Event Mythicals as well 2021-02-03 18:31:30 +01:00
Egzon
1ba8d477d1 Add LegendsChance setting
Added a setting to allow raise chances to encounter trainers with Legendary Pokémon.
2021-02-03 10:31:18 +01:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
sora10pls
4a8427a6a3 Rework Darmanitan altform rand
Make it 50/50 between Unovan Standard and Galarian Standard (no Zen Mode)
2020-11-05 11:31:23 -05:00
sora10pls
8250f7c812 Update FormRandomizer.cs
Rayquaza's Forme Count was untouched with R2, so this can lead to an invalid spec-form when Randomizing. Disallow Rayquaza-1 (Mega).
2020-10-27 12:14:49 -04: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
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
55916bc05e Force Slow EXP Group when evolving every level
Safeguarding purposes to make sure no levels get messed up throughout every evolution.
2020-09-23 15:03:58 -04: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
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
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
sora10pls
ab047dda48 Fix ReplaceTradeMethod
6 uses Argument, 7/8 use Level
Closes #83
2020-06-09 18:31:30 -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
bc51de97ec Prevent max moves / behemoth 2020-06-03 21:24:10 -07:00
Kurt
f85130fd85 Skip dexit entries 2020-06-03 13:33:44 -07:00
sora10pls
3523ef97e0 Add Species enum 2020-05-30 23:09:43 -04:00
sora10pls
f415b81312 Fix LGPE MegaFormChoice randomization
0 for No Mega, 1 for Mega
If Charizard or Mewtwo, then 1 is Mega X and 2 is Mega Y
Also add more documentation for LGPE Trainer Classes
2020-05-28 19:23:30 -04:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07:00
Matt
7fc8f967dd
Add Big Shiny Sprites (#62)
* Add Big Shiny Sprites
Also addresses Trainer Meltan failing to evolve if requirements are met.
Fix Personal Held Item randomization.

* Fix silly typo
Copy/paste is a curse.

* Add Double Battle Classes to blacklist
Don't allow them to be set to any Trainers for crashes.
2020-04-24 07:52:01 -07:00
Matt
64909ee7ac
Document all SWSH Trainer Classes (#59)
* Document all SWSH Trainer Classes
Disallow Double Battle specific Trainer Classes when randomizing to avoid crashes.
Now there shouldn't be any crashes!

* Remove spaces
2020-04-01 13:37:46 -07:00
Matt
dc9563f000 Add Slowpoke-1 handling (#52) 2020-01-13 17:36:00 -08:00
Matt
5521b72431 Document and Expose CanDynamax Flag (#46) 2020-01-01 19:03:30 -08:00