Prev: 33332 Up: Map Next: 33448
33338: Command-character-to-help routine for Derby IV
Used by the routine at 55726.
33338 LD A,(23451) If blank-I.D.-card-obtained flag is set...
33341 BIT 3,A ...
33343 JR NZ,33421 ...then skip ahead to 33421
33345 OR 8 Set blank-I.D.-card-obtained flag...
33347 LD (23451),A ...
33350 LD HL,25292 Point HL at current position of Blank I.D. Card...
33353 LD (HL),3 ...and set its room to 03 (USS Pisces, 3, The Transputer Room)
33355 LD DE,37307 Point DE at height data for window 27
33358 LD HL,45236 Point HL at "HELLO MAGIC KNIGHT. AS A TEMPORALY MISPLACED..." text
33361 CALL 33774 Adjust height of window (pointed to by DE) to accommodate text
33364 PUSH HL Store HL (pointer to start of text to print)
33365 LD A,27 Draw window 27...
33367 CALL 34990 ...
33370 POP HL Restore HL (pointer to start of text to print)
33371 CALL 34762 Print text to screen
33374 CALL 55138 Display "PRESS FIRE TO CONTINUE" window and wait for fire to be pressed
33377 LD DE,37227 Load DE with address of y-coordinate of top edge of window 17 in window data table at 37089
33380 LD HL,45395 Point HL at "FROM TIME TO TIME I WILL BE ABLE TO..." text
33383 CALL 33774 Adjust height of 17 window to accommodate text
33386 PUSH HL Store HL (pointer to start of text to print)
33387 LD A,17 Draw window 17...
33389 CALL 34990 ...
33392 POP HL Restore HL (pointer to start of text to print)
33393 CALL 34762 Print text to screen
33396 CALL 55138 Display "PRESS FIRE TO CONTINUE" window and wait for fire to be pressed
33399 LD DE,37307 Point DE at height data for window 27
33402 LD HL,45517 Point HL at "WHIRRRRR........ PLOP !..." text
33405 CALL 33774 Adjust height of 27 window to accommodate text
33408 PUSH HL Store HL (pointer to start of text to print)
33409 LD A,27 Draw window 27...
33411 CALL 34990 ...
33414 POP HL Restore HL (pointer to start of text to print)
33415 CALL 34762 Print text to screen
33418 JP 29479 Display "PRESS FIRE TO CONTINUE" window and wait for input and return to main game loop
33421 BIT 4,A If I.D.-card-validated flag is set...
33423 JP NZ,55252 ...then display "[Character] CANNOT HELP YOU" window (29) and return to game
33426 LD DE,37307 Point DE at height data for window 27
33429 LD HL,45629 Point HL at "[Character] SAYS 'STICK YOUR PHOTO ON THE I.D. CARD..." text
33432 CALL 33774 Adjust height of window 27 to accommodate text
33435 PUSH HL Store HL (pointer to start of text to print)
33436 LD A,27 Draw window 27...
33438 CALL 34990 ...
33441 POP HL Restore HL (pointer to start of text to print)
33442 CALL 34762 Print text to screen
33445 JP 29479 Display "PRESS FIRE TO CONTINUE" window and wait for input and return to main game loop
Prev: 33332 Up: Map Next: 33448