Commit Graph

250 Commits

Author SHA1 Message Date
sora10pls
e2aeecbe12 Document DLC Trainers 2020-06-18 20:12:58 -04:00
Michael Scire
e4580ea7e9 Fix nest dumping, improve ahtb dumping 2020-06-18 15:30:07 -07:00
sora10pls
0b38bee882 Merge branch 'master' of https://github.com/kwsch/pkNX 2020-06-18 12:55:25 -04:00
sora10pls
12b5395b14 Add PKHeX format dumping for static/gift 2020-06-18 12:55:09 -04:00
Michael Scire
3e01d17c89 pknx: don't output crown tundra tables to pkhex packs 2020-06-18 02:36:10 -07: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
Michael Scire
7ce83b52b9 Add Isle of Armor locations to ZoneInfo 2020-06-17 20:00:40 -07:00
Michael Scire
f9dd6f7c17 Update Static fb for rigel 2020-06-17 14:02:41 -07:00
Michael Scire
ff96283b24 Improve dumpers for Isle of Armor 2020-06-17 11:00:35 -07:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
sora10pls
5b992dbbb9 Fix SWSH trade dump 2020-06-12 18:23:00 -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
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