summaryrefslogtreecommitdiff
path: root/scripts/lab3.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/lab3.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/lab3.asm')
-rwxr-xr-xscripts/lab3.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/lab3.asm b/scripts/lab3.asm
index e91d36f3..0351038d 100755
--- a/scripts/lab3.asm
+++ b/scripts/lab3.asm
@@ -10,8 +10,7 @@ Lab3TextPointers: ; 75c8a (1d:5c8a)
Lab3Text1: ; 75c94 (1d:5c94)
TX_ASM
- ld a, [wd7a1]
- bit 7, a
+ CheckEvent EVENT_2D7
jr nz, .asm_e551a
ld hl, TM35PreReceiveText
call PrintText
@@ -20,8 +19,7 @@ Lab3Text1: ; 75c94 (1d:5c94)
jr nc, .BagFull
ld hl, ReceivedTM35Text
call PrintText
- ld hl, wd7a1
- set 7, [hl]
+ SetEvent EVENT_2D7
jr .asm_eb896
.BagFull
ld hl, TM35NoRoomText