summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-07-24 20:19:56 -0700
committeryenatch <yenatch@gmail.com>2014-07-24 20:19:56 -0700
commitb922fe72a19bb82d4f0c0ebaadf415e8dfcb7166 (patch)
treeb4609d6175a19f5cb59efa78b3c6d1eeeb02c093 /engine
parent07693817ce2522a45d868d45bbe6de0645e4ccc4 (diff)
Label CheckPhoneCall.
Diffstat (limited to 'engine')
-rw-r--r--engine/events.asm12
1 files changed, 7 insertions, 5 deletions
diff --git a/engine/events.asm b/engine/events.asm
index c2aff6dfb..18ec40838 100644
--- a/engine/events.asm
+++ b/engine/events.asm
@@ -509,26 +509,28 @@ Function968ec: ; 968ec
Function9693a: ; 9693a
ld a, [InLinkBattle]
and a
- jr nz, .asm_96964
+ jr nz, .nothing
+
ld hl, StatusFlags2
bit 2, [hl]
jr z, .asm_96951
+
callba Function114a4
- jr c, .asm_96966
+ jr c, .elevator
xor a
ret
.asm_96951
callba Function11452
callba Function114e7
- callba Function90074
+ callba CheckPhoneCall
ret c
-.asm_96964
+.nothing
xor a
ret
-.asm_96966
+.elevator
ld a, BANK(UnknownScript_0x135f8)
ld hl, UnknownScript_0x135f8
call CallScript