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
362 stars 108 forks source link

Waza.fbs for SV has wrong type for the RawHealing field #347

Closed Ritaku02 closed 1 year ago

Ritaku02 commented 1 year ago

This was discovered with the move Chloroblast; Chloroblast uses a Raw Healing value of -50 as a sort of recoil, so it's based on the user's max HP rather than on the damage dealt to the opponent. With RawHealing set to a ubyte, the resulting json shows a value of over 200 (I think 206), while with RawHealing set to byte, it properly shows as -50.