Prev: 42864 Up: Map Next: 42955
42936: Reset Horse Price
Used by the routine at SetUpPlayer.
Gives a horse its starting price of $50 if the price is zero.
ResetHorsePrice 42936 LD HL,41564 Point HL at the horse price.
42939 LD A,(HL) Fetch the low byte of the price.
42940 INC HL Move on to the high byte.
42941 OR (HL) Return if the horse price is not zero.
42942 RET NZ
42943 LD DE,43087 Point DE at TelegramLines_HorseDigits.
42946 LD BC,80 Set the starting horse price of $50 in BC.
42949 JR ResetBulletPrice_SetPrice Store the price and convert it to digits.
42951 DEFB 175,50,66,168 Unused.
Prev: 42864 Up: Map Next: 42955