Routines |
Prev: 61823 | Up: Map | Next: 61913 |
|
||||||||
61860 | XOR A | Reset redraw-Magic-Knight-on-next-interrupt flag... | ||||||
61861 | LD (23441),A | ... | ||||||
61864 | LD A,1 | Load A with 1 (prepare to set do-not-draw-axes flag) | ||||||
This entry point is used by the routine at 61823.
|
||||||||
61866 | PUSH IX | Store IX | ||||||
61868 | LD (23437),A | Set do-not-draw-axes flag to value in A | ||||||
61871 | LD A,(23706) | If player-attribute-update flag is set (player attribute update mode)... | ||||||
61874 | OR A | ... | ||||||
61875 | CALL NZ,61913 | ...then store background attribute data at Magic Knight's current location | ||||||
61878 | CALL 61638 | Store background bitmap data at Magic Knight's current location | ||||||
61881 | CALL 61720 | Overlay graphic data for Magic Knight's current frame on table of bitmap data for Magic Knight at his current location | ||||||
61884 | CALL 61774 | Draw bitmap data for Magic Knight overlaid on background to display file | ||||||
61887 | LD A,(23437) | If do-not-draw-axes flag is reset... | ||||||
61890 | OR A | ... | ||||||
61891 | CALL Z,46784 | ...then draw axe(s) to screen if Magic Knight is in an axe room | ||||||
61894 | LD A,(23414) | Store Magic Knight's current x-coordinate (characters) at 23415... | ||||||
61897 | LD (23415),A | ... | ||||||
61900 | LD A,(24841) | Store Magic Knight's current y-coordinate (pixels) at 23416... | ||||||
61903 | LD (23416),A | ... | ||||||
61906 | POP IX | Restore IX | ||||||
61908 | XOR A | Reset redraw-Magic-Knight-on-next-interrupt flag... | ||||||
61909 | LD (23441),A | ... | ||||||
61912 | RET | Return |
Prev: 61823 | Up: Map | Next: 61913 |