Fix timer scripts which were breaking onscreen actor had a movement script
@@ -135,6 +135,7 @@ void ScriptRunnerUpdate() {
if (!script_ptr_bank || script_update_fn) {
// LOG("STOPPED SCRIPT FOR NOW\n");
ScriptSaveCtx();
+ script_ptr = 0;
return;
}
@@ -147,6 +148,7 @@ void ScriptRunnerUpdate() {
Script_StackPop_b();
POP_BANK;
ScriptSaveCtx();
+ script_ptr = 0;
return;
}
LOG("SCRIPT FINISHED\n");
