Routines |
Prev: E7C2 | Up: Map | Next: E7FD |
The spell's icon is set to flash when a spell has been cast and 'in effect', e.g. MOVE, SERVANT, MISSILE. The flash effect isn't needed for instant effect spells like ENERGIZE.
Set the top right of the screen scroll screen display attributes to FLASH (2 x 2 character square)
|
||||
E7ED | LD HL,$5A57 | Screen display attribute address - top right of scroll, top left of 2x2 square | ||
E7F0 | LD (HL),$B0 | Attribute value for INK 0, PAPER 6 (yellow), FLASH 1 | ||
E7F2 | INC HL | Move right one square | ||
E7F3 | LD (HL),$B0 | Set square to FLASH | ||
E7F5 | LD HL,$5A77 | Screen display attribute address - bottom left of 2x2 square | ||
E7F8 | LD (HL),$B0 | Set square to FLASH | ||
E7FA | INC HL | Move right one square | ||
E7FB | LD (HL),$B0 | Set square to FLASH |
Prev: E7C2 | Up: Map | Next: E7FD |