Skip to content

PLZA AutoStory slice 2c: 01.03, the starter and the first battle - #591

Draft
dayfine wants to merge 4 commits into
plza/slice2/bfrom
plza/slice2/c
Draft

dayfine wants to merge 4 commits into
plza/slice2/bfrom
plza/slice2/c

Conversation

@dayfine

@dayfine dayfine commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Depends on #582 (base plza/slice2/b; the diff shows only this slice).

PLZA AutoStory slice 2c: checkpoint 01.03, from the battle area to the Main Mission 02 banner, picking Chikorita as #576 does.

  • 01.03's plan: walk to Chikorita, talk, A through the talk to the battle HUD (story_battle_start), Andi's battle (story_battle), then mash_to_move_hints to the next mission's banner. Save unverified: the autosave at the Main Mission 02 banner was seen by hand (console B, 2026-11-10), but no run log of the program shows it yet.
  • The shared StoryBackend gains battle(); the fake ends it as scripted. The console backend runs fight_story_battle() (ported from PLZA AutoStory (long-lived branch) #576's fight_battle_in_progress()) with a new Battle AI option.
  • PLZA reads the mission complete card (MissionCompleteDetector, from PLZA AutoStory (long-lived branch) #576) and the battle HUD (BATTLE_STARTED). The scene machine presses A at the card, can stop at the battle HUD, and presses A up to 3 times at a mission banner that stays past 10 s.
  • Left out of PLZA AutoStory (long-lived branch) #576's version: the starter option (only Chikorita's walk is recorded), the separate approach_starter action (a plain walk), the menu save and the battle's action args.

Testing: unit tests in StoryBackend, AutoStoryGame (01.03 on a scripted backend), AutoStorySceneMachine and AutoStoryDetectors (synthetic card frames, and the MissionCompleteToNextBanner frames from CommandLineTests). No console run yet. The battle HUD event has no frame test: its frames (za2_hud_s3, za2_m2n_s1) are among the nine that need a recapture.

… 01's end

Talk to the starter (Chikorita), A through the talk to the battle HUD,
fight Andi with the backend's new battle(), then A at the mission
complete card through to the Main Mission 02 banner. The shared story
backend gains battle(); the fake ends it as scripted.
The battle and mission complete states go into the .cpp with the other scene states; the timeline
cases this PR added become runs, and the banner run lets the banner go once the scene ends.
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