If all goes to plan the next version of touphScript will (optionally) strip unused field scripts from flevel.lgp (this is mostly to remove unused text entries), I have it working and have briefly tested it with no issues, but I just need to check with those who have a better understanding of the script in case I'm doing something silly.
As I understand it thus far, the only way a script can be implicitly called is as follows:
script 0 of all entities is called by engine
scripts 1 - 2 of models can be called by pressing ok or entering field of contact
scripts 1 - 6 of lines can be called by interacting with the line in various ways
a script can be implicitly called by calling another script that points to it (i.e. empty scripts).
All other scripts can only be explicitly called from another script via the 7 script call opcodes.
Is this correct? Have I missed anything?