mirror of
https://github.com/pret/pokered.git
synced 2026-10-02 14:08:19 -05:00
Merge pull request #238 from Akatsuki-py/fix_ffa1
add "hMoney + 2" label for $ffa1
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user