![]() |
Routines |
| Prev: 47944 | Up: Map | Next: 47988 |
|
Used by the routine at FlashMenuOptions.
Sets bit 7 of the attribute of one line of text in a list of lines, and resets it for the other lines.
|
||||||||||||
|
Flash one line and steady the rest.
|
||||||||||||
| SetFlashingAttribute | 47972 | AND A | Jump to SetFlashingAttribute_Steady if the line is not the first. | |||||||||
| 47973 | JR NZ,SetFlashingAttribute_Steady | |||||||||||
| SetFlashingAttribute_Flash | 47975 | SET 7,(HL) | Set bit 7 of the attribute. | |||||||||
| 47977 | JR SetFlashingAttribute_Loop | Jump to SetFlashingAttribute_Loop. | ||||||||||
| SetFlashingAttribute_Next | 47979 | DEC A | Jump to SetFlashingAttribute_Flash if this is the line. | |||||||||
| 47980 | JR Z,SetFlashingAttribute_Flash | |||||||||||
| SetFlashingAttribute_Steady | 47982 | RES 7,(HL) | Reset bit 7 of the attribute. | |||||||||
| SetFlashingAttribute_Loop | 47984 | INC HL | Move on to the next line. | |||||||||
| 47985 | DJNZ SetFlashingAttribute_Next | Jump to SetFlashingAttribute_Next until all of the lines have been done. | ||||||||||
| 47987 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: 47944 | Up: Map | Next: 47988 |