Prev: 85F0 Up: Map Next: 862E
85F7: The sprite a monster arrives as
Sprites $58 to $5B, four frames of a monster appearing. Nothing wanders in from another room: a creature is spawned into the one the player is in, and this is what is drawn while it does.
SPAWN_MONSTER 85F7 CALL ACTOR_TO_WORKSPACE
85FA LD A,($EA91)
85FD CP (IX+$01)
8600 JP NZ,ACTOR_TICK_TIMER
8603 LD HL,$5E25
8606 INC (HL)
8607 DEC (IX+$0E)
860A JR Z,SPAWN_MONSTER_0
860C LD A,(IX+$0E)
860F AND $03
8611 ADD A,$58
8613 LD (IX+$00),A
8616 LD (IX+$0F),$80
861A LD A,($EA90)
861D CP $31
861F JP NC,KILL_MONSTER
8622 JP REDRAW_ACTOR
SPAWN_MONSTER_0 8625 LD A,(IX+$02)
8628 LD (IX+$00),A
862B JP REDRAW_ACTOR
Prev: 85F0 Up: Map Next: 862E