Commit Graph

236 Commits

Author SHA1 Message Date
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
1f6970dbd9 Update Tables8.cs 2020-06-08 14:19:24 -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
9a276bc94e Default to 0 if relative offset is 0
fixes bad move type values
2020-06-03 21:22:36 -07:00
Kurt
70e2ba0a56 Expose move randomizer settings 2020-06-03 21:22:15 -07:00
Kurt
f85130fd85 Skip dexit entries 2020-06-03 13:33:44 -07:00
Kurt
4cf69da7e5 Minor clean
no functional change
2020-06-02 07:11:11 -07:00
Kurt
3128e293ff Skip entries with 0 probability
as evident in 6/2 distribution raids; the tables have dummied encounters with 0 probability
2020-06-02 07:10:46 -07:00
sora10pls
c411aedcff Update SWSH trade randomizer 2020-05-31 00:23:03 -04: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
93a78fadf5 Add Raid Species + Item Drop randomizers 2020-05-30 14:42:22 -04:00
sora10pls
11f45a418e Add SWSH Static/Gift/Trade randomization
Currently doesn't edit ingame dialogue to reflect modified starters, but you can save right in front of them so it's not a big loss.
Closes #57
2020-05-29 22:22:53 -04:00
sora10pls
bca171111f Add Shiny output to distro raid comment
Also document Field_03, which is the rate of which you will find a distribution raid from a den in 1/16s. Thanks Anubis!
2020-05-29 10:07:13 -04:00
sora10pls
d1bca23a1a Removed unused sprite resources
Gigantamax sprites aren't used, Mimikyu/Sinistea/Polteageist altforms use the same sprites
No structures in the ROM have fields for FormArg, so remove varied Alcremie sprites (will always default to 0 - Strawberry)
2020-05-28 20:17:26 -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
Matt
ce9c121e48 Reorder IVs in SWSH Flatbuffer Schemas (#75)
Properly reflects results in-game.
Also document Field_0C in EncounterStatic8 (unused for now, might be used in DLC).
2020-05-26 09:40:12 -07:00
Kurt
50aeb7ddbb sync missing file 2020-05-25 11:36:40 -07:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07:00
Kurt
63c6aab3bf Prep for dlc: unknown location hashes
We'll probably crowdsource the location labeling -- needs to be manually entered into the SWSHInfo tables. Location names aren't decipherable otherwise (yay fnvhashed refs)
2020-05-24 12:31:30 -07:00
Kurt
b01d119e5e Fix lgpe wild redirect
#48
2020-05-24 12:03:09 -07:00
Matt
9d75f40f0b Update SWSH DoubleClasses (#74)
Closes #73
2020-05-24 10:37:37 -07:00
Kurt
d848f87bd7 Simplify dialog result pattern 2020-05-21 10:32:16 -07:00
BtbN
db55f48650 Set positive Result when saving Wild Pokemon Randomization (#71) 2020-05-21 10:30:15 -07:00
CatAxe
0d25537de0 * Added editing drop tables and bonus drop tables.
- added some info in NestHoleReward8Archive.cs to make things pretty in the PropertyGrid editor uses and also to fix exclude stuff from the json/fb serialization/deserialization process.
* Fixed a bug in FlatBufferConverter.cs related to creating a json file for a particular structure when saving, not deleting it and next time when serializing a different structure, that json file would be used because it would be first returned.
2020-05-06 06:22:33 +03:00
Kurt
9fb7ef52cb Add 666-meadow 2020-04-24 16:57:31 -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
adbca6b8ae Document EncounterTrade8 (#58)
If anybody is able to figure out UnknownRequirement, please PR!
Now with most Gift/Trade fields documented, it should make DLC discoveries much easier.
Also update summary output to match PKHeX.
2020-04-01 13:37:04 -07:00
Matt
23b3e9b483 Document more of GiftEncounter8 (#56)
Also fix field sizes to prevent crashes ingame.
Strangely, declaring IsEgg as a bool doesn't work as intended.
2020-03-27 17:47:04 -07:00
Kurt
8b8363e385 Export crystal table & hex format files
Ability is now identified
2020-03-25 19:02:37 -07:00
Kurt
d2fe183434 Handle latest mewtwo raid
Out of bounds fetch for drop table (??? 6), uses fixed ability ID 0 (first ability)
Use minRank instead for drop table indexing

add shiny to pretty output
2020-02-26 16:43:53 -08:00
Matt
dc9563f000 Add Slowpoke-1 handling (#52) 2020-01-13 17:36:00 -08:00
Kurt
ce65b78800 Update README.md
Closes #51
2020-01-11 22:24:56 -08:00
SnakeDeath
e3ca501788 added support for game dumps with the new update (#50) 2020-01-11 20:56:48 -08:00
Kurt
9fe628b5c9 Add ROM raid editor 2020-01-10 15:48:54 -08:00
Kurt
a1c0edec5d Fix field fbs definition
caeaf7436c (commitcomment-36657126)
ty @SnakeDeath
2020-01-03 15:31:48 -08:00
Kurt
caeaf7436c Fix trade data editor failing to save
fbs fields didn't match .cs fields
#40
2020-01-02 11:35:31 -08:00
Matt
5521b72431 Document and Expose CanDynamax Flag (#46) 2020-01-01 19:03:30 -08:00
Kurt
e52eef24bc Add fake move data container
Closes #23
Closes #43

Gigantimax->Gigantamax
2019-12-27 00:23:50 -08:00
Matt
7719701684 Add Gigantamax Swap feature (#44) 2019-12-23 09:07:26 -08:00
Kurt
89091a0bd6 Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 4fc0acae8d.
2019-12-19 20:21:36 -08:00
Kurt
4fc0acae8d Update azure-pipelines.yml for Azure Pipelines 2019-12-19 20:12:09 -08:00
Kurt
5847ff47e6 Update azure-pipelines.yml for Azure Pipelines 2019-12-19 13:21:14 -08:00
Kurt
aada740342 Update test project references 2019-12-19 13:07:33 -08:00
Kurt
db20e1b0fe Set up CI with Azure Pipelines
[skip ci]
2019-12-19 12:20:10 -08:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -08:00
Kurt
4b3bf3380b Add static/gift/trade generic editors 2019-11-30 18:10:28 -08:00
Kurt
7237f7264f Update SSWE saving
something is still weird with re-opening after first saving, where the
tables are swapped
not sure what is misbehaving, so it'll get caught in an infinite loop
2019-11-28 15:03:25 -08:00