summaryrefslogtreecommitdiff
path: root/scripts/route12gateupstairs.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-20 18:32:02 -0700
committerYamaArashi <shadow962@live.com>2015-07-20 18:32:26 -0700
commitfcab935a0f449246380480613ac0896e0b90a0d8 (patch)
tree60391cf3fa91cc8173d13cc9fd75c050d9898e0c /scripts/route12gateupstairs.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/route12gateupstairs.asm')
-rwxr-xr-xscripts/route12gateupstairs.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/route12gateupstairs.asm b/scripts/route12gateupstairs.asm
index d4e8e983..e1f8901f 100755
--- a/scripts/route12gateupstairs.asm
+++ b/scripts/route12gateupstairs.asm
@@ -8,8 +8,7 @@ Route12GateUpstairsTextPointers: ; 49563 (12:5563)
Route12GateUpstairsText1: ; 49569 (12:5569)
TX_ASM
- ld a, [wd7d7]
- rrca
+ CheckEvent EVENT_480, 1
jr c, .asm_0ad3c
ld hl, TM39PreReceiveText
call PrintText
@@ -18,8 +17,7 @@ Route12GateUpstairsText1: ; 49569 (12:5569)
jr nc, .BagFull
ld hl, ReceivedTM39Text
call PrintText
- ld hl, wd7d7
- set 0, [hl]
+ SetEvent EVENT_480
jr .asm_4ba56
.BagFull
ld hl, TM39NoRoomText