Prev: 57057 Up: Map Next: 57145
57119: Set Monster States
Used by the routine at InitialiseNewGame.
Input
A Default for
SetMonsterStates 57119 LD (IY+0),28 Write 28 (falling) to monster state (IY+0).
57123 LD (IY+2),A Write A to:
  • IY+2
  • monster direction (IY+3)
  • IY+8
57126 LD (IY+3),A
57129 LD (IY+8),A
57132 LD (IY+4),1 Write 1 to IY+4.
57136 LD (IY+10),254 Write 254 to monster Y position (IY+10).
57140 LD (IY+12),64 Write 64 to monster energy (IY+12).
57144 RET Return.
Prev: 57057 Up: Map Next: 57145