Commit Graph

565 Commits

Author SHA1 Message Date
Kurt
77910f3529 Enable writing of placement 2021-09-13 16:43:17 -07:00
Kurt
2fdea77af9 Add missing fields for archive
fin
2021-09-13 16:16:28 -07:00
Kurt
1cae04e8d8 Add missing fields at end of schemas 2021-09-13 16:01:53 -07:00
Kurt
17a813bd24 Fill in undocumented fields
Now to blow them out to see if any fields were missed
2021-09-13 15:31:28 -07:00
Kurt
fbec69a50b Specify all default field types
Dig around a bit, find all examples. Dummy out the always-default for now.
2021-09-12 23:48:57 -07:00
Kurt
a42f27687e Move to util folder
Add some dummy objects as sanity checkers for dead-end node traversal
2021-09-12 22:36:54 -07:00
Kurt
870d2f1b45 Name holders based on what they hold 2021-09-12 12:40:55 -07:00
Kurt
9e4fcff2f4 Add some labeling 2021-09-11 16:46:33 -07:00
Kurt
4d7645026c Add map tweaker beginnings
Document fields k?
2021-09-11 16:09:01 -07:00
Kurt
5aad953121 Add more flatbuffer docs 2021-09-11 14:23:36 -07:00
sora10pls
12008b9dda Simplify Title ID fetch 2021-09-11 16:58:44 -04:00
sora10pls
de8bed982e Update Item8.cs 2021-09-11 11:24:32 -04:00
Kurt
c5e24ecfbc Clarify f13
add note for f01 being related to elevators in addition to gates; future dumps may have more hash->name analysis
2021-09-09 23:10:41 -07:00
Kurt
9e94196459 Add more holder flatbuffer structure details 2021-09-09 20:52:12 -07:00
Kurt
6b27d04211 Add placeholder holder classes
Start filling them in, yay
2021-09-09 18:30:51 -07:00
Kurt
8a56a9371b Fracture PlacementZone8 file, document some holder classes 2021-09-09 17:31:03 -07:00
Kurt
37bf47a1da Move weather out from placement 2021-09-09 16:43:06 -07:00
Kurt
69483f4224 Export area flatbuffer files on dump 2021-09-09 09:04:41 -07:00
sora10pls
801a3cac8b Document more Item8 fields
Each item has 3 separate prices the game can pull from, depending on where an item is purchased:
• Pokémon Dollars for Poké Marts
• Watts for Wild Area Watt Traders
• Alternate (BP/Dynite Ore) for specific NPCs, such as BP Shops and the Dynite Ore Trader in the Max Lair

Add an item "randomizer" that changes trade evolution items to be given a 'use' effect to work like evolution stones (e.g. use Electirizer on Electabuzz to evolve it into Electivire! https://i.imgur.com/qefHIFT.png)
2021-09-06 12:50:35 -04:00
sora10pls
122590ca5a Remove Key Items from LGPE shop randomizer 2021-09-04 15:05:58 -04:00
sora10pls
414b49e8e0 Update GameLocation.cs
No need to check ExeFS since RomFS can already differentiate the games.
2021-09-04 14:57:32 -04:00
sora10pls
a9e72c288f Skip TMs when randomizing Shops 2021-09-04 14:57:05 -04:00
sora10pls
c4b670af61 Label all shop inventories
84 tables between Unused + Watt Trader 1 are Ingredient Sellers in the Wild Area. Instead of randomizing daily items like they did for Snowslide Slope's daily highlight of 1 item, they hardcoded 84 tables with ingredients. Why?
2021-09-04 12:14:55 -04:00
sora10pls
dbc79a32ca Display species name in several generic editors
Easier identification for ROM editing purposes. Could probably have it grab language-specific names instead of enums (English), but this works.
2021-09-03 10:03:00 -04:00
sora10pls
3ee86c37f2 Update Gift/Static/Trade dumpers + resize main window 2021-09-03 09:52:01 -04:00
Kurt
c7604f28fe Add more fields for placement, add dumper util for flatbuffer 2021-09-02 22:19:08 -07: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
Lusamine
9d37e36ec8
Clean up a little, remove unused HiddenMain3 enum (#165) 2021-09-02 14:53:18 -07:00
Kurt
5cb007b9e3 Add exception handling for bad loaded/missing data
more graceful than uncaught exceptions
2021-08-08 17:21:09 -07:00
Kurt
3d82550b24
Merge pull request #159 from Lusamine/weatherslots
Dump SWSH pkl with metadata and only accessible tables
2021-07-26 15:17:46 -07:00
Lusamine
485bb775cd Claim reserved byte in SWSH pkl 2021-07-23 06:11:32 -05:00
Lusamine
537f3deed3 Only dump accessible encounter slots and include metadata for SWSH 2021-07-22 22:23:28 -05:00
Lusamine
66f15fbc05 Categorize SWSH encounterslot tables 2021-07-15 13:15:33 -05:00
Kurt
4e6fbe78ed Correct index 2021-04-21 17:25:05 -07:00
sora10pls
ae42c5ea45 Better handling of ROM dumps without ExeFS
pkNX will now prompt the user to select a version before opening the wild editor, should no ExeFS data exist to determine which game is currently loaded.
2021-04-20 12:47:39 -04:00
Kurt
e772a99341 Add index to dumped bcat nests 2021-04-18 12:02:30 -07: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
sora10pls
12975fcd6d Denote if a Raid Boss can be captured
Comments out any such encounters in the PKHeX output. This is a pretty lazy solution for now, but it works.
2021-03-31 22:43:56 -04:00
sora10pls
b7191a6103 Revert implicit casting 2021-03-31 22:42:32 -04:00
sora10pls
019e93f992 Update Shiny Ho-Oh sprite 2021-03-24 10:56:51 -04:00
Kurt
49efb96db9 Export bridge->stony crossover tree shake slots, don't export empty slots
See PKHeX prior to this commit for rationale

9864f23427

Reduces the amount of work PKHeX does when loading.
2021-03-17 18:10:26 -07:00
sora10pls
bfc9d82a95 Update PokeDataUI.Designer.cs
Realign GUI elements after prior commit.
2021-03-15 11:33:18 -04: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
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
sora10pls
d231a411a0 Properly differentiate between SW/SH
Previous implementation did not work correctly for LGPE. If someone wishes to merge the wild encounter buttons again, make sure it works for all games before submitting a pull request. Also fixes LGPE wild editor using small sprites.

Closes #110
2021-03-04 14:43:21 -05:00
sora10pls
15f45fafb6 Update GameLocation.cs 2021-02-28 18:57:20 -05:00
Kurt
187078f80b
Merge pull request #129 from CodingKoopa/linux
Fix Linux support
2021-02-27 23:23:35 -08:00
Kurt
8191030403
Merge pull request #128 from CodingKoopa/ver-specific-buttons
Merge version specific buttons.
2021-02-27 23:12:12 -08:00
Kurt
764aeec853
Merge pull request #127 from CodingKoopa/identify-swsh
Differentiate between SW/SH
2021-02-27 23:11:54 -08:00