v18 "Field Moves" option in party menu?

This thread pertains to v18 of Pokémon Essentials.

Zygoat

Trainer
Member
Joined
Dec 21, 2020
Posts
80
Age
22
I'm using the Field Moves Defined by Species script from PokéCommunity, and it works and everything, but it can be real cluttering sometimes for Pokémon that have a lot of learnable field moves. I'd like to fix this by making a "Field Moves" option in the party menu that then brings up all the moves a Pokémon can use, rather than having them just all show up when you select a Pokémon. Does anyone know how to do this?

This clutter is especially an issue with a Pokémon like Psyduck... its menu takes up the whole dang screen!

Capture.PNG
 
Solution
It's going to require a bunch of refactoring in script section PScreen_Party. Look at the code starting from line "cmdMoves = [-1,-1,-1,-1]" and on. You'll basically have to move all of lines 1139 - 1146 and lines 1158 - 1214 into its own function, and then make your own option called "Field Moves" the same way other options like "Summary", "Debug", etc. are created there.

NettoHikari

Cooltrainer
Member
Joined
Jan 4, 2019
Posts
198
It's going to require a bunch of refactoring in script section PScreen_Party. Look at the code starting from line "cmdMoves = [-1,-1,-1,-1]" and on. You'll basically have to move all of lines 1139 - 1146 and lines 1158 - 1214 into its own function, and then make your own option called "Field Moves" the same way other options like "Summary", "Debug", etc. are created there.
 
Solution
Top