Prev: 897D Up: Map Next: 89ED
8988: Drive Frankenstein's monster
Sprites $74 to $77, four frames. Hunts the player. Touched while the player carries the cyan spanner ($8B), it is killed: 1000 points, then KILL_MONSTER's 155, and its slot is never refilled (measured in the simulator: +1155). Otherwise its touch costs eight units of life force a pass, through LOSE_FOOD_EIGHT.
MOVE_FRANKENSTEIN 8988 CALL ACTOR_TO_WORKSPACE
898B CALL CHECK_HIT
898E DEC E
898F JR NZ,MOVE_FRANKENSTEIN_1
8991 LD DE,$458B
8994 CALL FIND_CARRIED
8997 JR NZ,MOVE_FRANKENSTEIN_0
8999 LD BC,$1000
899C CALL ADD_SCORE
899F JP KILL_MONSTER
MOVE_FRANKENSTEIN_0 89A2 CALL LOSE_FOOD_EIGHT
MOVE_FRANKENSTEIN_1 89A5 LD DE,($EA93)
89A9 CALL HOME_IN
89AC LD A,($5E12)
89AF RRA
89B0 RRA
89B1 AND $03
89B3 ADD A,$74
89B5 LD (IX+$00),A
89B8 LD DE,$3434
This entry point is used by the routines at MOVE_MUMMY, MOVE_DRACULA and MOVE_DEVIL.
BIG_MONSTER_STEP 89BB LD A,($EA90)
89BE CP $31
89C0 JP C,STEP_ACTOR
89C3 LD DE,($EA93)
89C7 CALL HOME_IN
89CA LD A,(IX+$08)
89CD NEG
89CF LD (IX+$08),A
89D2 LD C,A
89D3 LD A,(IX+$09)
89D6 NEG
89D8 LD (IX+$09),A
89DB LD DE,$3434
89DE AND C
89DF JP NZ,STEP_ACTOR
89E2 LD (IX+$08),$01
89E6 LD (IX+$09),$01
89EA JP STEP_ACTOR
Prev: 897D Up: Map Next: 89ED