mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
Merge pull request #238 from Akatsuki-py/fix_ffa1
add "hMoney + 2" label for $ffa1
This commit is contained in:
commit
4889e8fa3e
2
home.asm
2
home.asm
|
@ -1314,7 +1314,7 @@ SubtractAmountPaidFromMoney::
|
|||
; adds the amount the player sold to their money
|
||||
AddAmountSoldToMoney::
|
||||
ld de, wPlayerMoney + 2
|
||||
ld hl, $ffa1 ; total price of items
|
||||
ld hl, hMoney + 2 ; total price of items
|
||||
ld c, 3 ; length of money in bytes
|
||||
predef AddBCDPredef ; add total price to money
|
||||
ld a, MONEY_BOX
|
||||
|
|
Loading…
Reference in a new issue