Nevermind, I figured the bug out on my own. It isn't the fault of the developers, sorry! This game sometimes breaks on VBA-M, I think that's just how VBA-M is. I switched over to an older VBA emulator, and the battle proceeded normally. Hopefully that's helpful for anyone else who encounters...