summaryrefslogtreecommitdiff
path: root/scripts/WardensHouse.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-06 19:03:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-06 19:03:05 -0400
commit772fcc7588a4e1fbe146a02b429cf64282c81dcb (patch)
treef491fa1d38e37ab10534b3f18422e0149ad0deca /scripts/WardensHouse.asm
parentc480632d5494d04f7f5f0298a31877a2293b564e (diff)
Specify the ldh instruction, don't turn ld into ldh
Diffstat (limited to 'scripts/WardensHouse.asm')
-rwxr-xr-xscripts/WardensHouse.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/WardensHouse.asm b/scripts/WardensHouse.asm
index 474ba320..1cb68cf9 100755
--- a/scripts/WardensHouse.asm
+++ b/scripts/WardensHouse.asm
@@ -32,7 +32,7 @@ FuchsiaHouse2Text1:
ld hl, WardenTeethText1
call PrintText
ld a, GOLD_TEETH
- ld [hItemToRemoveID], a
+ ldh [hItemToRemoveID], a
callba RemoveItemByID
SetEvent EVENT_GAVE_GOLD_TEETH
.asm_60cba
@@ -95,7 +95,7 @@ HM04NoRoomText:
FuchsiaHouse2Text5:
FuchsiaHouse2Text4:
text_asm
- ld a, [hSpriteIndex]
+ ldh a, [hSpriteIndex]
cp $4
ld hl, FuchsiaHouse2Text_7517b
jr nz, .asm_4c9a2