diff options
Diffstat (limited to 'engine/subtract_paid_money.asm')
-rw-r--r-- | engine/subtract_paid_money.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/subtract_paid_money.asm b/engine/subtract_paid_money.asm index 2f4c2243..fdefe3d6 100644 --- a/engine/subtract_paid_money.asm +++ b/engine/subtract_paid_money.asm @@ -1,6 +1,6 @@ ; subtracts the amount the player paid from their money ; OUTPUT: carry = 0(success) or 1(fail because there is not enough money) -SubtractAmountPaidFromMoney_: +SubtractAmountPaidFromMoney_:: ld de, wPlayerMoney ld hl, hMoney ; total price of items ld c, 3 ; length of money in bytes |