![]() |
Routines |
| Prev: 73A4 | Up: Map | Next: 73FA |
Handles room 09 logic. The current level in B controls which objects are initialised or updated on each pass.
|
||||||||||||||||||||||
| Handler_Room09 | 73E1 | LD A,B | Copy the current level into A. | |||||||||||||||||||
| 73E2 | CP $01 | Return if this is level 01. | ||||||||||||||||||||
| 73E4 | RET Z | |||||||||||||||||||||
|
Add the helicopter for any level other than level 03.
|
||||||||||||||||||||||
| 73E5 | LD IX,$DAD0 | IX=Sprite04_3Wide_X_Position. | ||||||||||||||||||||
| 73E9 | PUSH AF | Stash the current level on the stack. | ||||||||||||||||||||
| 73EA | CP $03 | Call Handler_Helicopter if this is not level 03. | ||||||||||||||||||||
| 73EC | CALL NZ,Handler_Helicopter | |||||||||||||||||||||
| 73EF | POP AF | Restore the current level from the stack. | ||||||||||||||||||||
|
Add the parachute if this is level 03 or higher.
|
||||||||||||||||||||||
| 73F0 | LD IX,$DAD8 | IX=Sprite06_3Wide_X_Position. | ||||||||||||||||||||
| 73F4 | CP $03 | Call Handler_Parachute_Descent if this is level 03 or higher. | ||||||||||||||||||||
| 73F6 | CALL NC,Handler_Parachute_Descent | |||||||||||||||||||||
| 73F9 | RET | Return. | ||||||||||||||||||||
| Prev: 73A4 | Up: Map | Next: 73FA |