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
commit 9dc71c771e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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_