Prev: 8C3E Up: Map Next: 8CBC
8C71: Routine at 8C71
8C71 LD HL,$5E67 If GameDelayTimer is zero, jump to 8C99.
8C74 LD A,(HL)
8C75 AND A
8C76 JR Z,$8C99
8C78 DEC (HL) Decrement GameDelayTimer by one.
8C79 JR NZ,HandlerScoreLabel Jump to HandlerScoreLabel if the delay timer is still active.
8C7B CALL SoundsPickupItem Call SoundsPickupItem.
8C7E LD A,($5EA0) A=ActivePlayer_Level.
8C81 AND %00000001 Keep only bit 0.
8C83 LD ($5EA2),A Write the result to 5EA2.
8C86 LD A,($5E65) Jump to 8C94 if Flag_ActivePlayer is not zero.
8C89 AND A
8C8A JR NZ,$8C94
8C8C LD HL,$0018 HL=0018.
8C8F CALL UnsetFlashText Call UnsetFlashText.
8C92 JR $8C99 Jump to 8C99.
8C94 LD HL,$00D8 HL=00D8.
8C97 JR $8C8F Jump to 8C8F.
8C99 LD HL,$1040 HL=1040.
8C9C LD A,($608F) A=FuelLevel_2.
8C9F CALL DrawGauge Call DrawGauge.
8CA2 CALL HandlerControls Call HandlerControls.
8CA5 BIT 1,A
8CA7 JP Z,$8CE2
8CAA BIT 0,A
8CAC JP Z,$8CF4
8CAF BIT 3,A
8CB1 LD A,$00 Write 00 to IX+05.
8CB3 LD (IX+$05),A
8CB6 JP Z,$9005
8CB9 JP $8CDF Jump to 8CDF.
Prev: 8C3E Up: Map Next: 8CBC