summaryrefslogtreecommitdiff
path: root/scripts/safarizonesecrethouse.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/safarizonesecrethouse.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/safarizonesecrethouse.asm')
-rwxr-xr-xscripts/safarizonesecrethouse.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/safarizonesecrethouse.asm b/scripts/safarizonesecrethouse.asm
index b1dd95d3..48992d94 100755
--- a/scripts/safarizonesecrethouse.asm
+++ b/scripts/safarizonesecrethouse.asm
@@ -6,8 +6,7 @@ SafariZoneSecretHouseTextPointers: ; 4a31a (12:631a)
SafariZoneSecretHouseText1: ; 4a31c (12:631c)
TX_ASM
- ld a, [wd857]
- bit 0, a
+ CheckEvent EVENT_880
jr nz, .asm_20a9b
ld hl, SafariZoneSecretHouseText_4a350
call PrintText
@@ -16,8 +15,7 @@ SafariZoneSecretHouseText1: ; 4a31c (12:631c)
jr nc, .BagFull
ld hl, ReceivedHM03Text
call PrintText
- ld hl, wd857
- set 0, [hl]
+ SetEvent EVENT_880
jr .asm_8f1fc
.BagFull
ld hl, HM03NoRoomText