summaryrefslogtreecommitdiff
path: root/engine/items/tm_prices.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/items/tm_prices.asm')
-rwxr-xr-xengine/items/tm_prices.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/tm_prices.asm b/engine/items/tm_prices.asm
index 502191d5..df9761bd 100755
--- a/engine/items/tm_prices.asm
+++ b/engine/items/tm_prices.asm
@@ -16,10 +16,10 @@ GetMachinePrice::
swap a
.highNybbleIsPrice
and $f0
- ld [hItemPrice + 1], a
+ ldh [hItemPrice + 1], a
xor a
- ld [hItemPrice], a
- ld [hItemPrice + 2], a
+ ldh [hItemPrice], a
+ ldh [hItemPrice + 2], a
ret
INCLUDE "data/items/tm_prices.asm"