Prev: A19A Up: Map Next: A21C
A1B8: Decrease the timer and bonus
Used by the routines at 9858 and A59D.
A1B8 LD HL,$7341
A1BB LD DE,$0003
A1BE INC B
A1BF DEC B
A1C0 JR Z,$A1C3
A1C2 ADD HL,DE
A1C3 LD A,$FF
A1C5 LD D,$03
A1C7 DEC (HL)
A1C8 CP (HL)
A1C9 JR NZ,$A1DE
A1CB DEC D
A1CC JR NZ,$A1D9
A1CE POP HL
A1CF INC B
A1D0 DEC B
A1D1 RET NZ
A1D2 PUSH HL
A1D3 LD HL,$7347
A1D6 LD (HL),$00
A1D8 RET
A1D9 LD (HL),$09
A1DB DEC HL
A1DC JR $A1C7
A1DE LD DE,$000A
A1E1 LD HL,$4053
A1E4 INC B
A1E5 DEC B
A1E6 JR Z,$A1E9
A1E8 ADD HL,DE
A1E9 EX DE,HL
A1EA LD HL,$733F
A1ED INC B
A1EE DEC B
A1EF JR Z,$A1F4
A1F1 INC HL
A1F2 INC HL
A1F3 INC HL
A1F4 PUSH HL
A1F5 POP BC
A1F6 LD IXl,$03
A1F9 PUSH DE
A1FA LD A,(BC)
A1FB SLA A
A1FD SLA A
A1FF SLA A
A201 LD HL,$89E0
A204 PUSH BC
A205 LD B,$00
A207 LD C,A
A208 ADD HL,BC
A209 LD B,$08
A20B LD A,(HL)
A20C LD (DE),A
A20D INC D
A20E INC L
A20F DJNZ $A20B
A211 POP BC
A212 POP DE
A213 INC DE
A214 INC BC
A215 DEC IXl
A217 JR NZ,$A1F9
A219 RET
A21A RET
A21B NOP
Prev: A19A Up: Map Next: A21C