summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/subtract_paid_money.asm4
-rw-r--r--home.asm4
2 files changed, 4 insertions, 4 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
diff --git a/home.asm b/home.asm
index b8fefeb9..677a7253 100644
--- a/home.asm
+++ b/home.asm
@@ -1306,8 +1306,8 @@ CountSetBits::
ld [wNumSetBits], a
ret
-; 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::
jpba SubtractAmountPaidFromMoney_