summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorAkatsuki-py <bluejapan73+dev@gmail.com>2020-06-05 04:32:12 +0900
committerAkatsuki-py <bluejapan73+dev@gmail.com>2020-06-05 04:32:12 +0900
commit09f07502b3aada1b6eef1e2c69944ea46b328c78 (patch)
tree8e7d1a0c36603e536203c28b38eac68fa5931424 /engine
parentdfe718d99e0f08c2ae77b5fe967c49e3b383f46d (diff)
fix SubtractAmountPaidFromMoney comment
Diffstat (limited to 'engine')
-rw-r--r--engine/subtract_paid_money.asm4
1 files changed, 2 insertions, 2 deletions
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