summaryrefslogtreecommitdiff
path: root/scripts/fuchsiahouse2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fuchsiahouse2.asm')
-rwxr-xr-xscripts/fuchsiahouse2.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/fuchsiahouse2.asm b/scripts/fuchsiahouse2.asm
index f758b49e..b755b3bc 100755
--- a/scripts/fuchsiahouse2.asm
+++ b/scripts/fuchsiahouse2.asm
@@ -10,14 +10,12 @@ FuchsiaHouse2TextPointers: ; 750b8 (1d:50b8)
FuchsiaHouse2Text1: ; 750c2 (1d:50c2)
TX_ASM
- ld a, [wd78e]
- bit 0, a
+ CheckEvent EVENT_238
jr nz, .subtract
ld b,GOLD_TEETH
call IsItemInBag
jr nz, .asm_3f30f
- ld a, [wd78e]
- bit 1, a
+ CheckEvent EVENT_239
jr nz, .asm_60cba
ld hl, WardenGibberishText1
call PrintText
@@ -36,8 +34,7 @@ FuchsiaHouse2Text1: ; 750c2 (1d:50c2)
ld a, GOLD_TEETH
ld [$ffdb], a
callba RemoveItemByID
- ld hl, wd78e
- set 1, [hl]
+ SetEvent EVENT_239
.asm_60cba
ld hl, WardenThankYouText
call PrintText
@@ -46,8 +43,7 @@ FuchsiaHouse2Text1: ; 750c2 (1d:50c2)
jr nc, .BagFull
ld hl, ReceivedHM04Text
call PrintText
- ld hl, wd78e
- set 0, [hl]
+ SetEvent EVENT_238
jr .asm_52039
.subtract
ld hl, HM04ExplanationText