Global


0201 Label 01
03 Yield
2f06 If actor has stopped moving then goto 06
0101 Go to first 01
0206 Label 06
320f If Bond is in sight then goto 0f
7b0010 If number of near-miss shots > 0 then goto 10
3f10 If actor heard Bond in the last 10 seconds then goto 10
3a10 If Bond shot another actor then goto 10
3b10 If an actor is killed in sight of this actor then goto 10
0101 Go to first 01
0210 Label 10
79000f If shot more than 0 times then goto 0f
0d Look around when shot at
0204 Label 04
03 Yield
2f0f If actor has stopped moving then goto 0f
0104 Go to first 04
020f Label 0f
1c2328 Begin jogging to $self->pad
0203 Label 03
03 Yield
2f02 If actor has stopped moving then goto 02
0103 Go to first 03
0202 Label 02
4efd000a232802 If $self is further than 10 units of $self->pad then goto 02
24232805 Activate object at $self->pad, then goto 05
0002 Go to next 02
0205 Label 05
03 Yield
2f02 If actor has stopped moving then goto 02
0105 Go to first 05
0202 Label 02
060002 Set return function to function 0002 - General guard
05fd0008 Assign function 0008 - Jog to Bond and attack if seen to $self and advance frame
04 End of function

Comments

Wait until not moving

If Bond is in sight:

* Jog to $self->pad
* Wait until not moving
* If at pad, activate object there
* Jog to bond