r/PokemonRMXP • u/UsernameUnreal • 12h ago
Help Problematic move function
This function causes the game to crash, please help
0
Upvotes
r/PokemonRMXP • u/UsernameUnreal • 12h ago
This function causes the game to crash, please help
3
u/agamottos 11h ago
Did it show you an error log or anything specifyng the trace of what went wrong?
3
u/VestOfHolding 11h ago
Worth taking a screenshot instead of a photo next time.
"pbHealAmount" needs an "end" statement. I also have to wonder if inheriting from "Battle::Move::HitTwoToFiveTimes" would be the better option or not, but I don't remember off the top of my head.