diff options
author | YamaArashi <shadow962@live.com> | 2016-10-29 10:32:03 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-10-29 10:32:03 -0700 |
commit | 77c3e22a4ecd3dc81918f00c548cef7c634f3419 (patch) | |
tree | 8653190480bb8f7673e94b4083248e634d62fa77 /engine/battle/core.asm | |
parent | 4d61c351726b38b22e0606df23bd2fdfb13640cc (diff) |
use more HRAM constants
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-x | engine/battle/core.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index d921fd15..153a9048 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -488,8 +488,8 @@ MainInBattleLoop: jr nc, .playerMovesFirst ; if player is faster jr .enemyMovesFirst ; if enemy is faster .speedEqual ; 50/50 chance for both players - ld a, [$ffaa] - cp $2 + ld a, [hSerialConnectionStatus] + cp USING_INTERNAL_CLOCK jr z, .invertOutcome call BattleRandom cp $80 |