Skip to content

PLZA AutoStory: developer option to skip forced reloads - #625

Merged
dayfine merged 1 commit into
plza/port-original-0308-0311from
plza/reload-switch
Nov 17, 2026
Merged

dayfine merged 1 commit into
plza/port-original-0308-0311from
plza/reload-switch

Conversation

@dayfine

@dayfine dayfine commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Depends on #623 (base plza/port-original-0308-0311; the diff shows only this change).

A chained PLZA run always reloads the start save of a row marked reload_when_chained: "always" (03.04, 03.11), so there was no way to find out whether that reload is actually needed. This adds a developer checkbox, "Developer: skip forced reloads", to the AutoStory panel: with it on, a chained run goes on from the live screen into such a row and logs [Checkpoint] <id>: reload skipped (developer option). Default is off, so normal runs are unchanged. The reload after a failed start check is not affected. To fit the parameter limit, run_plza_segments() now takes a SegmentRunOptions (attempts per checkpoint plus the switch), which RewindPlan carries.

What to expect on console: 03.11 should still need its reload, since its to_mable legs are measured from the reloaded 3F spot; 03.04 is the open question this switch is meant to answer.

Tested with two new cases in the PokemonLZA::AutoStoryGame chain suite (autosave seen and not seen: no reload, the line is logged); the touched files compile locally and code health reports 0 failures. No console run.

A chained run with "Developer: skip forced reloads" on goes on from the
live screen into a row marked reload_when_chained "always" and logs
"[Checkpoint] <id>: reload skipped (developer option)". Default off.
run_plza_segments() takes SegmentRunOptions (attempts per checkpoint and
the forced-reload switch); RewindPlan carries them.
@dayfine
dayfine merged commit 9b4ddc9 into plza/port-original-0308-0311 Nov 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant