Prev: 5E90 Up: Map Next: 5F48
5EBA: Show Briefing One
Used by the routine at Dispatch_Briefing.
Briefing selected by Dispatch_Briefing when the argument is 01.
Briefing One
briefing-one
Draw the bonus box if *Status_Value is set.
Show_Briefing_One 5EBA LD A,($EF84) Jump to Briefing_One_Scene if *Status_Value is zero.
5EBD AND A
5EBE JR Z,Briefing_One_Scene
5EC0 LD HL,$440C Set the first corner's Y coordinate to 44 and the X coordinate to 0C.
5EC3 LD DE,$6CAC Set the second corner's Y coordinate to 6C and the X coordinate to AC.
5EC6 LD A,$44 Set the line colour to INK: GREEN, PAPER: BLACK (BRIGHT) .
5EC8 CALL Draw_Briefing_Box Call Draw_Briefing_Box.
Place the letter.
Briefing_One_Scene 5ECB LD HL,$00C2 Write C2 to *Position_X.
5ECE LD ($EE20),HL
5ED1 LD HL,$001A Write 1A to *Position_Y.
5ED4 LD ($EE22),HL
5ED7 LD A,$44 Write 44 to *Model_Letter.
5ED9 LD ($E1F7),A
5EDC CALL Place_Letter Call Place_Letter.
Draw the planet.
5EDF LD A,$44 Set the line colour to INK: GREEN, PAPER: BLACK (BRIGHT) .
5EE1 LD IX,$5FD8 Point IX at Planet_Edges.
5EE5 LD IY,$6027 Point IY at Planet_Vertices.
5EE9 CALL Draw_Briefing_Lines Call Draw_Briefing_Lines.
5EEC CALL Wait_Briefing_Frame Call Wait_Briefing_Frame.
Prints "APPROACHING ENEMY BASE" to the screen.
5EEF LD HL,$606D Point HL at Messaging_Approaching_Enemy_Base.
5EF2 LD DE,$4021 Point DE at 4021 (screen buffer).
5EF5 LD C,$16 Set the character counter to 16 in C.
5EF7 LD A,$43 Set the attribute to INK: MAGENTA, PAPER: BLACK (BRIGHT) .
5EF9 CALL Print_Briefing_Line Call Print_Briefing_Line.
Prints "INITIATING ATTACK" to the screen.
5EFC LD HL,$6083 Point HL at Messaging_Initiating_Attack.
5EFF LD DE,$4083 Point DE at 4083 (screen buffer).
5F02 LD C,$11 Set the character counter to 11 in C.
5F04 LD A,$47 Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) .
5F06 CALL Print_Briefing_Line Call Print_Briefing_Line.
Prints "RUN" to the screen.
5F09 LD HL,$6094 Point HL at Messaging_Run.
5F0C LD DE,$40CA Point DE at 40CA (screen buffer).
5F0F LD C,$03 Set the character counter to 03 in C.
5F11 LD A,$47 Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) .
5F13 CALL Print_Briefing_Line Call Print_Briefing_Line.
Print the bonus text if *Status_Value is set.
5F16 LD A,($EF84) Return if *Status_Value is zero.
5F19 AND A
5F1A RET Z
Prints "SHOOT TOWER-TOPS" to the screen.
5F1B LD HL,$6097 Point HL at Messaging_Shoot_Tower_Tops.
5F1E LD DE,$4822 Point DE at 4822 (screen buffer).
5F21 LD C,$13 Set the character counter to 13 in C.
5F23 LD A,$46 Set the attribute to INK: YELLOW, PAPER: BLACK (BRIGHT) .
5F25 CALL Print_Briefing_Line Call Print_Briefing_Line.
Prints "FOR EXTRA BONUS" to the screen.
5F28 LD HL,$60AA Point HL at Messaging_For_Extra_Bonus.
5F2B LD DE,$4864 Point DE at 4864 (screen buffer).
5F2E LD C,$0F Set the character counter to 0F in C.
5F30 LD A,$46 Set the attribute to INK: YELLOW, PAPER: BLACK (BRIGHT) .
5F32 CALL Print_Briefing_Line Call Print_Briefing_Line.
5F35 LD HL,$4242 Write INK: RED, PAPER: BLACK (BRIGHT) to two cells at 5928 (attribute buffer) and 5948 (attribute buffer).
5F38 LD ($5928),HL
5F3B LD ($5948),HL
5F3E LD A,($EF84) Fetch *Status_Value.
5F41 LD DE,$4828 Point DE at 4828 (screen buffer).
5F44 CALL Move_Slot_Table_49 Call Move_Slot_Table_49.
5F47 RET Return.
Prev: 5E90 Up: Map Next: 5F48