aboutsummaryrefslogtreecommitdiffstats
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
parentMerge pull request #237 from mattbruv/vermilion (diff)
parentadd "hMoney + 2" label for $ffa1 (diff)
downloadpokeyellow-4889e8fa3ea9401a7692ed588ab24239b328f30e.tar.gz
pokeyellow-4889e8fa3ea9401a7692ed588ab24239b328f30e.tar.xz
pokeyellow-4889e8fa3ea9401a7692ed588ab24239b328f30e.zip
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