Handle attached inputs after scene update
Fixes the case where by attaching a Text / Menu event to a direction button the ALLOW_DEFAULT macros return true for 1 frame, because the input script sets `ui_block` to true which allows the normal movement in the scene's update script just for that frame.
@@ -176,10 +176,10 @@ int core_start() {
UIUpdate_b();
if (!script_ctxs[0].script_ptr_bank && !ui_block) {
- HandleInputScripts();
PUSH_BANK(stateBanks[scene_type]);
updateFuncs[scene_type]();
POP_BANK;
+ HandleInputScripts();
}
ScriptTimerUpdate();
