Repository navigation
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
story_battle_start), Andi's battle (story_battle), thenmash_to_move_hintsto the next mission's banner. Saveunverified: 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.StoryBackendgainsbattle(); the fake ends it as scripted. The console backend runsfight_story_battle()(ported from PLZA AutoStory (long-lived branch) #576'sfight_battle_in_progress()) with a new Battle AI option.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.approach_starteraction (a plainwalk), 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.