Remove some duplicate functions from scripts
C4ScriptStandalone: Fix compilation (C4AulDebug changes)