Prev: B123 Up: Map Next: B147
B12B: Routine at B12B
Used by the routine at StartGame.
B12B LD HL,$B146 HL=B146.
B12E DEC (HL) Decrease *HL by one.
B12F LD A,($C386) A=*C386.
B132 JR NZ,$B140 Jump to B140 if is not zero.
B134 BIT 4,A Test bit 4 of A.
B136 LD (HL),$02 Write 02 to *HL.
B138 JR NZ,$B13C Jump to B13C if bit 4 of A is set.
B13A LD (HL),$19 Write 19 to *HL.
B13C CALL Handler_Time Call Handler_Time.
B13F RET Return.
B140 BIT 4,A Return if bit 4 of A is not set.
B142 RET Z
B143 LD (HL),$01 Write 01 to *HL.
B145 RET Return.
B146 DEFB $19
Prev: B123 Up: Map Next: B147