![]() |
Routines |
| Prev: 605B | Up: Map | Next: 6091 |
|
Used by the routine at HandlerCup.
Prints the four lines of the message shown when all eight cups have been collected. It sets up the shadow registers, as GameMenu does, and then reuses the printing loop at GameMenu_Loop.
|
||||||||
| DisplayCongratsMessaging | 607D | LD A,$50 | Write the X position of the message text, 50 to Temp_Text_Pos_X. | |||||
| 607F | LD ($5E48),A | |||||||
| 6082 | LD DE,$6091 | Point DE at the table of line colours (CongratsMessaging_Attributes). | ||||||
| 6085 | EXX | Switch to the shadow registers. | ||||||
| 6086 | LD HL,$6095 | Point HL' at the table of line Y positions (CongratsMessaging_Position). | ||||||
| 6089 | LD DE,$6099 | Point DE' at the congratulations text (Message_Congrats). | ||||||
| 608C | LD B,$04 | Set the line counter to 04 one for each line of the message. | ||||||
| 608E | JP GameMenu_Loop | Jump to GameMenu_Loop to print the lines of the message. | ||||||
| Prev: 605B | Up: Map | Next: 6091 |