This seems to be a bug in runtime, as script_get_name(Script1); also breaks games…
script_get_name(Script1);