Defense


00b6 Reset and start cycle counter
000203 Label 03
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
00a302000000012e If flag #26 (intro cinema complete) is true goto 2e
000103 Go to first 03
00022e Label 2e
0003 Yield
000208 Label 08
00b6 Reset and start cycle counter
00020a Label 0a
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00770108 If difficulty < SA goto 08
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
00010a Go to first 0a
000208 Label 08
00b6 Reset and start cycle counter
0077010d If difficulty < SA goto 0d
00cdf8221481930606 Display text and play a sound in channel 6 for Joanna:
Joanna - we're under attack.
00020b Label 0b
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
00010b Go to first 0b
000208 Label 08
00cdf8221581940606 Display text and play a sound in channel 6 for Joanna:
Get the guns back on line - hurry.
00020c Label 0c
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b40d If cycle counter > 180 (3.0 secs) goto 0d
00010c Go to first 0c
00020d Label 0d
0003 Yield
00a108000000 Set flag #28 (carrington said autoguns)
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00770108 If difficulty < SA goto 08
00730008 If objective #1 is complete goto 08
00010d Go to first 0d
000208 Label 08
00a70000000010 Set property for actor 00 (Carrington): 1:00000010 (invincible)
00a70000000400 Set property for actor 00 (Carrington): 1:00000400 (hidden)
00712304 Unlock door 23 (dD door) with value 4
00712404 Unlock door 24 (dD door) with value 4
00b6 Reset and start cycle counter
0002bd Label bd
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b4da If cycle counter > 180 (3.0 secs) goto da
0001bd Go to first bd
0002da Label da
00b6 Reset and start cycle counter
00cdf8221681950606 Display text and play a sound in channel 6 for Joanna:
The Skedar have taken hostages.
00020e Label 0e
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
00010e Go to first 0e
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221781960606 Display text and play a sound in channel 6 for Joanna:
Get up to the offices and save them.
00020f Label 0f
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b410 If cycle counter > 180 (3.0 secs) goto 10
00010f Go to first 0f
000210 Label 10
00a110000000 Set flag #29 (carrington said hostages)
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00730108 If objective #2 is complete goto 08
000110 Go to first 10
000208 Label 08
00b6 Reset and start cycle counter
0002be Label be
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd00012c08 If cycle counter > 300 (5.0 secs) goto 08
0001be Go to first be
000208 Label 08
01380608 If sound in channel 6 is finished goto 08
0001be Go to first be
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221881970606 Display text and play a sound in channel 6 for Joanna:
They're using a new form of shield technology.
000211 Label 11
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
000111 Go to first 11
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221981980606 Display text and play a sound in channel 6 for Joanna:
Foster was working on a new weapon which may be useful.
000212 Label 12
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b4bf If cycle counter > 180 (3.0 secs) goto bf
000112 Go to first 12
0002bf Label bf
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00730208 If objective #3 is complete goto 08
0001bf Go to first bf
000208 Label 08
007702db If difficulty < PA goto db
00b6 Reset and start cycle counter
0002c0 Label c0
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
0001c0 Go to first c0
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221a81990606 Display text and play a sound in channel 6 for Joanna:
Damn it. My office... If they get access...
0002c1 Label c1
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000f008 If cycle counter > 240 (4.0 secs) goto 08
0001c1 Go to first c1
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221b819a0606 Display text and play a sound in channel 6 for Joanna:
Get there first, Jo, and destroy the files.
0002c2 Label c2
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b4c3 If cycle counter > 180 (3.0 secs) goto c3
0001c2 Go to first c2
0002c3 Label c3
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00730308 If objective #4 is complete goto 08
0001c3 Go to first c3
000208 Label 08
0002db Label db
000271 Label 71
0003 Yield
005bf80000452e If Joanna is in room/pad 45 goto 2e
005bf80000472e If Joanna is in room/pad 47 goto 2e
005bf800004d2e If Joanna is in room/pad 4d goto 2e
005bf80000552e If Joanna is in room/pad 55 goto 2e
005bf80000462e If Joanna is in room/pad 46 goto 2e
0034f5e5 If Velvet has finished death animation goto e5
005bf50000452e If Velvet is in room/pad 45 goto 2e
005bf50000472e If Velvet is in room/pad 47 goto 2e
005bf500004d2e If Velvet is in room/pad 4d goto 2e
005bf50000552e If Velvet is in room/pad 55 goto 2e
005bf50000462e If Velvet is in room/pad 46 goto 2e
0002e5 Label e5
0034f4e5 If counter op has finished death animation goto e5
005bf40000452e If counter op is in room/pad 45 goto 2e
005bf40000472e If counter op is in room/pad 47 goto 2e
005bf400004d2e If counter op is in room/pad 4d goto 2e
005bf40000552e If counter op is in room/pad 55 goto 2e
005bf40000462e If counter op is in room/pad 46 goto 2e
0002e5 Label e5
000008 Go to next 08
00022e Label 2e
000171 Go to first 71
000208 Label 08
00b6 Reset and start cycle counter
0002c4 Label c4
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
0001c4 Go to first c4
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221c819b0606 Display text and play a sound in channel 6 for Joanna:
Things are desperate. They've planted a bomb.
0002c5 Label c5
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
0001c5 Go to first c5
000208 Label 08
00b6 Reset and start cycle counter
00cdf8221d819c0606 Display text and play a sound in channel 6 for Joanna:
Find it and get it out of the building.
0002c6 Label c6
0003 Yield
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
0001c6 Go to first c6
000208 Label 08
00f9010a78 Play X music in channel 1 for 120 seconds
00c00078 Set countdown timer to 120 seconds
00be Show countdown timer
00c2 Start countdown timer
0002c7 Label c7
0003 Yield
00a301000000012e If flag #25 (virus uploaded) is true goto 2e
00c4000108 If countdown timer < 1 goto 08
0001c7 Go to first c7
000208 Label 08
00a100800000 Set flag #24 (Objective failed: Deactivate bomb)
00bf Hide countdown timer
00022e Label 2e
00b6 Reset and start cycle counter
0002c8 Label c8
0003 Yield
00bd00012c2e If cycle counter > 300 (5.0 secs) goto 2e
0001c8 Go to first c8
00022e Label 2e
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00b6 Reset and start cycle counter
00cdf82220819d0606 Display text and play a sound in channel 6 for Joanna:
Well done, Joanna. We're nearly clear...
0002c9 Label c9
0003 Yield
00bd0000b408 If cycle counter > 180 (3.0 secs) goto 08
0001c9 Go to first c9
000208 Label 08
003300d9 If actor 00 (Carrington) is dying/dead goto d9
0033f805 If Joanna is dying/dead goto 05
000006 Go to next 06
000205 Label 05
0034f5d9 If Velvet has finished death animation goto d9
000206 Label 06
00cdf82221819e0606 Display text and play a sound in channel 6 for Joanna:
The last dropship is waiting for you. Hurry.
0002ca Label ca
0003 Yield
00bd0000b4cb If cycle counter > 180 (3.0 secs) goto cb
0001ca Go to first ca
0002cb Label cb
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
00f72e If all objectives complete goto 2e
0001cb Go to first cb
00022e Label 2e
005bf20000542e If P1 or P2 is in room/pad 54 goto 2e
005bf20000532e If P1 or P2 is in room/pad 53 goto 2e
0001cb Go to first cb
00022e Label 2e
0034f82e If Joanna has finished death animation goto 2e
0033f82e If Joanna is dying/dead goto 2e
017bf82e If Joanna's body has disappeared goto 2e
000008 Go to next 08
00022e Label 2e
0034f52e If Velvet has finished death animation goto 2e
0033f52e If Velvet is dying/dead goto 2e
017bf52e If Velvet's body has disappeared goto 2e
000008 Go to next 08
00022e Label 2e
00dc If in camera mode, end level
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000208 Label 08
00f3f8 Make Joanna invincible
0005fd0418 Assign function 0418 - End cinema to $self and advance frame
0002d9 Label d9
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

  • Started automatically

