![]() |
Routines |
| Prev: BB12 | Up: Map | Next: BB83 |
|
Used by the routine at GameMenu.
Makes the line of the menu that is selected flash, by setting bit 7 of its attribute. The other lines have it cleared.
|
||||||||||||
| SetFlashingAttribute | BB73 | AND A | Jump to make the line flash if it is the first one. | |||||||||
| BB74 | JR NZ,HighlightMenuItem_Steady | |||||||||||
| HighlightMenuItem_Flash | BB76 | SET 7,(HL) | Make the line flash... | |||||||||
| BB78 | JR HighlightMenuItem_NextLine | ...and jump to move on to the next line. | ||||||||||
| HighlightMenuItem_Next | BB7A | DEC A | Count down the lines. | |||||||||
| BB7B | JR Z,HighlightMenuItem_Flash | Jump to make the line flash if it is the one that is selected. | ||||||||||
| HighlightMenuItem_Steady | BB7D | RES 7,(HL) | Make the line steady. | |||||||||
| HighlightMenuItem_NextLine | BB7F | INC HL | Move on to the next attribute. | |||||||||
| BB80 | DJNZ HighlightMenuItem_Next | Loop back until all of the lines have been done. | ||||||||||
| BB82 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: BB12 | Up: Map | Next: BB83 |