From b922fe72a19bb82d4f0c0ebaadf415e8dfcb7166 Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 24 Jul 2014 20:19:56 -0700 Subject: Label CheckPhoneCall. --- engine/events.asm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'engine') 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 -- cgit v1.2.3