Rescue


0007041f When shot/hit, assign function 041f - 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
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
009b0000200000 Set an actor flag
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
009d00002000010053 If actor flag is something, goto 53
0036 Call RNG
00375669 If random byte < 86 goto 69
0037ac6a If random byte < 172 goto 6a
000b0227ffffffff1401fd02 Actor $self does animation 0227 (sitting)
000004 Go to next 04
000269 Label 69
000b0227ffffffff1401fd02 Actor $self does animation 0227 (sitting)
000004 Go to next 04
00026a Label 6a
000b0227ffffffff1401fd02 Actor $self does animation 0227 (sitting)
000004 Go to next 04
000204 Label 04
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
009d00002000010053 If actor flag is something, goto 53
003503 If $player in sight goto 03
000c06 If actor is not doing anything goto 06
00015e Go to first 5e
000206 Label 06
000104 Go to first 04
000203 Label 03
0112025aff02ffff Object ff does animation
00b554414c4b20300a00 // TALK 0
009d00002000010053 If actor flag is something, goto 53
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
011df60001000006 If player has property 2:00010000 (unknown prop - related to disguises) goto 06
011df6000800002d If player has property 2:00080000 goto 2d
000206 Label 06
0112025aff02ffff Object ff does animation
00cdf62a2581030408 Display text and play a sound in channel 4 for player:
Who are you?
000006 Go to next 06
00022d Label 2d
00cdf62a53127f0408 Display text and play a sound in channel 4 for player:
Should you be in here?
00b6 Reset and start cycle counter
01a3ff Character moves hands (gun jammed)
000264 Label 64
0003 Yield
01380406 If sound in channel 4 is finished goto 06
0060f6002d If player player has weapon Nothing equipped goto 2d
0060f6012d If player player has weapon Unarmed equipped goto 2d
00022d Label 2d
000164 Go to first 64
000206 Label 06
0009 Actor stops travelling
011df60001000006 If player has property 2:00010000 (unknown prop - related to disguises) goto 06
011df6000800000c If player has property 2:00080000 goto 0c
000206 Label 06
00cdf62a5212860408 Display text and play a sound in channel 4 for player:
Leave this area now.
00b6 Reset and start cycle counter
01a3ff Character moves hands (gun jammed)
000266 Label 66
0003 Yield
01380453 If sound in channel 4 is finished goto 53
0060f6002d If player player has weapon Nothing equipped goto 2d
0060f6012d If player player has weapon Unarmed equipped goto 2d
00022d Label 2d
000166 Go to first 66
000253 Label 53
009b0000200000 Set an actor flag
00020a Label 0a
0106f80000 Set $player to Joanna
00b6 Reset and start cycle counter
002d0b Run to Jo, then goto 0b
00020b Label 0b
0003 Yield
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
005200282d If actor is within 40 units of $player goto 2d
00010b Go to first 0b
000206 Label 06
00010a Go to first 0a
00022d Label 2d
009b0000000400 Set an actor flag
0006fd041f Set return function for $self to function 041f - Flag 6
0005fd000f Assign function 000f - Hand combat to $self and advance frame
00020c Label 0c
001f020d Walk to pad 020d
00020d Label 0d
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
003d000f If shot near actor goto 0f
00022d Label 2d
0060f6002d If player player has weapon Nothing equipped goto 2d
0060f6012d If player player has weapon Unarmed equipped goto 2d
00000f Go to next 0f
00022d Label 2d
003206 If actor has stopped moving goto 06
00010d Go to first 0d
000206 Label 06
00a400000080 Set property for actor $self: 1:00000080 (unknown prop)
00b6 Reset and start cycle counter
0018000804286e Actor faces pad 0428, then goto 6e
00026e Label 6e
0003 Yield
00bd0000786f If cycle counter > 120 (2.0 secs) goto 6f
00326f If actor has stopped moving goto 6f
00016e Go to first 6e
00026f Label 6f
0036 Call RNG
00375664 If random byte < 86 goto 64
0037ac66 If random byte < 172 goto 66
000b0221ffffffff100afd02 Actor $self does animation 0221 (point with right arm)
00000e Go to next 0e
000264 Label 64
000b0221ffffffff100afd02 Actor $self does animation 0221 (point with right arm)
00000e Go to next 0e
000266 Label 66
000b0223ffffffff100afd02 Actor $self does animation 0223 (right arm up, waggle for a bit)
00020e Label 0e
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
003d000f If shot near actor goto 0f
00022d Label 2d
0060f6002d If player player has weapon Nothing equipped goto 2d
0060f6012d If player player has weapon Unarmed equipped goto 2d
00000f Go to next 0f
00022d Label 2d
000c2e If actor is not doing anything goto 2e
00016f Go to first 6f
00022e Label 2e
00010e Go to first 0e
00020f Label 0f
00cdf62a5481240408 Display text and play a sound in channel 4 for player:
Holy...
009b0000200000 Set an actor flag
000b0202ffffffff140afd02 Actor $self does animation 0202 (arms to side up a little, walk back)
00b6 Reset and start cycle counter
000210 Label 10
0003 Yield
00bd00003c2d If cycle counter > 60 (1.0 secs) goto 2d
000110 Go to first 10
00022d Label 2d
009b0000200000 Set an actor flag
000153 Go to first 53
0004 End of function

Invocations

  • Initial function for actor 3b (Male Lab Technician)

Comments

There are no comments yet for this function.