Prev: DEE1 Up: Map Next: DF39
DF1F: Set Monster States
Used by the routine at InitialiseNewGame.
Input
A Default for
SetMonsterStates DF1F LD (IY+$00),$1C Write 1C (falling) to monster state (IY+00).
DF23 LD (IY+$02),A Write A to:
  • IY+02
  • monster direction (IY+03)
  • IY+08
DF26 LD (IY+$03),A
DF29 LD (IY+$08),A
DF2C LD (IY+$04),$01 Write 01 to IY+04.
DF30 LD (IY+$0A),$FE Write FE to monster Y position (IY+0A).
DF34 LD (IY+$0C),$40 Write 40 to monster energy (IY+0C).
DF38 RET Return.
Prev: DEE1 Up: Map Next: DF39