I'm in a bit of a rut right now. I just figured out that my hack crashed during battle whenever a Pokemon uses a damaging move. Either the ROM crashes, or I get an unknown opcode, but either way the game crashes. It crashes on a Flashcart and an Emulator alike.
As you can see, in a Pokemon game where battling is the
main gameplay, this would be rather inconvenient.
This links to a patch of a ROM that has functioning battling.
This links to a patch of a ROM that DOES NOT have functioning battling.
Is there anyone who could help me figure out what went wrong? Or at the very least give me an offset to where the game does damage calculation. The game only crashes after an attack that does damage. Status attacks go off without a hitch.
__________________
"The human sacrificed himself, to save the Pokemon. I pitted them against each other, but not until they set aside their differences did I see the true power they all share deep inside. I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are." -Mewtwo