Routines |
Prev: 53349 | Up: Map | Next: 53403 |
Creature has been hit by Maroc's missile/bolt/weapon, or wraith has collided with Maroc when he is protected by WRAITHBANE.
|
||||
53372 | LD A,(60238) | Creature properties byte | ||
53375 | AND %00000111 | Filter out bits 3-7 (animations, frames etc.) | ||
53377 | OR %00100101 | Set bits:
|
||
53379 | LD (60238),A | ...and re-store | ||
53382 | LD A,1 | Set graphic frame offset to 1 (no offset) | ||
53384 | LD (60240),A | |||
53387 | LD A,98 | Address pointer number to disintegration effect graphics (39045) | ||
53389 | CALL 57538 | Set up graphics | ||
Continued from above (disintegrating creature), and also from 53364 - if a creature has reached Maroc's position, it will stop moving and continue to drain his energy.
If it's a wraith that and it's been destroyed by Maroc's WRAITHBANE, the disintegration graphic is animated but does not move.
|
||||
53392 | LD A,0 | |||
53394 | LD (60236),A | Set horizontal movement speed/direction to 0 | ||
53397 | LD (60237),A | Set vertical movement speed/direction to 0 | ||
53400 | JP 53885 |
Prev: 53349 | Up: Map | Next: 53403 |