Merge pull request #238 from Akatsuki-py/fix_ffa1

add "hMoney + 2" label for $ffa1
This commit is contained in:
Daniel Harding
2020-05-20 19:08:49 -05:00
committed by GitHub

View File

@@ -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