00070422 |
When shot/hit, assign function 0422 - Flag 6 |
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 |
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 |
00005e |
Go to next 5e |
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 |
00325e |
If actor has stopped moving goto 5e |
000155 |
Go to first 55 |
00025e |
Label 5e |
0036 |
Call RNG |
00372064 |
If random byte < 32 goto 64 |
00374066 |
If random byte < 64 goto 66 |
00376068 |
If random byte < 96 goto 68 |
00378069 |
If random byte < 128 goto 69 |
0037a06a |
If random byte < 160 goto 6a |
0037c06b |
If random byte < 192 goto 6b |
0037e06c |
If random byte < 224 goto 6c |
000b0221ffffffff1001fd02 |
Actor $self does animation 0221 (point with right arm) |
000004 |
Go to next 04 |
000264 |
Label 64 |
000b0221ffffffff1001fd02 |
Actor $self does animation 0221 (point with right arm) |
000004 |
Go to next 04 |
000266 |
Label 66 |
000b0223ffffffff1001fd02 |
Actor $self does animation 0223 (right arm up, waggle for a bit) |
000004 |
Go to next 04 |
000268 |
Label 68 |
000b0221ffffffff1101fd02 |
Actor $self does animation 0221 (point with right arm) |
000004 |
Go to next 04 |
000269 |
Label 69 |
000b0221ffffffff1101fd02 |
Actor $self does animation 0221 (point with right arm) |
000004 |
Go to next 04 |
00026a |
Label 6a |
000b0223ffffffff1101fd02 |
Actor $self does animation 0223 (right arm up, waggle for a bit) |
000004 |
Go to next 04 |
00026b |
Label 6b |
000b023affffffff1101fd02 |
Actor $self does animation 023a (scratch head) |
000004 |
Go to next 04 |
00026c |
Label 6c |
000b023bffffffff1101fd02 |
Actor $self does animation 023b (roll head) |
000204 |
Label 04 |
0003 |
Yield |
000c2d |
If actor is not doing anything goto 2d |
00015e |
Go to first 5e |
00022d |
Label 2d |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
003503 |
If $player in sight goto 03 |
008e630103 |
If actor's alertness > 99 goto 03 |
0052003203 |
If actor is within 50 units of $player goto 03 |
000104 |
Go to first 04 |
000203 |
Label 03 |
011df60001000006 |
If player has property 2:00010000 (unknown prop - related to disguises) goto 06 |
011df6000800002d |
If player has property 2:00080000 goto 2d |
000006 |
Go to next 06 |
00022d |
Label 2d |
0060f6002d |
If player player has weapon Nothing equipped goto 2d |
0060f6012d |
If player player has weapon Unarmed equipped goto 2d |
000006 |
Go to next 06 |
00022d |
Label 2d |
000104 |
Go to first 04 |
00022d |
Label 2d |
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 |
000206 |
Label 06 |
008e63012d |
If actor's alertness > 99 goto 2d |
013164 |
For all actors in the same group, set their alertness to 100 |
00cdf62a571aa50408 |
Display text and play a sound in channel 4 for player: Imposter!
|
000b0202ffffffff140afd02 |
Actor $self does animation 0202 (arms to side up a little, walk back) |
00b6 |
Reset and start cycle counter |
000279 |
Label 79 |
0003 |
Yield |
00bd00005a2d |
If cycle counter > 90 (1.5 secs) goto 2d |
000179 |
Go to first 79 |
00022d |
Label 2d |
00b554414c4b20310a00 |
// TALK 1 |
00cdf62a5604ce0408 |
Display text and play a sound in channel 4 for player: Warn the others...
|
00022d |
Label 2d |
000206 |
Label 06 |
00200108 |
Run to pad 0108 |
00020a |
Label 0a |
0003 |
Yield |
003206 |
If actor has stopped moving goto 06 |
00010a |
Go to first 0a |
000206 |
Label 06 |
00b5464c4147205345540a00 |
// FLAG SET |
000210 |
Label 10 |
000b0229ffffffff100afd02 |
Actor $self does animation 0229 (head down praying/clutching chest) |
00020e |
Label 0e |
0003 |
Yield |
00322d |
If actor has stopped moving goto 2d |
00010e |
Go to first 0e |
00022d |
Label 2d |
000110 |
Go to first 10 |
0004 |
End of function |
There are no comments yet for this function.