![]() |
Routines |
| Prev: 24208 | Up: Map | Next: 24392 |
|
Used by the routine at Dispatch_Briefing.
Briefing selected by Dispatch_Briefing when the argument is 1.
|
||||||
|
Draw the bonus box if *Status_Value is set.
|
||||||
| Show_Briefing_One | 24250 | LD A,(61316) | Jump to Briefing_One_Scene if *Status_Value is zero. | |||
| 24253 | AND A | |||||
| 24254 | JR Z,Briefing_One_Scene | |||||
| 24256 | LD HL,17420 | Set the first corner's Y coordinate to 68 and the X coordinate to 12. | ||||
| 24259 | LD DE,27820 | Set the second corner's Y coordinate to 108 and the X coordinate to 172. | ||||
| 24262 | LD A,68 | Set the line colour to INK: GREEN, PAPER: BLACK (BRIGHT) . | ||||
| 24264 | CALL Draw_Briefing_Box | Call Draw_Briefing_Box. | ||||
|
Place the letter.
|
||||||
| Briefing_One_Scene | 24267 | LD HL,194 | Write 194 to *Position_X. | |||
| 24270 | LD (60960),HL | |||||
| 24273 | LD HL,26 | Write 26 to *Position_Y. | ||||
| 24276 | LD (60962),HL | |||||
| 24279 | LD A,68 | Write 68 to *Model_Letter. | ||||
| 24281 | LD (57847),A | |||||
| 24284 | CALL Place_Letter | Call Place_Letter. | ||||
|
Draw the planet.
|
||||||
| 24287 | LD A,68 | Set the line colour to INK: GREEN, PAPER: BLACK (BRIGHT) . | ||||
| 24289 | LD IX,24536 | Point IX at Planet_Edges. | ||||
| 24293 | LD IY,24615 | Point IY at Planet_Vertices. | ||||
| 24297 | CALL Draw_Briefing_Lines | Call Draw_Briefing_Lines. | ||||
| 24300 | CALL Wait_Briefing_Frame | Call Wait_Briefing_Frame. | ||||
|
Prints "APPROACHING ENEMY BASE" to the screen.
|
||||||
| 24303 | LD HL,24685 | Point HL at Messaging_Approaching_Enemy_Base. | ||||
| 24306 | LD DE,16417 | Point DE at 16417 (screen buffer). | ||||
| 24309 | LD C,22 | Set the character counter to 22 in C. | ||||
| 24311 | LD A,67 | Set the attribute to INK: MAGENTA, PAPER: BLACK (BRIGHT) . | ||||
| 24313 | CALL Print_Briefing_Line | Call Print_Briefing_Line. | ||||
|
Prints "INITIATING ATTACK" to the screen.
|
||||||
| 24316 | LD HL,24707 | Point HL at Messaging_Initiating_Attack. | ||||
| 24319 | LD DE,16515 | Point DE at 16515 (screen buffer). | ||||
| 24322 | LD C,17 | Set the character counter to 17 in C. | ||||
| 24324 | LD A,71 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) . | ||||
| 24326 | CALL Print_Briefing_Line | Call Print_Briefing_Line. | ||||
|
Prints "RUN" to the screen.
|
||||||
| 24329 | LD HL,24724 | Point HL at Messaging_Run. | ||||
| 24332 | LD DE,16586 | Point DE at 16586 (screen buffer). | ||||
| 24335 | LD C,3 | Set the character counter to 3 in C. | ||||
| 24337 | LD A,71 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) . | ||||
| 24339 | CALL Print_Briefing_Line | Call Print_Briefing_Line. | ||||
|
Print the bonus text if *Status_Value is set.
|
||||||
| 24342 | LD A,(61316) | Return if *Status_Value is zero. | ||||
| 24345 | AND A | |||||
| 24346 | RET Z | |||||
|
Prints "SHOOT TOWER-TOPS" to the screen.
|
||||||
| 24347 | LD HL,24727 | Point HL at Messaging_Shoot_Tower_Tops. | ||||
| 24350 | LD DE,18466 | Point DE at 18466 (screen buffer). | ||||
| 24353 | LD C,19 | Set the character counter to 19 in C. | ||||
| 24355 | LD A,70 | Set the attribute to INK: YELLOW, PAPER: BLACK (BRIGHT) . | ||||
| 24357 | CALL Print_Briefing_Line | Call Print_Briefing_Line. | ||||
|
Prints "FOR EXTRA BONUS" to the screen.
|
||||||
| 24360 | LD HL,24746 | Point HL at Messaging_For_Extra_Bonus. | ||||
| 24363 | LD DE,18532 | Point DE at 18532 (screen buffer). | ||||
| 24366 | LD C,15 | Set the character counter to 15 in C. | ||||
| 24368 | LD A,70 | Set the attribute to INK: YELLOW, PAPER: BLACK (BRIGHT) . | ||||
| 24370 | CALL Print_Briefing_Line | Call Print_Briefing_Line. | ||||
| 24373 | LD HL,16962 | Write INK: RED, PAPER: BLACK (BRIGHT) to two cells at 22824 (attribute buffer) and 22856 (attribute buffer). | ||||
| 24376 | LD (22824),HL | |||||
| 24379 | LD (22856),HL | |||||
| 24382 | LD A,(61316) | Fetch *Status_Value. | ||||
| 24385 | LD DE,18472 | Point DE at 18472 (screen buffer). | ||||
| 24388 | CALL Move_Slot_Table_49 | Call Move_Slot_Table_49. | ||||
| 24391 | RET | Return. | ||||
| Prev: 24208 | Up: Map | Next: 24392 |