Routines |
Prev: E049 | Up: Map | Next: E067 |
Used by the routine at D8C0.
|
||||
E04F | LD HL,($A081) | Set HL to the address pointer for the enemy animation definition | ||
E052 | LD DE,$000C | Points to the address poiner for the next enemy animation | ||
E055 | ADD HL,DE | |||
E056 | LD ($A081),HL | Save the new address pointer to A081 | ||
E059 | LD A,($A07F) | Increment the animation frame number | ||
E05C | INC A | |||
E05D | CP $08 | Is animation frame number $08? | ||
E05F | JP NZ,$E063 | Jump in not | ||
E062 | XOR A | Reset animation frame number | ||
E063 | LD ($A07F),A | Save the new animation frame number to A07F | ||
E066 | RET |
Prev: E049 | Up: Map | Next: E067 |