summaryrefslogtreecommitdiff
path: root/scripts/celadonmartroof.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/celadonmartroof.asm')
-rwxr-xr-xscripts/celadonmartroof.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/celadonmartroof.asm b/scripts/celadonmartroof.asm
index 113044cd..8eeb5d2b 100755
--- a/scripts/celadonmartroof.asm
+++ b/scripts/celadonmartroof.asm
@@ -88,7 +88,7 @@ CeladonMartRoofScript_4840c: ; 4840c (12:440c)
ld hl, CeladonMartRoofText_48515
call PrintText
call RemoveItemByIDBank12
- ld bc, (TM_49 << 8) | 1
+ lb bc, TM_49, 1
call GiveItem
jr nc, .BagFull
ld hl, ReceivedTM49Text
@@ -101,7 +101,7 @@ CeladonMartRoofScript_4840c: ; 4840c (12:440c)
ld hl, CeladonMartRoofText_48504
call PrintText
call RemoveItemByIDBank12
- ld bc, (TM_48 << 8) | 1
+ lb bc, TM_48, 1
call GiveItem
jr nc, .BagFull
ld hl, CeladonMartRoofText_4850a
@@ -114,7 +114,7 @@ CeladonMartRoofScript_4840c: ; 4840c (12:440c)
ld hl, CeladonMartRoofText_484f3
call PrintText
call RemoveItemByIDBank12
- ld bc, (TM_13 << 8) | 1
+ lb bc, TM_13, 1
call GiveItem
jr nc, .BagFull
ld hl, CeladonMartRoofText_484f9