From 09f07502b3aada1b6eef1e2c69944ea46b328c78 Mon Sep 17 00:00:00 2001 From: Akatsuki-py Date: Fri, 5 Jun 2020 04:32:12 +0900 Subject: fix SubtractAmountPaidFromMoney comment --- engine/subtract_paid_money.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/subtract_paid_money.asm b/engine/subtract_paid_money.asm index a6a6ec2e..1f12db6c 100644 --- a/engine/subtract_paid_money.asm +++ b/engine/subtract_paid_money.asm @@ -1,5 +1,5 @@ -; subtracts the amount the player paid from their money -; sets carry flag if there is enough money and unsets carry flag if not +; subtracts the amount the player paid from their money +; OUTPUT: carry = 0(success) or 1(fail because there is not enough money) SubtractAmountPaidFromMoney_: ld de, wPlayerMoney ld hl, hMoney ; total price of items -- cgit v1.2.3 From a3b6d69efc96f41f82a5b9c5dbe4eff3c9f84118 Mon Sep 17 00:00:00 2001 From: Akatsuki-py Date: Sat, 6 Jun 2020 10:50:05 +0900 Subject: remove two whitespaces --- engine/subtract_paid_money.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/subtract_paid_money.asm b/engine/subtract_paid_money.asm index 1f12db6c..2f4c2243 100644 --- a/engine/subtract_paid_money.asm +++ b/engine/subtract_paid_money.asm @@ -1,4 +1,4 @@ -; subtracts the amount the player paid from their money +; subtracts the amount the player paid from their money ; OUTPUT: carry = 0(success) or 1(fail because there is not enough money) SubtractAmountPaidFromMoney_: ld de, wPlayerMoney -- cgit v1.2.3