Prev: A895 Up: Map Next: A8D4
A89B: Handler: Street Introduction
Used by the routine at GameEntryPoint.
Handler_StreetIntroduction A89B CALL BlankMiddleScreenBuffer Call BlankMiddleScreenBuffer.
Print "Trashman ".
A89E LD HL,$ACFA HL=Messaging_Trashman.
A8A1 LD DE,$4840 DE=4840 (screen buffer location).
A8A4 CALL PrintString Call PrintString.
Who is in play, is it 1UP or 2UP?
A8A7 LD HL,$AB8A HL=Game_Flags.
A8AA BIT 4,(HL) Test bit 4 of *HL.
Default to using the 1UP name.
A8AC LD HL,$ACA6 HL=Name_1UP.
A8AF JR Z,StreetIntro_PrintName Jump to StreetIntro_PrintName if this is player one.
Else, use the name for 2UP.
A8B1 LD HL,$ACC7 HL=Name_2UP.
StreetIntro_PrintName A8B4 CALL PrintString Call PrintString.
A8B7 DEC DE Decrease DE by one.
Print " go and collect".
A8B8 LD HL,$AD04 HL=Messaging_GoCollect.
A8BB CALL PrintString Call PrintString.
Prints the number of bins to collect.
A8BE LD HL,($C270) HL=*String_NumberOfBins.
A8C1 LD DE,$4880 DE=4880 (screen buffer location).
A8C4 CALL PrintString Call PrintString.
Print " bins from ".
A8C7 LD HL,$AD14 HL=Messaging_BinsFrom.
A8CA CALL PrintString Call PrintString.
Print the current street name.
A8CD LD HL,$C280 HL=Messaging_RoadName.
A8D0 CALL PrintString Call PrintString.
A8D3 RET Return.
Prev: A895 Up: Map Next: A8D4