mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
fix SubtractAmountPaidFromMoney comment
This commit is contained in:
parent
dfe718d99e
commit
09f07502b3
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
4
home.asm
4
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_
|
||||
|
||||
|
|
Loading…
Reference in a new issue