0200 |
Label 00 |
03 |
Yield |
4625 |
If a bullet just missed us then goto 25 |
2f48 |
If actor has stopped moving then goto 48 |
0100 |
Go to first 00 |
0248 |
Label 48 |
4625 |
If a bullet just missed us then goto 25 |
3a25 |
If Bond shot another actor then goto 25 |
3b26 |
If an actor is killed in sight of this actor then goto 26 |
321d |
If Bond is in sight then goto 1d |
03 |
Yield |
391b |
If actor heard Bond since last yield then goto 1b |
3e1b |
If actor has seen Bond or been shot in the last 10 seconds then goto 1b |
3f1b |
If actor heard Bond in the last 10 seconds then goto 1b |
3c1c |
If we have a line of sight on Bond then goto 1c |
0247 |
Label 47 |
03 |
Yield |
968019 |
If $self->somevalue is 128 then goto 19 |
2f03 |
If actor has stopped moving then goto 03 |
0100 |
Go to first 00 |
0219 |
Label 19 |
4229 |
If actor is on screen then goto 29 |
0100 |
Go to first 00 |
0229 |
Label 29 |
06040d |
Set return function to function 040d - Scientist |
05fd0004 |
Assign function 0004 - Do hacking animation to $self and advance frame |
0203 |
Label 03 |
790026 |
If shot more than 0 times then goto 26 |
0100 |
Go to first 00 |
0204 |
Label 04 |
0100 |
Go to first 00 |
021b |
Label 1b |
33 |
Call RNG |
35401e |
If random byte > 64 then goto 1e |
0100 |
Go to first 00 |
021e |
Label 1e |
101c |
Run sideways then goto 1c |
9580 |
Unmask $self->somevalue with 128 |
0100 |
Go to first 00 |
021c |
Label 1c |
47401d |
If actor is within 64 units of Bond then goto 1d |
48c01d |
If actor is further than 192 units of Bond then goto 1d |
4b000a1d |
If actor is within 10 units of Bond then goto 1d |
0100 |
Go to first 00 |
021d |
Label 1d |
33 |
Call RNG |
35c821 |
If random byte > 200 then goto 21 |
4521 |
If Bond has actor at gunpoint then goto 21 |
0100 |
Go to first 00 |
0221 |
Label 21 |
9580 |
Unmask $self->somevalue with 128 |
4b006425 |
If actor is within 100 units of Bond then goto 25 |
790026 |
If shot more than 0 times then goto 26 |
06040d |
Set return function to function 040d - Scientist |
05fd040e |
Assign function 040e - Scientist evading to $self and advance frame |
0225 |
Label 25 |
06040d |
Set return function to function 040d - Scientist |
05fd040f |
Assign function 040f - Scientist run or go rogue to $self and advance frame |
0226 |
Label 26 |
33 |
Call RNG |
35402a |
If random byte > 64 then goto 2a |
06040d |
Set return function to function 040d - Scientist |
05fd0410 |
Assign function 0410 - Scientist running to $self and advance frame |
022a |
Label 2a |
ad4966206f6e6c7920492068616420612067756e2121210a00 |
// If only I had a gun!!! |
1a2b |
Roll to throw grenade. If successful goto 2b |
0100 |
Go to first 00 |
022b |
Label 2b |
03 |
Yield |
2f01 |
If actor has stopped moving then goto 01 |
012b |
Go to first 2b |
0201 |
Label 01 |
0100 |
Go to first 00 |
04 |
End of function |
There are no comments yet for this function.