0206 |
Label 06 |
03 |
Yield |
460b |
If a bullet just missed us then goto 0b |
3a0b |
If Bond shot another actor then goto 0b |
3b0b |
If an actor is killed in sight of this actor then goto 0b |
320b |
If Bond is in sight then goto 0b |
3c0b |
If we have a line of sight on Bond then goto 0b |
2f11 |
If actor has stopped moving then goto 11 |
0106 |
Go to first 06 |
0211 |
Label 11 |
79001a |
If shot more than 0 times then goto 1a |
0106 |
Go to first 06 |
021a |
Label 1a |
1201 |
Run and fire, then goto 01 |
960101 |
If $self->somevalue is 1 then goto 01 |
33 |
Call RNG |
352001 |
If random byte > 32 then goto 01 |
0c |
Shuffle feet (?) |
9401 |
Set $self->somevalue to 1 |
07 |
Return to return function |
020b |
Label 0b |
03 |
Yield |
961001 |
If $self->somevalue is 16 then goto 01 |
9410 |
Set $self->somevalue to 16 |
f30a |
If in cinema, goto 0a |
bd11ff009804060000000021 |
Spawn actor with function 0406 - Spawned guard at pad 0098, then goto 21 |
ad46210a00 |
// F! |
020a |
Label 0a |
0106 |
Go to first 06 |
0221 |
Label 21 |
ad48656c6c6f210a00 |
// Hello! |
0201 |
Label 01 |
33 |
Call RNG |
351901 |
If random byte > 25 then goto 01 |
0e08 |
Step sideways then goto 08 |
0201 |
Label 01 |
33 |
Call RNG |
354001 |
If random byte > 64 then goto 01 |
1108 |
Walk and fire, then goto 08 |
0201 |
Label 01 |
357f01 |
If random byte > 127 then goto 01 |
1208 |
Run and fire, then goto 08 |
0201 |
Label 01 |
33 |
Call RNG |
357f01 |
If random byte > 127 then goto 01 |
140001000008 |
Aim/shoot at player 1 (?), then goto 08 |
0201 |
Label 01 |
960201 |
If $self->somevalue is 2 then goto 01 |
9402 |
Set $self->somevalue to 2 |
0201 |
Label 01 |
020f |
Label 0f |
150001000008 |
Kneel, aim/shoot at player 1 (?), then goto 08 |
0208 |
Label 08 |
03 |
Yield |
2f01 |
If actor has stopped moving then goto 01 |
0108 |
Go to first 08 |
0201 |
Label 01 |
0101 |
Go to first 01 |
04 |
End of function |
This function doesn't appear to be invoked anywhere.
Identical to 0403, but spawns a guard at pad 98.