Routines |
Prev: A89B | Up: Map | Next: A944 |
Used by the routine at Handler_Fired.
|
||||
Handler_NewsFlash | A8D4 | CALL BlankMiddleScreenBuffer | Call BlankMiddleScreenBuffer. | |
A8D7 | CALL PrepareAttributeBuffer | Call PrepareAttributeBuffer. | ||
Print "NEWS FLASH".
|
||||
A8DA | LD HL,$AD20 | HL=Messaging_NewsFlash_1. | ||
A8DD | LD DE,$482B | DE=482B (screen buffer location). | ||
A8E0 | CALL PrintString | Call PrintString. | ||
A8E3 | LD HL,$484B | HL=484B (screen buffer location). | ||
A8E6 | LD B,$0A | B=0A. | ||
A8E8 | CALL Concealer | Call Concealer. | ||
Print "Trashman killed in".
|
||||
A8EB | LD HL,$AD2B | HL=Messaging_NewsFlash_2. | ||
A8EE | LD DE,$4860 | DE=4860 (screen buffer location). | ||
A8F1 | CALL PrintString | Call PrintString. | ||
Prints the current road name.
|
||||
A8F4 | LD HL,$C280 | HL=Messaging_RoadName. | ||
A8F7 | CALL PrintString | Call PrintString. | ||
Print "Nominee for TRASHMAN of the YEAR" if the score is on the scoreboard.
|
||||
A8FA | LD DE,$4880 | DE=4880 (screen buffer location). | ||
A8FD | LD HL,$AD3F | HL=Messaging_NewsFlash_3. | ||
A900 | LD A,($AB8A) | A=*Game_Flags. | ||
A903 | BIT 0,A | Call PrintString if the score is on the scoreboard. | ||
A905 | CALL NZ,PrintString | |||
Print "Fred Scrunge, (".
|
||||
A908 | LD HL,$AD60 | HL=Messaging_NewsFlash_4. | ||
A90B | CALL PrintString | Call PrintString. | ||
Default to using the 1UP name.
|
||||
A90E | LD HL,$ACA6 | HL=Name_1UP. | ||
Who is in play, is it 1UP or 2UP?
|
||||
A911 | LD A,($AB8A) | A=*Game_Flags. | ||
A914 | BIT 4,A | Jump to Handler_NewsFlash_Write if this is player one. | ||
A916 | JR Z,Handler_NewsFlash_Write | |||
Else, use the name for 2UP.
|
||||
A918 | LD HL,$ACC7 | HL=Name_2UP. | ||
Handler_NewsFlash_Write | A91B | CALL PrintString | Call PrintString. | |
Print "), leaves".
|
||||
A91E | LD HL,$AD70 | HL=Messaging_NewsFlash_5. | ||
A921 | DEC DE | Decrease DE by one. | ||
A922 | CALL PrintString | Call PrintString. | ||
Print "wife, 3 kids, and pts.".
|
||||
A925 | LD HL,$AD7A | HL=Messaging_NewsFlash_6. | ||
A928 | CALL PrintString | Call PrintString. | ||
Move DE to the correct screen position to print the points.
|
||||
A92B | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
A92C | LD DE,$FFF5 | DE=FFF5. | ||
A92F | ADD HL,DE | HL+=DE. | ||
A930 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
Print the players points.
|
||||
A931 | CALL Print_Score | Call Print_Score. | ||
A934 | CALL PressAnyKey | Call PressAnyKey. | ||
A937 | CALL BlankMiddleAttributeBuffer | Call BlankMiddleAttributeBuffer. | ||
A93A | LD A,$30 | A=30 (INK: BLACK, PAPER: YELLOW ). | ||
A93C | CALL PrepareAttributeBuffer_0 | Call PrepareAttributeBuffer_0. | ||
A93F | LD A,$06 | Set border colour to YELLOW. | ||
A941 | OUT ($FE),A | |||
A943 | RET | Return. |
Prev: A89B | Up: Map | Next: A944 |