Air Force One


00070425 When shot/hit, assign function 0425
000203 Label 03
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
000c2d If actor is not doing anything goto 2d
0036 Call RNG
0037200f If random byte < 32 goto 0f
0036 Call RNG
0037208a If random byte < 32 goto 8a
0037408b If random byte < 64 goto 8b
0037608c If random byte < 96 goto 8c
0037808d If random byte < 128 goto 8d
0037a08e If random byte < 160 goto 8e
0037c08f If random byte < 192 goto 8f
0037e090 If random byte < 224 goto 90
000b0221ffffffff1001fd02 Actor $self does animation 0221 (point with right arm)
00002d Go to next 2d
00028a Label 8a
000b0221ffffffff1001fd02 Actor $self does animation 0221 (point with right arm)
00002d Go to next 2d
00028b Label 8b
000b0223ffffffff1001fd02 Actor $self does animation 0223 (right arm up, waggle for a bit)
00002d Go to next 2d
00028c Label 8c
000b0221ffffffff1101fd02 Actor $self does animation 0221 (point with right arm)
00002d Go to next 2d
00028d Label 8d
000b0221ffffffff1101fd02 Actor $self does animation 0221 (point with right arm)
00002d Go to next 2d
00028e Label 8e
000b0223ffffffff1101fd02 Actor $self does animation 0223 (right arm up, waggle for a bit)
00002d Go to next 2d
00028f Label 8f
000b023affffffff1101fd02 Actor $self does animation 023a (scratch head)
00002d Go to next 2d
000290 Label 90
000b023bffffffff1101fd02 Actor $self does animation 023b (roll head)
00002d Go to next 2d
00020f Label 0f
0036 Call RNG
00375660 If random byte < 86 goto 60
0037ac77 If random byte < 172 goto 77
0054fd000500c160 If $self is within 5 units of pad 00c1 goto 60
000279 Label 79
001f00c1 Walk to pad 00c1
008401 Set action block variable to value 1
00b200c2 Set $self->target_pad to c2
000087 Go to next 87
000260 Label 60
0054fd000500c377 If $self is within 5 units of pad 00c3 goto 77
001f00c3 Walk to pad 00c3
008402 Set action block variable to value 2
00b200c4 Set $self->target_pad to c4
000087 Go to next 87
000277 Label 77
0054fd000500c178 If $self is within 5 units of pad 00c1 goto 78
008403 Set action block variable to value 3
00b200c6 Set $self->target_pad to c6
001f00c5 Walk to pad 00c5
000087 Go to next 87
000278 Label 78
000179 Go to first 79
000287 Label 87
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
003589 If $player in sight goto 89
003d0089 If shot near actor goto 89
003206 If actor has stopped moving goto 06
000187 Go to first 87
000206 Label 06
00180008232888 Actor faces $self->pad, then goto 88
000288 Label 88
0003 Yield
003206 If actor has stopped moving goto 06
000188 Go to first 88
000206 Label 06
000103 Go to first 03
000b02040000ffff1010fd02 Actor $self does animation 0204 (lean forward/down move arms)
00022d Label 2d
003589 If $player in sight goto 89
003d0089 If shot near actor goto 89
000103 Go to first 03
000289 Label 89
008a64 Set alertness to 100
00b6 Reset and start cycle counter
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
013164 For all actors in the same group, set their alertness to 100
011bf800010000 Set property for Joanna: 2:00010000 (unknown prop - related to disguises)
01a3ff Character moves hands (gun jammed)
00b6 Reset and start cycle counter
00cdf2362b1abb0404 Display text and play a sound in channel 4 for P1 or P2:
Hey, that's not...
000208 Label 08
0003 Yield
00bd0000232d If cycle counter > 35 (0.6 secs) goto 2d
000108 Go to first 08
00022d Label 2d
00d304 Turn off sound in channel 4
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

  • Initial function for actor 1c (Steward)

Comments

There are no comments yet for this function.