summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-06-14 14:41:32 -0500
committerGitHub <noreply@github.com>2020-06-14 14:41:32 -0500
commit9dc71c771e57c57736c3ab63341676e39d7e98aa (patch)
tree1b45ca198821a687af213836559a9f5d4c8007d5
parentdfe718d99e0f08c2ae77b5fe967c49e3b383f46d (diff)
parenta3b6d69efc96f41f82a5b9c5dbe4eff3c9f84118 (diff)
Merge pull request #246 from Akatsuki-py/SubtractAmountPaidFromMoney
fix SubtractAmountPaidFromMoney comment
-rw-r--r--engine/subtract_paid_money.asm2
-rw-r--r--home.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/subtract_paid_money.asm b/engine/subtract_paid_money.asm
index a6a6ec2e..2f4c2243 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
+; 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..e0ef5539 100644
--- a/home.asm
+++ b/home.asm
@@ -1307,7 +1307,7 @@ CountSetBits::
ret
; subtracts the amount the player paid from their money
-; sets carry flag if there is enough money and unsets carry flag if not
+; OUTPUT: carry = 0(success) or 1(fail because there is not enough money)
SubtractAmountPaidFromMoney::
jpba SubtractAmountPaidFromMoney_