Routines |
Prev: D065 | Up: Map | Next: D09B |
Creature has been hit by Maroc's missile/bolt/weapon, or wraith has collided with Maroc when he is protected by WRAITHBANE.
|
||||
D07C | LD A,($EB4E) | Creature properties byte | ||
D07F | AND %00000111 | Filter out bits 3-7 (animations, frames etc.) | ||
D081 | OR %00100101 | Set bits:
|
||
D083 | LD ($EB4E),A | ...and re-store | ||
D086 | LD A,$01 | Set graphic frame offset to 1 (no offset) | ||
D088 | LD ($EB50),A | |||
D08B | LD A,$62 | Address pointer number to disintegration effect graphics (9885) | ||
D08D | CALL $E0C2 | Set up graphics | ||
Continued from above (disintegrating creature), and also from D074 - 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.
|
||||
D090 | LD A,$00 | |||
D092 | LD ($EB4C),A | Set horizontal movement speed/direction to 0 | ||
D095 | LD ($EB4D),A | Set vertical movement speed/direction to 0 | ||
D098 | JP $D27D |
Prev: D065 | Up: Map | Next: D09B |