Commit Graph

66 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
Kurt
9d5aa0aa06 Update for SV 3.0.0 2023-12-17 17:57:24 -08:00
Kurt
ec9c6d88a8
SV Teal Mask Support (#348)
Closes #347 
Closes #341 

Co-authored-by: Michael Scire <SciresM@gmail.com>
Co-authored-by: sora10pls <17801814+sora10pls@users.noreply.github.com>
Co-authored-by: Lusamine <30205550+Lusamine@users.noreply.github.com>
2023-10-05 18:57:41 -07: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
696eea1a1b Emit SV dumps with DevId->National dex
Refer to associated PKHeX commit.
f4e255067c
2023-01-14 01:17:02 -08: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
930b35d52d Update dependencies, nullable all csproj
Remove amx logic (unused for too long)
2022-10-25 17:05:12 -07:00
JelleInfinity
6498f3c8eb
[SWSH] Remove dynamax crystals from legal random list (#280) 2022-10-12 08:39:31 +01:00
JelleInfinity
cbb75148a1
[SWSH] Remove items with ID 1279 from legal list (#279)
1279 seems to be an ID solely used for dummy items
2022-10-12 08:04:24 +01: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
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
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
sora10pls
432628590f Add Move Shop editor, Ha_Shop randomizer 2022-02-24 11:18:00 -05:00
sora10pls
26631353d0 Don't randomize static Legendary Pokémon 2022-02-23 13:00:26 -05: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
122590ca5a Remove Key Items from LGPE shop randomizer 2021-09-04 15:05:58 -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
dfeaf76908 Add tutor move editing 2021-03-13 14:54:34 -05:00
sora10pls
64d04182ef Re-merge wild buttons
Related: d231a411a0
2021-03-11 11:32:17 -05: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
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
sora10pls
bf9f8341fc Add Max Guard to Max Moves
1 Max Move per Type, all status moves become Max Guard
2020-12-10 11:26:57 -05: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
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
sora10pls
fa8286fddd Document R2 Trainers 2020-10-23 21:49:55 -04: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
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
99a8c42eaa Update Trainers.cs
Add the nameless trclasses from 1.2.0 to dummy classes, they might be used in DLC 2
2020-06-20 11:41:37 -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
cafbced047 Add new item resources
Apricorns + Isle of Armor items
2020-06-18 00:49:34 -04:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
sora10pls
1f6970dbd9 Update Tables8.cs 2020-06-08 14:19:24 -04:00
Kurt
bc51de97ec Prevent max moves / behemoth 2020-06-03 21:24:10 -07:00
sora10pls
2db23faee6 Use enums in generic editors
Ball, Species, Nature, Gender, ShinyLock.
We'll hold off on Legendary swapping until DLC 2 comes out and adds in all of them.
Closes #16
2020-05-31 00:19:00 -04: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
9d75f40f0b
Update SWSH DoubleClasses (#74)
Closes #73
2020-05-24 10:37:37 -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
7719701684 Add Gigantamax Swap feature (#44) 2019-12-23 09:07:26 -08:00