Prev: 28542 Up: Map Next: 28625
28554: Room-specific routine: Show Tyme Guardians' messages and install tyme machine on USS Pisces
Used by the routine at 28457.
28554 LD A,(23472) If tyme-machine-installed flag is set...
28557 BIT 1,A ...
28559 RET NZ ...then return
28560 OR 2 Set tyme-machine-installed flag...
28562 LD (23472),A ...
28565 LD A,(23397) Increase bonus score by 5...
28568 ADD A,5 ...
28570 LD (23397),A ...
28573 LD A,24 Set right exit from USS Pisces, 5 (The Airlock) to USS Pisces, 6A (The Control Column)...
28575 LD (37033),A ...
28578 LD HL,47114 Point HL at "THE TYME GUARDIANS ARE SHOCKED AT YOUR ARRIVAL..." text
28581 LD DE,37195 Adjust height of window 13 to accommodate text...
28584 CALL 33774 ...
28587 PUSH HL Store HL (pointer to start of text to print)
28588 LD A,13 Draw window 13...
28590 CALL 34990 ...
28593 POP HL Restore HL (pointer to start of text to print)
28594 CALL 34762 Print text to screen
28597 CALL 55138 Display "PRESS FIRE TO CONTINUE" window and wait for fire to be pressed
28600 LD HL,47250 Point HL at "YOU MUST RETURN TO YOUR OWN TIME..." text
28603 LD DE,37323 Adjust height of window 29 to accommodate text...
28606 CALL 33774 ...
28609 PUSH HL Store HL (pointer to start of text to print)
28610 LD A,29 Draw window 29...
28612 CALL 34990 ...
28615 POP HL Restore HL (pointer to start of text to print)
28616 CALL 34762 Print text to screen
28619 CALL 55138 Display "PRESS FIRE TO CONTINUE" window and wait for fire to be pressed
28622 JP 27765 Draw Magic Knight's current room, draw objects and characters and initialise room-specific data and return
Prev: 28542 Up: Map Next: 28625