Commit Graph

349 Commits

Author SHA1 Message Date
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
Koopa
cc71b6357c Add System import for String. 2021-02-28 02:10:30 -05:00
Koopa
c5ba9b6b29 Update C# version note. 2021-02-28 02:02:44 -05:00
Koopa
552149774d Prefer system flatc. 2021-02-28 02:02:44 -05:00
Koopa
f88ba88102 Make resource paths case sensitive. 2021-02-28 02:02:44 -05:00
Koopa
a8e871da2e Add GenerateResourceUsePreserializedResources. 2021-02-28 02:02:44 -05:00
Koopa
2251c0d966 Add references to System.Resources.Extensions. 2021-02-28 02:02:44 -05:00
Koopa
86c480527b Upgrade .NET target to 4.6.1.
This will be required for System.Resources.Extensions.
2021-02-28 02:02:31 -05:00
Koopa
c28622f9b0 Remove 'é' from enum member name.
This causes a compile error on my machine with "dotnet build".
2021-02-28 01:33:27 -05:00
Koopa
4efedc0b38 Merge version specific buttons. 2021-02-28 01:29:07 -05:00
Koopa
ae3fd1c65d Add differentiation between SW/SH for update 3. 2021-02-28 01:08:55 -05:00
sora10pls
bafe33a062 Update GameDumperSWSH.cs
PKHeX reads from evos_ss.pkl and not evos_swsh.pkl
2021-02-24 11:20:12 -05:00
sora10pls
d695e7e706 Fix TextVar def for trade flatbuffer
Now correctly displays 859 for Hatenna in-game trade.

Co-Authored-By: Lusamine <30205550+lusamine@users.noreply.github.com>
2021-02-22 15:04:04 -05:00
Kurt
d34c4412be Keep stab moves in learnset
Closes #123
2021-02-15 18:31:53 -08:00
Kurt
cc9bf88831 Merge pull request #120 from egzn/trainer_legends
Added options to boost chance of Legendary/Mythical on Trainers
2021-02-14 10:13:23 -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