ad54420a00 |
// TB |
0204 |
Label 04 |
03 |
Yield |
530032002729 |
If actor is further than 50 units of pad 0027 then goto 29 |
0247 |
Label 47 |
ac00004f |
Set actor 00 (Trevelyan)'s target_pad to 4f |
970004 |
Mask actor type for actor 00 (Trevelyan) with 04 |
05fd040f |
Assign function 040f - Trev at location G to $self and advance frame |
0229 |
Label 29 |
530032002a29 |
If actor is further than 50 units of pad 002a then goto 29 |
0248 |
Label 48 |
33 |
Call RNG |
353c2a |
If random byte > 60 then goto 2a |
ac000090 |
Set actor 00 (Trevelyan)'s target_pad to 90 |
970004 |
Mask actor type for actor 00 (Trevelyan) with 04 |
05fd0409 |
Assign function 0409 - Trev at location A to $self and advance frame |
022a |
Label 2a |
35782a |
If random byte > 120 then goto 2a |
9b08000000 |
Unset flag #28 () |
ac000001 |
Set actor 00 (Trevelyan)'s target_pad to 01 |
970004 |
Mask actor type for actor 00 (Trevelyan) with 04 |
05fd040b |
Assign function 040b - Trev at location C to $self and advance frame |
022a |
Label 2a |
35b42a |
If random byte > 180 then goto 2a |
9b08000000 |
Unset flag #28 () |
ac000009 |
Set actor 00 (Trevelyan)'s target_pad to 09 |
970004 |
Mask actor type for actor 00 (Trevelyan) with 04 |
05fd040c |
Assign function 040c - Trev at location D to $self and advance frame |
022a |
Label 2a |
9b08000000 |
Unset flag #28 () |
ac000013 |
Set actor 00 (Trevelyan)'s target_pad to 13 |
970004 |
Mask actor type for actor 00 (Trevelyan) with 04 |
05fd040d |
Assign function 040d - Trev at location E to $self and advance frame |
0229 |
Label 29 |
9c0400000041 |
If flag #27 () is set then goto 41 |
0104 |
Go to first 04 |
0241 |
Label 41 |
9b04000000 |
Unset flag #27 () |
55001f42 |
If Bond is in the same room as pad 001f then goto 42 |
55003143 |
If Bond is in the same room as pad 0031 then goto 43 |
55005043 |
If Bond is in the same room as pad 0050 then goto 43 |
33 |
Call RNG |
353243 |
If random byte > 50 then goto 43 |
0242 |
Label 42 |
0147 |
Go to first 47 |
0243 |
Label 43 |
0148 |
Go to first 48 |
04 |
End of function |
There are no comments yet for this function.