summaryrefslogtreecommitdiff
path: root/engine/link.asm
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 /engine/link.asm
parent0c6338836d714f464bfcaa0c8c5b8c76e6f4958d (diff)
Use hSerialConnectionStatus constants elsewhere
Diffstat (limited to 'engine/link.asm')
-rwxr-xr-xengine/link.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/link.asm b/engine/link.asm
index 0de4eab2d..19559798d 100755
--- a/engine/link.asm
+++ b/engine/link.asm
@@ -2143,7 +2143,7 @@ Special_EnterTimeCapsule: ; 29c7b
Special_WaitForOtherPlayerToExit: ; 29c92
ld c, 3
call DelayFrames
- ld a, -1
+ ld a, CONNECTION_NOT_ESTABLISHED
ld [hSerialConnectionStatus], a
xor a
ld [rSB], a
@@ -2169,7 +2169,7 @@ Special_WaitForOtherPlayerToExit: ; 29c92
ld [rSC], a
ld c, 3
call DelayFrames
- ld a, -1
+ ld a, CONNECTION_NOT_ESTABLISHED
ld [hSerialConnectionStatus], a
ld a, [rIF]
push af