Prev: A770 Up: Map Next: A7CB
A7B8: Reset Horse Price
Used by the routine at SetUpPlayer.
Gives a horse its starting price of $50 if the price is zero.
ResetHorsePrice A7B8 LD HL,$A25C Point HL at the horse price.
A7BB LD A,(HL) Fetch the low byte of the price.
A7BC INC HL Move on to the high byte.
A7BD OR (HL) Return if the horse price is not zero.
A7BE RET NZ
A7BF LD DE,$A84F Point DE at TelegramLines_HorseDigits.
A7C2 LD BC,$0050 Set the starting horse price of $50 in BC.
A7C5 JR ResetBulletPrice_SetPrice Store the price and convert it to digits.
A7C7 DEFB $AF,$32,$42,$A8 Unused.
Prev: A770 Up: Map Next: A7CB