From a13762b7bb482b6da6a596f7aad81a3397128e16 Mon Sep 17 00:00:00 2001 From: akatsuki-py Date: Thu, 21 May 2020 01:26:06 +0900 Subject: add "hMoney + 2" label for $ffa1 --- home.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3