Prev: 40212 Up: Map Next: 40319
40281: LaunchSequence — the Narcissus lifts off
75 frames of engine noise with the whole room-view area flashing (BRIGHT bit XOR), then the escape ending (Endgame_Escape).
Used by the routine at 40212.
40281 LD B,75 75 flash frames:
40283 PUSH BC
40284 LD A,1 queue the engine-noise effect
40286 LD (33699),A
40289 CALL 40319 play it (FrameTiming)
40292 LD DE,12 toggle the BRIGHT bit across the
40295 LD HL,22528 20x19 room-view attribute window
40298 LD C,19
40300 LD B,20
40302 LD A,(HL)
40303 XOR 64
40305 LD (HL),A
40306 INC HL
40307 DJNZ 40302
40309 ADD HL,DE
40310 DEC C
40311 JR NZ,40300
40313 POP BC
40314 DJNZ 40283
40316 JP 44159 you got away: Endgame_Escape
Prev: 40212 Up: Map Next: 40319