00070410 |
When shot/hit, assign function 0410 - Clothes guy |
0033fd06 |
If $self is dying/dead goto 06 |
0034fd06 |
If $self has finished death animation goto 06 |
017bfd06 |
If $self's body has disappeared goto 06 |
00002d |
Go to next 2d |
000206 |
Label 06 |
00070000 |
When shot/hit, assign function 0000 - Idle |
00a100020000 |
Set flag #18 (clothes guy dead) |
00b6 |
Reset and start cycle counter |
000254 |
Label 54 |
0003 |
Yield |
00bd00000f06 |
If cycle counter > 15 (0.2 secs) goto 06 |
000154 |
Go to first 54 |
000206 |
Label 06 |
0130f819ff03ff000000 |
Say random quip: "You bitch!","Oh... my... god","She got me" |
00070000 |
When shot/hit, assign function 0000 - Idle |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
00022d |
Label 2d |
0083fd06 |
If $self shot (while recoiling?) goto 06 |
00002d |
Go to next 2d |
000206 |
Label 06 |
00b6 |
Reset and start cycle counter |
000255 |
Label 55 |
0003 |
Yield |
009d00000020010006 |
If actor flag is something, goto 06 |
007d0106 |
If actor shot less than 1 times goto 06 |
00bc00001406 |
If cycle counter < 20 (0.3 secs) goto 06 |
0130f80d280300000000 |
Say random quip: "Medic!","Help!","You shot me?!" |
0130f80e280301000000 |
Say random quip: "I'm hit, I'm hit!","I'm taking fire!","Taking damage!" |
009b0000002000 |
Set an actor flag |
000206 |
Label 06 |
003258 |
If actor has stopped moving goto 58 |
000155 |
Go to first 55 |
00022d |
Label 2d |
0009 |
Actor stops travelling |
000204 |
Label 04 |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
00352d |
If $player in sight goto 2d |
0052003203 |
If actor is within 50 units of $player goto 03 |
000104 |
Go to first 04 |
00022d |
Label 2d |
000203 |
Label 03 |
009d00002000010056 |
If actor flag is something, goto 56 |
00b6 |
Reset and start cycle counter |
000208 |
Label 08 |
00180200000009 |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 09 |
000209 |
Label 09 |
0003 |
Yield |
004d0a06 |
If actor is facing player within 10 degrees (?) goto 06 |
00bd00003c06 |
If cycle counter > 60 (1.0 secs) goto 06 |
000109 |
Go to first 09 |
000206 |
Label 06 |
00b554414c4b20310a00 |
// TALK 1 |
00cdf62a251b2d0408 |
Display text and play a sound in channel 4 for player: Who are you?
|
00b6 |
Reset and start cycle counter |
00180200000064 |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 64 |
000264 |
Label 64 |
0003 |
Yield |
00bc0000782d |
If cycle counter < 120 (2.0 secs) goto 2d |
0060f6002d |
If player player has weapon Nothing equipped goto 2d |
0060f6012d |
If player player has weapon Unarmed equipped goto 2d |
004a53 |
If something (actor in view?) goto 53 |
00022d |
Label 2d |
005df6000d |
If player player has object 00 (lab clothes) goto 0d |
005df63e0d |
If player player has object 3e (lab clothes) goto 0d |
005df63f0d |
If player player has object 3f (lab clothes) goto 0d |
005df6400d |
If player player has object 40 (lab clothes) goto 0d |
005df6410d |
If player player has object 41 (lab clothes) goto 0d |
000164 |
Go to first 64 |
00020d |
Label 0d |
00cdf62a261b2e0408 |
Display text and play a sound in channel 4 for player: Hey - you've got my clothes.
|
00b6 |
Reset and start cycle counter |
00020e |
Label 0e |
0003 |
Yield |
0060f6002d |
If player player has weapon Nothing equipped goto 2d |
0060f6012d |
If player player has weapon Unarmed equipped goto 2d |
000053 |
Go to next 53 |
00022d |
Label 2d |
00bd0000b406 |
If cycle counter > 180 (3.0 secs) goto 06 |
00010e |
Go to first 0e |
000206 |
Label 06 |
00cdf62a2b1b320408 |
Display text and play a sound in channel 4 for player: Give me back my clothes - or else!
|
00b6 |
Reset and start cycle counter |
00020f |
Label 0f |
0003 |
Yield |
0060f6002d |
If player player has weapon Nothing equipped goto 2d |
0060f6012d |
If player player has weapon Unarmed equipped goto 2d |
000053 |
Go to next 53 |
00022d |
Label 2d |
00bd0000c856 |
If cycle counter > 200 (3.3 secs) goto 56 |
00010f |
Go to first 0f |
000256 |
Label 56 |
005bf20000aa2d |
If P1 or P2 is in room/pad aa goto 2d |
005bf20000a92d |
If P1 or P2 is in room/pad a9 goto 2d |
005bf20000b42d |
If P1 or P2 is in room/pad b4 goto 2d |
005bf20000b52d |
If P1 or P2 is in room/pad b5 goto 2d |
005bf20000b62d |
If P1 or P2 is in room/pad b6 goto 2d |
005bf20000be2d |
If P1 or P2 is in room/pad be goto 2d |
005bf20000b72d |
If P1 or P2 is in room/pad b7 goto 2d |
005bf20000b82d |
If P1 or P2 is in room/pad b8 goto 2d |
005bf20000b32d |
If P1 or P2 is in room/pad b3 goto 2d |
005bf200009b2d |
If P1 or P2 is in room/pad 9b goto 2d |
005bf20000ae2d |
If P1 or P2 is in room/pad ae goto 2d |
005bf20000af2d |
If P1 or P2 is in room/pad af goto 2d |
005bf20000b02d |
If P1 or P2 is in room/pad b0 goto 2d |
005bf20000b12d |
If P1 or P2 is in room/pad b1 goto 2d |
005bf20000b22d |
If P1 or P2 is in room/pad b2 goto 2d |
005bf20000bc2d |
If P1 or P2 is in room/pad bc goto 2d |
005bf20000ab2d |
If P1 or P2 is in room/pad ab goto 2d |
005bf20000bb2d |
If P1 or P2 is in room/pad bb goto 2d |
005bf20000ba2d |
If P1 or P2 is in room/pad ba goto 2d |
005bf20000b92d |
If P1 or P2 is in room/pad b9 goto 2d |
005bf20000ac2d |
If P1 or P2 is in room/pad ac goto 2d |
005bf20000ad2d |
If P1 or P2 is in room/pad ad goto 2d |
000058 |
Go to next 58 |
00022d |
Label 2d |
0060f6002d |
If player player has weapon Nothing equipped goto 2d |
0060f6012d |
If player player has weapon Unarmed equipped goto 2d |
000053 |
Go to next 53 |
00022d |
Label 2d |
009d0000200001002d |
If actor flag is something, goto 2d |
00cdf62a2c1b330408 |
Display text and play a sound in channel 4 for player: Right - you've asked for it!
|
009b0000200000 |
Set an actor flag |
000006 |
Go to next 06 |
00022d |
Label 2d |
0036 |
Call RNG |
00381906 |
If random byte > 25 goto 06 |
00cdf62a2d1b340408 |
Display text and play a sound in channel 4 for player: Give me my clothes.
|
000206 |
Label 06 |
002d6f |
Run to Jo, then goto 6f |
00b6 |
Reset and start cycle counter |
00026f |
Label 6f |
0003 |
Yield |
005200282d |
If actor is within 40 units of $player goto 2d |
00bd00025806 |
If cycle counter > 600 (10.0 secs) goto 06 |
003206 |
If actor has stopped moving goto 06 |
00016f |
Go to first 6f |
00022d |
Label 2d |
0006fd0410 |
Set return function for $self to function 0410 - Clothes guy |
0005fd000f |
Assign function 000f - Hand combat to $self and advance frame |
000206 |
Label 06 |
000156 |
Go to first 56 |
000258 |
Label 58 |
000006 |
Go to next 06 |
000253 |
Label 53 |
000b02020000ffff1010fd02 |
Actor $self does animation 0202 (arms to side up a little, walk back) |
00b554414c4b20310a00 |
// TALK 1 |
00cdf62a2981560408 |
Display text and play a sound in channel 4 for player: Oh, my God - a gun!
|
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 |
00b6 |
Reset and start cycle counter |
00cdf62a271b2f0408 |
Display text and play a sound in channel 4 for player: Help - help!
|
013a000006 |
Attempt to target another member of our group. On success goto 06 |
00200121 |
Run to pad 0121 |
000210 |
Label 10 |
0003 |
Yield |
003261 |
If actor has stopped moving goto 61 |
000110 |
Go to first 10 |
000206 |
Label 06 |
0031fc0b |
Run to $self->target_actor, then goto 0b |
00020b |
Label 0b |
0003 |
Yield |
0045fc61 |
If actor $self has detected $self->target_actor goto 61 |
00010b |
Go to first 0b |
000261 |
Label 61 |
00cdf62a2a1b310408 |
Display text and play a sound in channel 4 for player: There's an intruder in the complex.
|
00a100010000 |
Set flag #17 (Objective failed: Obtain and use lab technician disguise) |
013164 |
For all actors in the same group, set their alertness to 100 |
0009 |
Actor stops travelling |
00020c |
Label 0c |
0003 |
Yield |
00010c |
Go to first 0c |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.