summaryrefslogtreecommitdiff
path: root/scripts/route16house.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/route16house.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/route16house.asm')
-rwxr-xr-xscripts/route16house.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/route16house.asm b/scripts/route16house.asm
index 5035b190..d01465cb 100755
--- a/scripts/route16house.asm
+++ b/scripts/route16house.asm
@@ -7,8 +7,7 @@ Route16HouseTextPointers: ; 1e5fb (7:65fb)
Route16HouseText1: ; 1e5ff (7:65ff)
TX_ASM
- ld a, [wd7e0]
- bit 6, a
+ CheckEvent EVENT_4CE
ld hl, HM02ExplanationText
jr nz, .asm_13616
ld hl, Route16HouseText3
@@ -16,8 +15,7 @@ Route16HouseText1: ; 1e5ff (7:65ff)
ld bc, (HM_02 << 8) | 1
call GiveItem
jr nc, .BagFull
- ld hl, wd7e0
- set 6, [hl]
+ SetEvent EVENT_4CE
ld hl, ReceivedHM02Text
jr .asm_13616
.BagFull