summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-19 19:31:45 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-19 19:31:45 -0500
commitb199f6cfbff81cec3e62351ae4aaa6edce0270d5 (patch)
treea343c445b4ada0426c172c48d71a8a90c6cf86c3 /mobile
parent0c6338836d714f464bfcaa0c8c5b8c76e6f4958d (diff)
Use hSerialConnectionStatus constants elsewhere
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_40.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index 6fa20d80f..ac5f68b0b 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -4052,9 +4052,9 @@ _StartMobileBattle: ; 1019ab
call CopyBytes
ld a, [wcd2f]
and a
- ld a, 2
+ ld a, USING_INTERNAL_CLOCK
jr z, .got_link_player_number
- ld a, 1
+ ld a, USING_EXTERNAL_CLOCK
.got_link_player_number
ld [hSerialConnectionStatus], a
ret
@@ -4075,7 +4075,7 @@ StartMobileBattle: ; 101a21
farcall ShowLinkBattleParticipantsAfterEnd
xor a
ld [wDisableTextAcceleration], a
- ld a, $ff
+ ld a, CONNECTION_NOT_ESTABLISHED
ld [hSerialConnectionStatus], a
pop af
ld [Options], a