Routines |
Prev: 34762 | Up: Map | Next: 34799 |
|
||||||||||
34768 | PUSH HL | Store HL | ||||||||
34769 | LD L,A | Load index A into HL... | ||||||||
34770 | LD H,0 | ... | ||||||||
34772 | EX AF,AF' | Exchange AF | ||||||||
34773 | ADD HL,HL | Multiply HL by 8... | ||||||||
34774 | ADD HL,HL | ... | ||||||||
34775 | ADD HL,HL | ... | ||||||||
34776 | LD DE,41877 | Point DE at bottom position of first window in window data table... | ||||||||
34779 | ADD HL,DE | ...then add this to HL to obtain bottom position of window A location | ||||||||
34780 | POP DE | Restore pointer to text to show in window | ||||||||
34781 | LD A,(DE) | Load the first character of the text (a height value) into A... | ||||||||
34782 | LD (HL),A | ...and from there into window table, thereby adjusting the height of the window! | ||||||||
34783 | INC DE | Move to next character (which should be the true start of the text) | ||||||||
34784 | PUSH DE | Store this pointer | ||||||||
34785 | EX AF,AF' | Switch back to restore window index to A | ||||||||
34786 | CALL 36987 | Draw the window with index A | ||||||||
34789 | POP HL | Restore pointer to text to HL | ||||||||
34790 | CALL 36725 | Print the text into the window | ||||||||
34793 | CALL 38749 | Display "PRESS SPACE OR FIRE TO CONTINUE" window and wait for space / fire | ||||||||
34796 | JP 30428 | Reset Gimbal-white-out-safe flag, redraw current room and return to main game loop |
Prev: 34762 | Up: Map | Next: 34799 |