![]() |
Routines |
| Prev: 51695 | Up: Map | Next: 51755 |
|
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 | 51739 | AND A | Jump to FlashChosenLine_NoFlash if the line is not the first. | |||||||||
| 51740 | JR NZ,FlashChosenLine_NoFlash | |||||||||||
| FlashChosenLine_Flash | 51742 | SET 7,(HL) | Set bit 7 of the attribute. | |||||||||
| 51744 | JR FlashChosenLine_Skip | Jump to FlashChosenLine_Skip. | ||||||||||
| FlashChosenLine_Next | 51746 | DEC A | Jump to FlashChosenLine_Flash if this is the line. | |||||||||
| 51747 | JR Z,FlashChosenLine_Flash | |||||||||||
| FlashChosenLine_NoFlash | 51749 | RES 7,(HL) | Reset bit 7 of the attribute. | |||||||||
| FlashChosenLine_Skip | 51751 | INC HL | Move on to the next line. | |||||||||
| 51752 | DJNZ FlashChosenLine_Next | Jump to FlashChosenLine_Next until all of the lines have been done. | ||||||||||
| 51754 | RET | Return. | ||||||||||
| Prev: 51695 | Up: Map | Next: 51755 |