Routines |
Prev: 28095 | Up: Map | Next: 28172 |
Used by the routine at 27951.
|
||||||||||||
28101 | CALL 29272 | If Magic Knight is on the bridge and USS Pisces is not at Gangrole then draw viewscreen starfield | ||||||||||
28104 | CALL 28172 | Print Magic Knight's current room's name at top of screen | ||||||||||
28107 | CALL 28264 | Prepare to execute room-specific routine for Magic Knight's current room | ||||||||||
28110 | CALL 36077 | Draw all objects in Magic Knight's current room | ||||||||||
28113 | CALL 28364 | Draw all characters in Magic Knight's current room | ||||||||||
28116 | LD A,(23701) | Flag Magic Knight's current room as visited for scoring purposes... | ||||||||||
28119 | LD E,A | ... | ||||||||||
28120 | LD D,0 | ... | ||||||||||
28122 | LD HL,23502 | ... | ||||||||||
28125 | ADD HL,DE | ... | ||||||||||
28126 | LD (HL),1 | ... | ||||||||||
28128 | LD A,7 | Set stored border colour to 7 (black)... | ||||||||||
28130 | LD (23624),A | ... | ||||||||||
28133 | XOR A | Set border to black and reset speaker state... | ||||||||||
28134 | OUT (254),A | ... | ||||||||||
28136 | LD A,71 | Store 71 (white INK, black PAPER, BRIGHT) at 23695... | ||||||||||
28138 | LD (23695),A | ... | ||||||||||
28141 | RES 1,(IY+65) | Reset characters-free-to-move flag | ||||||||||
28145 | RES 2,(IY+65) | Reset unknown flag | ||||||||||
28149 | LD A,(23480) | If unknown / unused flag 2 is zero... | ||||||||||
28152 | OR A | ... | ||||||||||
28153 | JR Z,28155 | ...then jump to 28155 (see trivia) | ||||||||||
28155 | CALL 53150 | Store background attributes if appropriate, then draw Magic Knight to display | ||||||||||
28158 | XOR A | Set unknown / unused flag 2 to zero... | ||||||||||
28159 | LD (23480),A | ... | ||||||||||
28162 | CALL 28696 | If draw-communicate-window-face flag is set then draw communicate window face | ||||||||||
28165 | CALL 34265 | Set Magic Knight's available action flags and validate I.D. Card if appropriate | ||||||||||
28168 | LD A,(23701) | Load A with Magic Knight's current room | ||||||||||
28171 | RET | Return |
Prev: 28095 | Up: Map | Next: 28172 |