Prev: 38724 Up: Map Next: 38829
38780: Draw top in-game window
Used by the routine at 38841.
38780 LD HL,50682 Point HL at info window text (not carrying Mirror version)
38783 PUSH HL Store HL (address of info window text)
38784 LD A,20 If Magic Knight is not carrying the Mirror (20)...
38786 CALL 45510 ...
38789 JR NZ,38796 ...then skip ahead to 38796
38791 POP HL Restore HL (address of info window text)
38792 LD HL,51050 Point HL at info window text (carrying Mirror version)
38795 PUSH HL Store HL (address of info window text)
38796 LD A,1 Draw window 1...
38798 CALL 47193 ...
38801 LD HL,16394 Load HL with display file address corresponding to (10, 0) (characters)...
38804 LD (63018),HL ...and move bitmap virtual text cursor here
38807 LD HL,50805 Point HL at "STORMBRINGER" text...
38810 CALL 46902 ...and print to screen
38813 LD HL,16417 Load HL with display file address corresponding to (1, 1) (characters)...
38816 LD (63018),HL ...and move bitmap virtual text cursor here
38819 POP HL Store HL (address of info window text)
38820 CALL 46902 Print window text
38823 CALL 46463 Print Magic Knight's current strength at (6, 2) as text if he is carrying the Mirror
38826 JP 46490 Draw objects in Magic Knight's inventory if he is carrying the Mirror then return
Prev: 38724 Up: Map Next: 38829