0077012f |
If difficulty < SA goto 2f |
000004 |
Go to next 04 |
00022f |
Label 2f |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000204 |
Label 04 |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
0063f6032f |
If object 03 (TV screen) activated by player goto 2f |
000104 |
Go to first 04 |
00022f |
Label 2f |
0074010b |
If objective #2 is failed goto 0b |
00a3000400000109 |
If flag #19 (Objective complete: Start security maintenance cycle) is true goto 09 |
00a3200000000109 |
If flag #30 (routine cleaning cycle active) is true goto 09 |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e10 |
Display text in bottom left for player: Maintenance robots reprogrammed.
|
00a100000400 |
Set flag #11 (maintenance bot has program) |
00a300000200012f |
If flag #10 (maintenance bot active) is true goto 2f |
000104 |
Go to first 04 |
00022f |
Label 2f |
0003 |
Yield |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e13 |
Display text in bottom left for player: Routine cleaning cycle activated.
|
00a120000000 |
Set flag #30 (routine cleaning cycle active) |
00b6 |
Reset and start cycle counter |
000208 |
Label 08 |
0003 |
Yield |
00bd00012c06 |
If cycle counter > 300 (5.0 secs) goto 06 |
000108 |
Go to first 08 |
000206 |
Label 06 |
000104 |
Go to first 04 |
000209 |
Label 09 |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e14 |
Display text in bottom left for player: Operation not allowed - robots busy.
|
00b6 |
Reset and start cycle counter |
00020a |
Label 0a |
0003 |
Yield |
00bd00007806 |
If cycle counter > 120 (2.0 secs) goto 06 |
00010a |
Go to first 0a |
000206 |
Label 06 |
000104 |
Go to first 04 |
00020b |
Label 0b |
00cbf61e17 |
Display text in bottom left for player: Maintenance robot system offline.
|
000104 |
Go to first 04 |
0004 |
End of function |
SA/PA only:
Wait for terminal to be activated
If objective is failed, show "Maintenance robot system offline"
If objective is completed, show "Operation not allowed - robots busy"
If bot is on routine cleaning cycle, show "Operation not allowed - robots busy"
Else:
- Show "Maintenance robots reprogrammed" and set flag 11 (reprogrammed)
- If bot is currently active, show "Routine cleaning cycle activated" and set flag 30 (routine cleaning active)