0106f80000 |
Set $player to Joanna |
000203 |
Label 03 |
00b6 |
Reset and start cycle counter |
002d04 |
Run to Jo, then goto 04 |
000204 |
Label 04 |
0003 |
Yield |
01321200 |
Undocumented (to do with cover?) |
0052001416 |
If actor is within 20 units of $player goto 16 |
00bd00007813 |
If cycle counter > 120 (2.0 secs) goto 13 |
003213 |
If actor has stopped moving goto 13 |
000104 |
Go to first 04 |
000213 |
Label 13 |
000103 |
Go to first 03 |
000216 |
Label 16 |
0009 |
Actor stops travelling |
000205 |
Label 05 |
0003 |
Yield |
01320400 |
Undocumented (to do with cover?) |
0053001e16 |
If actor is further than 30 units from player goto 16 |
000105 |
Go to first 05 |
000216 |
Label 16 |
000103 |
Go to first 03 |
0004 |
End of function |
Actor tries to stay within 20/30 units of Jo.