Prev: 6C1E Up: Map Next: 6C3C
6C31: Handle Level Timer
The handler for the actor which is created by SetUpLevel at the start of a level (IDs 0A and 0B). It is not drawn; its horizontal co-ordinate is used as a timer, which is decreased by one each pass. When it reaches zero the introduction to the level is started by StartLevelIntroduction.
Input
IX Actor
HandleLevelTimer 6C31 LD A,(IX+$01) Fetch the timer (held in the horizontal co-ordinate).
6C34 DEC A Decrease the timer by one.
6C35 LD (IX+$01),A Update the timer.
6C38 CALL Z,StartLevelIntroduction Call StartLevelIntroduction if the timer is zero.
6C3B RET Return.
Prev: 6C1E Up: Map Next: 6C3C