mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Specify the ldh instruction, don't turn ld into ldh
This commit is contained in:
parent
c480632d54
commit
772fcc7588
219 changed files with 2556 additions and 2556 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue