Air Base


0007040f When shot/hit, assign function 040f
0033fd02 If $self is dying/dead goto 02
0034fd02 If $self has finished death animation goto 02
017bfd02 If $self's body has disappeared goto 02
000044 Go to next 44
000202 Label 02
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000244 Label 44
0054fd0007232802 If $self is within 7 units of $self->pad goto 02
001f2328 Walk to $self->pad
000206 Label 06
0003 Yield
00b5474f20464f52205041440a00 // GO FOR PAD
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
0052001964 If actor is within 25 units of $player goto 64
009d00000080010033 If actor flag is something, goto 33
005bf600006b31 If player is in room/pad 6b goto 31
005bf600006c31 If player is in room/pad 6c goto 31
005bf600006d31 If player is in room/pad 6d goto 31
000100 Go to first 00
000233 Label 33
005bf600003c31 If player is in room/pad 3c goto 31
005bf600003d31 If player is in room/pad 3d goto 31
005bf600003e31 If player is in room/pad 3e goto 31
016af6feff006d If player's Y < -257 goto 6d
000076 Go to next 76
00026d Label 6d
005bf600003f31 If player is in room/pad 3f goto 31
000276 Label 76
000100 Go to first 00
000231 Label 31
003f04 If $player is in line of sight goto 04
0054fd0007232802 If $self is within 7 units of $self->pad goto 02
000106 Go to first 06
000202 Label 02
0009 Actor stops travelling
000200 Label 00
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
00b55741495420464f52204348520a00 // WAIT FOR CHR
0106f20000 Set $player to P1 or P2
00a300000100010b If flag #9 (Objective complete: Subvert security monitoring system) is true goto 0b
003f31 If $player is in line of sight goto 31
000100 Go to first 00
000231 Label 31
00b54348520a00 // CHR
016af6feb60002 If player's Y < -330 goto 02
000100 Go to first 00
000202 Label 02
009d00000080010033 If actor flag is something, goto 33
005bf600006b04 If player is in room/pad 6b goto 04
005bf600006c04 If player is in room/pad 6c goto 04
005bf600006d04 If player is in room/pad 6d goto 04
000100 Go to first 00
000233 Label 33
005bf600003c04 If player is in room/pad 3c goto 04
005bf600003d04 If player is in room/pad 3d goto 04
005bf600003e04 If player is in room/pad 3e goto 04
016af6feff006d If player's Y < -257 goto 6d
000076 Go to next 76
00026d Label 6d
005bf600003f04 If player is in room/pad 3f goto 04
000276 Label 76
000100 Go to first 00
000204 Label 04
00b6 Reset and start cycle counter
00b6 Reset and start cycle counter
00180200000009 Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 09
000209 Label 09
0003 Yield
004d0a02 If actor is facing player within 10 degrees (?) goto 02
004ff502 If something to do with Velvet goto 02
00bd00003c02 If cycle counter > 60 (1.0 secs) goto 02
000109 Go to first 09
000202 Label 02
000b00980000005a0010fd02 Actor $self does animation 0098 (shake left arm and move head)
0130f81cff02ff810000 Say random quip: unknown quip
009b0000200000 Set an actor flag
00020a Label 0a
0003 Yield
003202 If actor has stopped moving goto 02
00010a Go to first 0a
000202 Label 02
0006fd0007 Set return function for $self to function 0007 - Alerted guard
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
00b6 Reset and start cycle counter
0106f20000 Set $player to P1 or P2
002c05 Walk to Jo, then goto 05
000231 Label 31
00b552554e2053544152540a00 // RUN START
00b6 Reset and start cycle counter
0106f80000 Set $player to Joanna
002d05 Run to Jo, then goto 05
000205 Label 05
0003 Yield
0006fd0007 Set return function for $self to function 0007 - Alerted guard
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
00b5474f20464f52204348520a00 // GO FOR CHR
003232 If actor has stopped moving goto 32
00bd00001e32 If cycle counter > 30 (0.5 secs) goto 32
016af6feb60002 If player's Y < -330 goto 02
000007 Go to next 07
000202 Label 02
009d00000080010033 If actor flag is something, goto 33
005bf600006b31 If player is in room/pad 6b goto 31
005bf600006c31 If player is in room/pad 6c goto 31
005bf600006d31 If player is in room/pad 6d goto 31
000007 Go to next 07
000233 Label 33
005bf600003c31 If player is in room/pad 3c goto 31
005bf600003d31 If player is in room/pad 3d goto 31
005bf600003e31 If player is in room/pad 3e goto 31
005bf600003f31 If player is in room/pad 3f goto 31
000007 Go to next 07
000231 Label 31
0052001902 If actor is within 25 units of $player goto 02
000105 Go to first 05
000232 Label 32
000104 Go to first 04
000264 Label 64
000202 Label 02
009b0000000101 Set an actor flag
009b0000200000 Set an actor flag
0006fd040f Set return function for $self to function 040f
0005fd000f Assign function 000f - Hand combat to $self and advance frame
000207 Label 07
000b00980000005a0010fd02 Actor $self does animation 0098 (shake left arm and move head)
0130f81dff02ff810000 Say random quip: unknown quip
000208 Label 08
0003 Yield
003202 If actor has stopped moving goto 02
000108 Go to first 08
000202 Label 02
000144 Go to first 44
00020b Label 0b
0005fd0006 Assign function 0006 - Unalerted guard to $self and advance frame
0004 End of function

Invocations

  • Initial function for actor 10 (NSA Lackey)
  • Initial function for actor 11 (NSA Lackey)
  • Can be invoked by function 0410

Comments

There are no comments yet for this function.