Comments

Wait for flag 26
If SA or PA:
- Wait 3 seconds
- "Joanna, we're under attack"
- Wait 3 seconds
- "Get the guns back online - hurry"
- Wait 3 seconds

Set flag 28 (trigger for Jo to speak?)

If SA or PA:
- Wait for objective 0 (autoguns) to complete

Hide Carrington and set invincible
Unlock 2 doors - probably hostage doors
Wait 3 seconds
"The Skedar have taken hostages"
Wait 3 seconds
"Get up to the offices and save them"
Wait 3 seconds
Set flag 29
Wait for objective 1 (hostages) completed
Wait 5 seconds
Wait for sound in channel 6 to finish
"They're using a new form of shield technology"
Wait 3 seconds
"Foster was working on a new weapon which may be useful"
Wait 3 seconds
Wait for objective 2 (rcp120) completed

If PA:
- Wait 3 seconds
- "Damn it, my office... if they get access"
- Wait 4 seconds
- "Get there first, Jo, and destroy the files"
- Wait 3 seconds
- Wait for objective 3 (safe) completed

Wait until Joanna/Velvet/Counter op not in certain rooms (skedar shuttle area)
Wait 3 seconds
"Things are desperate"
Wait 3 seconds
"Find it and get it out of the building"
Wait 3 seconds
Start X music
Start 2 minute countdown timer
Wait for flag 25 or timer expired

If timer expired:
- Set flag 24
- Hide timer

Wait 5 seconds
"Well done Joanna, we're nearly clear"
Wait 3 seconds
"The last dropship is waiting for you"
Wait 3 seconds
Wait for all objectives complete
Wait for player to enter room
Make Jo invincible and assign function 0418 to $this