61fd |
Kill $self (?) |
0200 |
Label 00 |
33 |
Call RNG |
352807 |
If random byte > 40 then goto 07 |
ab008f |
Set $self->target_pad to 8f |
0008 |
Go to next 08 |
0207 |
Label 07 |
355007 |
If random byte > 80 then goto 07 |
ab0091 |
Set $self->target_pad to 91 |
0008 |
Go to next 08 |
0207 |
Label 07 |
357807 |
If random byte > 120 then goto 07 |
ab0093 |
Set $self->target_pad to 93 |
0008 |
Go to next 08 |
0207 |
Label 07 |
35a007 |
If random byte > 160 then goto 07 |
ab0094 |
Set $self->target_pad to 94 |
0008 |
Go to next 08 |
0207 |
Label 07 |
35c807 |
If random byte > 200 then goto 07 |
ab00a8 |
Set $self->target_pad to a8 |
0008 |
Go to next 08 |
0207 |
Label 07 |
ab00a9 |
Set $self->target_pad to a9 |
0008 |
Go to next 08 |
0208 |
Label 08 |
1c2328 |
Begin jogging to $self->pad |
020a |
Label 0a |
03 |
Yield |
2f04 |
If actor has stopped moving then goto 04 |
4dfd0032232804 |
If $self is within 50 units of $self->pad then goto 04 |
4623 |
If a bullet just missed us then goto 23 |
010a |
Go to first 0a |
0223 |
Label 23 |
ad210a00 |
// ! |
21 |
Surrender |
0207 |
Label 07 |
03 |
Yield |
33 |
Call RNG |
35dc07 |
If random byte > 220 then goto 07 |
3b07 |
If an actor is killed in sight of this actor then goto 07 |
2f07 |
If actor has stopped moving then goto 07 |
0107 |
Go to first 07 |
0207 |
Label 07 |
ad496d206f6666210a00 |
// Im off! |
0100 |
Go to first 00 |
0204 |
Label 04 |
4dfd003223282e |
If $self is within 50 units of $self->pad then goto 2e |
07 |
Return to return function |
022e |
Label 2e |
3c0c |
If we have a line of sight on Bond then goto 0c |
c3340a |
Display text at top: Hostage escaped!
|
000d |
Go to next 0d |
020b |
Label 0b |
03 |
Yield |
010b |
Go to first 0b |
020c |
Label 0c |
0100 |
Go to first 00 |
020d |
Label 0d |
22 |
Guard fades out/disappears |
9c0000010007 |
If flag #9 (Objective complete: rescue hostages) is set then goto 07 |
9a00000100 |
Set flag #9 (Objective complete: rescue hostages) |
000e |
Go to next 0e |
0207 |
Label 07 |
9c0000020007 |
If flag #10 (Objective complete: rescue hostages) is set then goto 07 |
9a00000200 |
Set flag #10 (Objective complete: rescue hostages) |
000e |
Go to next 0e |
0207 |
Label 07 |
9c0000040007 |
If flag #11 (Objective complete: rescue hostages) is set then goto 07 |
9a00000400 |
Set flag #11 (Objective complete: rescue hostages) |
000e |
Go to next 0e |
0207 |
Label 07 |
9c0000080007 |
If flag #12 (Objective complete: rescue hostages) is set then goto 07 |
9a00000800 |
Set flag #12 (Objective complete: rescue hostages) |
000e |
Go to next 0e |
0207 |
Label 07 |
9c0000100007 |
If flag #13 (Objective complete: rescue hostages) is set then goto 07 |
9a00001000 |
Set flag #13 (Objective complete: rescue hostages) |
000e |
Go to next 0e |
0207 |
Label 07 |
020e |
Label 0e |
03 |
Yield |
010e |
Go to first 0e |
04 |
End of function |
Hostage runs to random exit:
0-40 = pad 8F
41-80 = pad 91
81-120 = pad 93
121-160 = pad 94
161-200 = pad A8
201-255 = pad A9