![]() |
Routines |
| Prev: 818A | Up: Map | Next: 81BB |
|
Used by the routine at GameMenu.
|
||||
| MenuWriteText | 81AB | PUSH HL | Stash HL containing the co-ordinate on the stack. | |
| 81AC | CALL ScreenAddress | Call ScreenAddress. | ||
| 81AF | LD A,($5E66) | A=the menu attribute byte from Current_MenuAttr. | ||
| 81B2 | EX AF,AF' | Switch to the shadow AF register. | ||
| 81B3 | EXX | Switch to the shadow registers. | ||
| 81B4 | POP HL | Restore HL from the stack. | ||
| 81B5 | CALL AttributeAddress | Call AttributeAddress. | ||
| 81B8 | JP PrintString_Loop | Jump to PrintString_Loop. | ||
|
View the equivalent code in;
|
||||
| Prev: 818A | Up: Map | Next: 81BB |