summaryrefslogtreecommitdiff
path: root/scripts/safarizonesecrethouse.asm
diff options
context:
space:
mode:
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..6cf17b9d 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_GOT_HM03
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_GOT_HM03
jr .asm_8f1fc
.BagFull
ld hl, HM03NoRoomText