Prev: 33824 Up: Map Next: 33863
33834: Display "YOU ARE NOT CARRYING ANYTHING" window and set zero flag if Magic Knight's inventory (carrying) is empty
Used by the routines at 29488, 29756, 30145 and 31537.
Output
F Zero flag set if Magic Knight's (first) inventory (slot) is empty. Reset otherwise
33834 LD A,(25164) Load A with index of first object in Magic Knight's (carrying) inventory...
33837 OR A ...and if this is zero...
33838 RET NZ ...then return
33839 LD HL,38582 Point HL at "YOU ARE NOT CARRYING ANYTHING" text
This entry point is used by the routine at 33824.
33842 LD DE,37195 Adjust height of window 13 to accommodate text...
33845 CALL 33774 ...
33848 PUSH HL Store HL (pointer to text to print)
33849 LD A,13 Draw window 13...
33851 CALL 34990 ...
33854 POP HL Restore HL (pointer to text to print)
33855 CALL 34762 Print text to screen
33858 CALL 55138 Display "PRESS FIRE TO CONTINUE" window and wait for fire to be pressed
33861 XOR A Load A with zero
33862 RET Return
Prev: 33824 Up: Map Next: 33863