diff options
author | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-01 11:58:26 -0400 |
---|---|---|
committer | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-01 11:58:26 -0400 |
commit | 486c45dc797b42d1f1ad7f7bdb1c295e6bb36822 (patch) | |
tree | 9db150664bf3537bebb18c6e84db9c2a2e41eed4 /src | |
parent | 463daa89a0b09be532ae71e5f39382876f5841cf (diff) |
Remove fakematch
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/battle_main.c b/src/battle_main.c index 80e6167c3..95edb3aee 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -245,9 +245,8 @@ void CB2_InitBattleInternal(void) gScanlineEffectRegBuffers[0][i] = 0xF0; gScanlineEffectRegBuffers[1][i] = 0xF0; } - for (i = 80; i < 160; i++) + for (; i < 160; i++) { - asm(""::"r"(i)); // Needed to stop the compiler from optimizing out the loop counter gScanlineEffectRegBuffers[0][i] = 0xFF10; gScanlineEffectRegBuffers[1][i] = 0xFF10; } |