Merge pull request #246 from Akatsuki-py/SubtractAmountPaidFromMoney

fix SubtractAmountPaidFromMoney comment
This commit is contained in:
Daniel Harding
2020-06-14 14:41:32 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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_