diff options
author | Cameron Hall <cameronghall@cox.net> | 2018-01-21 18:14:47 -0600 |
---|---|---|
committer | Cameron Hall <cameronghall@cox.net> | 2018-01-21 18:14:47 -0600 |
commit | ffb74a0211f750506650b66fe2bcdf7ddf770668 (patch) | |
tree | 525a894d2d65ffe7b94b499c040ecc5fe84b401b /src/battle/battle_2.c | |
parent | 608e06126acdc8b6d32a0aa71fdc57bc188b8d7b (diff) |
match debug ROM
Diffstat (limited to 'src/battle/battle_2.c')
-rw-r--r-- | src/battle/battle_2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/battle/battle_2.c b/src/battle/battle_2.c index 696f1fde0..03391cf92 100644 --- a/src/battle/battle_2.c +++ b/src/battle/battle_2.c @@ -12104,6 +12104,12 @@ void SetActionsAndBanksTurnOrder(void) } } } + // Debug ROM has a register swap from the retail ROM. + // And doing this seems to fix it. +#if DEBUG + asm("");asm("");asm("");asm("");asm("");asm("");asm("");asm("");asm(""); + asm("");asm("");asm("");asm("");asm("");asm("");asm("");asm(""); +#endif gBattleMainFunc = CheckFocusPunch_ClearVarsBeforeTurnStarts; eFocusPunchBank = 0; } |