Prev: 53115 Up: Map Next: 53185
53150: Store background attributes if appropriate, then draw Magic Knight to display
Used by the routines at 28101 and 31468.
53150 LD A,1 Load A with 1 (see trivia)
This entry point is used by the routine at 53115.
53152 PUSH IX Store IX
53154 LD A,(23705) If player-attribute-update flag is set (player attribute update mode)...
53157 OR A ...
53158 CALL NZ,53185 ...then store background attribute data at Magic Knight's current location
53161 CALL 52937 Store background bitmap data at Magic Knight's current location
53164 CALL 53019 Overlay graphic data for Magic Knight's current frame on table of bitmap data for Magic Knight at his current location
53167 CALL 53073 Draw bitmap data for Magic Knight overlaid on background to display file
53170 LD A,(23422) Store Magic Knight's current x-coordinate (characters) at 23423...
53173 LD (23423),A ...
53176 LD A,(25157) Store Magic Knight's current y-coordinate (pixels) at 23424...
53179 LD (23424),A ...
53182 POP IX Restore IX
53184 RET Return
Prev: 53115 Up: Map Next: 53185