000204 |
Label 04 |
0003 |
Yield |
0106f80000 |
Set $player to Joanna |
00a60000040061 |
If actor $self has property: 1:00000400 (hidden) goto 61 |
0052001e64 |
If actor is within 30 units of $player goto 64 |
000066 |
Go to next 66 |
000264 |
Label 64 |
004e0a01002d |
If player is looking right at something (?) goto 2d |
000266 |
Label 66 |
0106f50000 |
Set $player to Velvet |
0052001e68 |
If actor is within 30 units of $player goto 68 |
000069 |
Go to next 69 |
000268 |
Label 68 |
004e0a01002d |
If player is looking right at something (?) goto 2d |
000269 |
Label 69 |
000261 |
Label 61 |
00a200000020 |
Unset flag #6 (looking at and close to containment unit) |
000104 |
Go to first 04 |
00022d |
Label 2d |
00a100000020 |
Set flag #6 (looking at and close to containment unit) |
000104 |
Go to first 04 |
0004 |
End of function |
Set flag 6 if player is within 30 units of object and looking right at it, unset the flag otherwise.