Prev: 73E1 Up: Map Next: 7413
73FA: Handler: Room 0A
Handles room 0A logic. The current level in B controls which objects are initialised or updated on each pass.
Levels Baddies
01 None
02 None
03 Helicopter
04 Balloon
05+ Helicopter, Balloon
Input
B Current level
Handler_Room10 73FA LD A,B Copy the current level into A.
73FB CP $03 Return if this is below level 03.
73FD RET C
Add the helicopter for any level other than level 04.
73FE LD IX,$DAD8 IX=Sprite06_3Wide_X_Position.
7402 PUSH AF Stash the current level on the stack.
7403 CP $04 Call Handler_Helicopter if this is not level 04.
7405 CALL NZ,Handler_Helicopter
7408 POP AF Restore the current level from the stack.
Add the balloon for level 04 and above.
7409 LD IX,$DADC IX=Sprite07_3Wide_X_Position.
740D CP $03 Call Handler_Balloon if this is not level 03.
740F CALL NZ,Handler_Balloon
7412 RET Return.
Prev: 73E1 Up: Map Next: 7413