![]() |
Routines |
| Prev: AD6F | Up: Map | Next: ADA1 |
|
Used by the routines at Update_Berk_State and Handle_Berk_Action.
Blank the attribute cells behind the status / menu message area so the next printed line starts on a clean strip.
|
||||
| Clear_Messaging_Attributes | AD98 | LD BC,$0000 | Clear BC (zero length/offset). | |
|
Busy-wait the messaging-attribute clear countdown down to zero.
|
||||
| Clear_Messaging_Attributes_Countdown | AD9B | DEC BC | Step the length/counter in BC back by one. | |
| AD9C | LD A,B | Copy the loop counter from B into A. | ||
| AD9D | OR C | OR C into A to test whether BC has reached zero. | ||
| AD9E | JR NZ,Clear_Messaging_Attributes_Countdown | If the result was non-zero, jump to Clear_Messaging_Attributes_Countdown. | ||
| ADA0 | RET | Return. | ||
| Prev: AD6F | Up: Map | Next: ADA1 |