summaryrefslogtreecommitdiff
path: root/scripts/lavenderhouse1.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/lavenderhouse1.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/lavenderhouse1.asm')
-rwxr-xr-xscripts/lavenderhouse1.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/lavenderhouse1.asm b/scripts/lavenderhouse1.asm
index 9c812c71..21e67013 100755
--- a/scripts/lavenderhouse1.asm
+++ b/scripts/lavenderhouse1.asm
@@ -12,8 +12,7 @@ LavenderHouse1TextPointers: ; 1d8ac (7:58ac)
LavenderHouse1Text1: ; 1d8b8 (7:58b8)
TX_ASM
- ld a, [wd7e0]
- bit 7, a
+ CheckEvent EVENT_4CF
jr nz, .asm_72e5d
ld hl, LavenderHouse1Text_1d8d1
call PrintText
@@ -34,8 +33,7 @@ LavenderHouse1Text_1d8d6: ; 1d8d6 (7:58d6)
LavenderHouse1Text2: ; 1d8db (7:58db)
TX_ASM
- ld a, [wd7e0]
- bit 7, a
+ CheckEvent EVENT_4CF
jr nz, .asm_06470
ld hl, LavenderHouse1Text_1d8f4
call PrintText
@@ -70,8 +68,7 @@ LavenderHouse1Text4: ; 1d90b (7:590b)
LavenderHouse1Text5: ; 1d918 (7:5918)
TX_ASM
- ld a, [wd76c]
- bit 0, a
+ CheckEvent EVENT_128
jr nz, .asm_15ac2
ld hl, LavenderHouse1Text_1d94c
call PrintText
@@ -80,8 +77,7 @@ LavenderHouse1Text5: ; 1d918 (7:5918)
jr nc, .BagFull
ld hl, ReceivedFluteText
call PrintText
- ld hl, wd76c
- set 0, [hl]
+ SetEvent EVENT_128
jr .asm_da749
.BagFull
ld hl, FluteNoRoomText