kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
352 stars 108 forks source link

Not an issue, just a question... #176

Closed Mindinfinity2 closed 2 years ago

Mindinfinity2 commented 2 years ago

Hi, guys just wanted to ask if anyone knew where in the RomFs or ExeFs folders is the "Ability" data stored? My goal is to try and hex edit the ability, "As One" so that it is no longer a combination of "Unnerve" and "Chilling/Grim Neigh", but 2 very different abilities.

If this is not possible let me know as well. Thx.

kwsch commented 2 years ago

exefs, find whatever routine in the battle logic does it.

disassemble the code with ida/ghidra and make a code patch to make the instructions behave differently

Mindinfinity2 commented 2 years ago

exefs, find whatever routine in the battle logic does it.

disassemble the code with ida/ghidra and make a code patch to make the instructions behave differently

Appreciate the help however I thought this would be as easy as finding the correct file in ExeFS folder and simply hex editing it, clearly not. If there is a guide I could follow I could do this I'm sure, or if I could ask you to do this for me I am more than willing to pay, just name your price ($ Cad).

Thanks.