summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-05-20 19:08:49 -0500
committerGitHub <noreply@github.com>2020-05-20 19:08:49 -0500
commit4889e8fa3ea9401a7692ed588ab24239b328f30e (patch)
tree88dd4a051f7ad7abf14bdbb70a5dbd5786eb4d3a
parent606df6a317df7c8d076410e8189f7e0a7782b530 (diff)
parenta13762b7bb482b6da6a596f7aad81a3397128e16 (diff)
Merge pull request #238 from Akatsuki-py/fix_ffa1
add "hMoney + 2" label for $ffa1
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index 62be4371..199edbaf 100644
--- a/home.asm
+++ b/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