From b4cf838d6d9a28c15c28c5c55268a5b945c8ffdb Mon Sep 17 00:00:00 2001 From: dayfine Date: Tue, 10 Nov 2026 19:50:58 -0800 Subject: [PATCH 1/4] PokemonLZA: AutoStory: Main Mission 02 (02.01-02.06) The checkpoints from the Battle Zone to Hotel Z and its first night, with the code only they use: held walks and a walk's wait before it looks for control (wait_ms), mash_to_move_hints' press_a_first and quiet_is_control (Hotel Z's door and halls), and text_to_choice's advance_with_a (the elevator); and the held walk's test. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../Actions/PokemonLZA_AutoStoryMoves.cpp | 14 ++++ .../Actions/PokemonLZA_AutoStoryMoves.h | 11 ++++ .../AutoStory/PokemonLZA_AutoStory.cpp | 2 +- .../PokemonLZA_AutoStoryEngine_Tests.cpp | 17 +++++ .../AutoStory/PokemonLZA_AutoStoryGame.cpp | 51 ++++++++++++-- .../PokemonLZA_AutoStorySceneMachine.cpp | 4 ++ .../PokemonLZA_AutoStorySceneMachine.h | 3 + .../PokemonLZA_AutoStoryStepValidator.cpp | 8 +++ .../PokemonLZA_AutoStoryStepValidator.h | 5 +- .../PokemonLZA_AutoStoryStoryFiles.h | 5 +- .../AutoStory/PokemonLZA_AutoStoryTable.h | 2 +- .../PokemonLZA_AutoStoryTable_Tests.cpp | 4 +- .../AutoStory/StoryData/plza-02.01.plan.json | 49 ++++++++++++++ .../AutoStory/StoryData/plza-02.02.plan.json | 62 +++++++++++++++++ .../AutoStory/StoryData/plza-02.03.plan.json | 60 +++++++++++++++++ .../AutoStory/StoryData/plza-02.04.plan.json | 66 +++++++++++++++++++ .../AutoStory/StoryData/plza-02.05.plan.json | 52 +++++++++++++++ .../AutoStory/StoryData/plza-02.06.plan.json | 34 ++++++++++ 18 files changed, 435 insertions(+), 14 deletions(-) create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json create mode 100644 SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.cpp index 5e4ab653b9..809a68e817 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.cpp @@ -58,6 +58,20 @@ Pokemon::Outcome run_story_move(PlzaBackend& backend, const StoryMove& move, con return faced; } } + if (move.held){ + for (size_t i = 0; i < move.legs.size(); i++){ + const StoryWalkLeg& leg = move.legs[i]; + if (i > 0 && leg.turn != 0){ + backend.press(BUTTON_L, 100ms, 150ms); + } + if (leg.walk > Milliseconds(0)){ + backend.stick(leg.turn, leg.walk, 0ms, Pokemon::StoryPace::WALK); + }else if (leg.turn != 0){ + backend.stick(leg.turn, 150ms, 100ms, Pokemon::StoryPace::WALK); + } + } + return Pokemon::outcome_ok(); + } for (const StoryWalkLeg& leg : move.legs){ if (leg.turn != 0){ // The walk goes where the camera looks: recenter it after the turn. diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.h b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.h index ca2cc313f3..93aecf2d6b 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.h +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/Actions/PokemonLZA_AutoStoryMoves.h @@ -46,6 +46,17 @@ struct StoryMove{ // (get_facing_direction()). None: no compass turn first. std::optional heading = std::nullopt; std::vector legs = {}; + // How the legs are played. False: each turn is L, a 150 ms tap that + // way, L, then the stick held forward (the 2026-11-08 recording). + // True: the stick is held at the leg's angle for its whole time, from + // the camera as it is; L recenters the camera only before a later leg + // that turns (02.01, console B 2026-11-10). L near an NPC turns to it, + // so a held walk starts without one. + bool held = false; + // A wait before the walk looks for free control: for the NPCs to move + // off (02.01), or for a ride's fade to start (02.04's elevator). The + // walk's caller waits it; run_story_move() does not. + Milliseconds wait_first = Milliseconds(0); }; // Turns the player toward `heading`, within `tolerance` degrees: turns by diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStory.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStory.cpp index d454e164f1..bb5e754664 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStory.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStory.cpp @@ -37,7 +37,7 @@ AutoStory_Descriptor::AutoStory_Descriptor() "PokemonLZA:AutoStory", std::format("{} LZA", STRING_POKEMON), "Auto Story", "Programs/PokemonLZA/AutoStory.html", - "Play the main story of Pokemon Legends: Z-A. Prototype: Main Mission 01 as recorded on a console; plays from a new game to the starter and Andi.", + "Play the main story of Pokemon Legends: Z-A. Prototype: Main Missions 01-02 as recorded on a console; plays from a new game through the first night at Hotel Z.", PanelQualityStanding::DEVELOPER, ProgramControllerClass::StandardController_NoRestrictions, FeedbackType::REQUIRED, diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryEngine_Tests.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryEngine_Tests.cpp index b402d14998..18b7009dfd 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryEngine_Tests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryEngine_Tests.cpp @@ -191,6 +191,22 @@ UnitTestResult test_walk_ends_on_white_fade(CancellableScope& scope){ }); } +// 02.01's battle_zone_to_brigitte, a held walk (console B, 2026-11-10): +// 3 s for the NPCs to move off, the first leg held at its angle with no L, +// then L and the stick held at each later turning leg's angle. +UnitTestResult test_held_walk_inputs(CancellableScope& scope){ + FakeBackend backend = fake_plza({look_at(0ms), look_at(250ms)}, scope); + const Pokemon::StoryEngineReport report = run_plza(backend, step_of("02.01", "battle_zone_to_brigitte")); + if (report.verdict != Pokemon::CheckpointVerdict::PASSED){ + return std::format("Expected the held walk to pass: {}", to_string(report.run.failure)); + } + return expect_inputs(backend, { + "wait 3000ms", "wait 250ms", "stick 10deg 4250ms walk", + "press L", "stick 90deg 6000ms walk", + "press L", "stick 90deg 6500ms walk", + }); +} + // platform_to_plaza with no white fade fails once the last leg's 10 s are // held: 40 slices. UnitTestResult test_walk_fails_at_bound(CancellableScope& scope){ @@ -535,6 +551,7 @@ const EngineTestCase ENGINE_TEST_CASES[] = { {.input = {"01.03 after_andi: A at the mission complete card, then the banner, A if it stays", test_after_andi_presses_complete_card}, .expectation = {}}, {.input = {"01.01 arrival_scenes: a quiet minute without the hint fails", test_arrival_quiet_fails}, .expectation = {}}, {.input = {"01.02 battle_area: done on the \"A: Talk\" prompt", test_battle_area_ends_on_interact_prompt}, .expectation = {}}, + {.input = {"02.01 battle_zone_to_brigitte: a held walk waits, then holds each leg's angle", test_held_walk_inputs}, .expectation = {}}, {.input = {"face_heading: turns by the minimap's heading", test_face_heading}, .expectation = {}}, {.input = {"01.01 platform_to_plaza: no walk without free control", test_walk_needs_free_control}, .expectation = {}}, {.input = {"01.01 platform_to_plaza: ends on the white fade", test_walk_ends_on_white_fade}, .expectation = {}}, diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryGame.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryGame.cpp index 3f47bd9151..50a61edafa 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryGame.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryGame.cpp @@ -122,6 +122,14 @@ StoryActionSpec walk_spec(){ .key = "heading", .type = StoryArgType::INTEGER, .required = false, .fallback = std::nullopt, .why = "the compass heading to face first, clockwise from north", }, + StoryArgSpec{ + .key = "held", .type = StoryArgType::BOOLEAN, .required = false, .fallback = false, + .why = "hold the stick at each leg's angle (L only before a later turning leg), not tap-and-forward", + }, + StoryArgSpec{ + .key = "wait_ms", .type = StoryArgType::INTEGER, .required = false, .fallback = std::nullopt, + .why = "wait this long before looking for free control: NPCs moving off, a ride's fade starting", + }, }); } @@ -219,23 +227,32 @@ class PlzaHandlers{ // quiet time fails the step. After 5 s with nothing busy and no sign // of control, A every 2 s, for text the detectors miss (01.01's ad). // A banner that stays past the 10 s gets A up to 3 times (01.03's - // "MAIN MISSION 02"), so the step ends with control. + // "MAIN MISSION 02"), so the step ends with control. "press_a_first" + // presses A once at a prompt (02.03's Hotel Z door, "A Enter"), which + // would otherwise end the step at once as control. "quiet_is_control" + // ends it on the quiet time instead of failing, inside Hotel Z. static Handler move_hints(){ return [](Pokemon::StoryBackend& backend, const StoryActionCall& call, Pokemon::RunState&){ + if (Pokemon::story_arg(call.args, "press_a_first")){ + backend.press(BUTTON_A, 160ms, 400ms); + } SceneMachineConfig config; config.quiet = Milliseconds(Pokemon::story_arg(call.args, "quiet_ms")); config.min_length = Milliseconds(Pokemon::story_arg(call.args, "min_length_ms")); + config.quiet_is_control = Pokemon::story_arg(call.args, "quiet_is_control"); config.blind_press_after = 5s; return run_scene_machine(backend, "mash_to_move_hints", config, 360s); }; } - // B through the text until the choices show. + // B advances text by default. "advance_with_a" is for a talk that B + // cancels: Hotel Z's elevator closes on B before "Which floor?" + // (02.04, console B 2026-11-10). static Handler text_to_choice(){ - return [](Pokemon::StoryBackend& backend, const StoryActionCall&, Pokemon::RunState&){ + return [](Pokemon::StoryBackend& backend, const StoryActionCall& call, Pokemon::RunState&){ SceneMachineConfig config; config.goal = SceneMashGoal::CHOICE; - config.text_button = BUTTON_B; + config.text_button = Pokemon::story_arg(call.args, "advance_with_a") ? BUTTON_A : BUTTON_B; return run_scene_machine(backend, "text_to_choice", config, 60s); }; } @@ -247,6 +264,9 @@ class PlzaHandlers{ Pokemon::StoryBackend& backend, std::string_view name, const StoryMove& move, const StoryActionArgs& args, const PlzaReader& heading ){ + if (move.wait_first > Milliseconds(0)){ + backend.wait(move.wait_first); + } const Outcome free = check_can_walk(backend, name); if (!free.succeeded()){ return free; @@ -399,7 +419,7 @@ Handler plza_handler(const PlzaHandlers& handlers, const StoryActionSpec& spec){ choose_dialog_option(env.env.console, env.context, Pokemon::story_arg(args, "yes") ? 0 : 1); }); case StoryStepKind::MASH:{ - // 120 s: a scene can hold a long black screen. + // 120 s: a scene can hold a ~25 s black screen (02.06's first evening). const Button button = name == "a" ? BUTTON_A : BUTTON_B; return handlers.console(name, [button](StoryEnv& env, const StoryActionArgs&){ mash_scene(env.env.console, env.context, SceneMashGoal::OVERWORLD, button, 120s); @@ -453,8 +473,21 @@ std::vector plza_story_action_specs(){ game_spec("mash_to_move_hints", { optional_ms("min_length_ms", 0, "the scene's rough length: no quiet failure before it"), optional_ms("quiet_ms", 60000, "nothing busy and no control this long fails the step"), + StoryArgSpec{ + .key = "press_a_first", .type = StoryArgType::BOOLEAN, .required = false, .fallback = false, + .why = "press A once first, at the prompt that starts the scene (a door's \"A Enter\")", + }, + StoryArgSpec{ + .key = "quiet_is_control", .type = StoryArgType::BOOLEAN, .required = false, .fallback = false, + .why = "the quiet time ends the step with control, where no party bar or prompt shows (Hotel Z)", + }, + }), + game_spec("text_to_choice", { + StoryArgSpec{ + .key = "advance_with_a", .type = StoryArgType::BOOLEAN, .required = false, .fallback = false, + .why = "advance the text with A, for a talk that B cancels", + }, }), - game_spec("text_to_choice"), game_spec("wait_for_platform", { optional_ms("timeout_ms", 180000, "no platform this long fails the step"), }), @@ -496,6 +529,12 @@ StoryMove story_walk_move(const StoryActionArgs& args, std::string_view legs){ if (heading != args.end()){ move.heading = (double)std::get(heading->second); } + const auto held = args.find("held"); + move.held = held != args.end() && std::get(held->second); + const auto wait = args.find("wait_ms"); + if (wait != args.end()){ + move.wait_first = Milliseconds(std::get(wait->second)); + } for (const std::vector& row : Pokemon::story_arg(args, legs)){ if (row.size() != 2){ throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, std::format("A walk leg needs 2 numbers, has {}.", row.size())); diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.cpp index 8c7c08ce4a..ee85e9ee11 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.cpp @@ -473,6 +473,10 @@ Pokemon::Outcome scene_outcome( if (!result.succeeded()){ return scene_failure(label, result.failure); } + if (result.terminal == scene_screen_name(SceneScreen::QUIET_END) && config.quiet_is_control){ + backend.log(std::format("[PLZA {}] done: quiet, taken as control.", label)); + return Pokemon::outcome_ok(); + } if (result.terminal == scene_screen_name(SceneScreen::QUIET_END)){ // Nothing busy for the quiet time, and no party bar or controls // hint: a cutscene with no text, or control the detectors miss. diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.h b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.h index ccc45f31e3..43cbaf405e 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.h +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStorySceneMachine.h @@ -51,6 +51,9 @@ struct SceneMachineConfig{ // ...and this long has passed since the start: a cutscene can hold a // still frame longer than `quiet`. Milliseconds min_length = Milliseconds(0); + // The quiet end is control, not a failure: Hotel Z's halls and rooms + // show no party bar or prompt (02.04, console B 2026-11-10). + bool quiet_is_control = false; // OVERWORLD with A: presses A every 2 s once nothing // busy and no sign of control has shown for this long, for text the // detectors miss (A does not skip a cutscene). diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.cpp index 0236f5abcd..041d0fe7e4 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.cpp @@ -121,6 +121,14 @@ std::vector plza_step_arg_errors(const Pokemon::StoryStep& step){ if (rows.empty() || rows.back().size() != 2 || rows.back()[1] <= 0){ errors.push_back(std::format("{}: the last leg has no walk to hold until the end", step.name)); } + const auto held = step.args.find("held"); + if (held != step.args.end() && std::get(held->second)){ + errors.push_back(std::format("{}: a held walk cannot end on a fade yet", step.name)); + } + } + const auto wait = step.args.find("wait_ms"); + if (wait != step.args.end() && std::get(wait->second) < 0){ + errors.push_back(std::format("{}: wait_ms {} is negative", step.name, std::get(wait->second))); } const auto heading = step.args.find("heading"); if (heading != step.args.end()){ diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.h b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.h index 91f120d424..da27f74f27 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.h +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStepValidator.h @@ -36,8 +36,9 @@ std::optional walk_end_event(std::string_view end); // What is wrong with the args of a "walk" or "approach_starter" step: // each leg a [turn, ms] pair, turning -180 to 180 degrees and walking 0 ms -// or more, some leg walking; an end a fade, after a leg that walks; a -// heading 0 to 359. Nothing for any other step. +// or more, some leg walking; an end a fade, after a leg that walks and not +// on a held walk; no negative wait; a heading 0 to 359. Nothing for any +// other step. std::vector plza_step_arg_errors(const Pokemon::StoryStep& step); diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h index 308ea9e64b..c8e6e8da65 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h @@ -42,8 +42,9 @@ StoryData load_story_data(std::span dev_files); const StoryData& builtin_story_data(); // The built-in story (load_story_data() with no dev files), read once: -// what the tests, the lint and the program's dropdowns use: 01.xx Main -// Mission 01 (new game, Pancham, the starter). Only 01.00, a new game, +// what the tests, the lint and the program's dropdowns use. 01.xx Main +// Mission 01 (new game, Pancham, the starter), 02.xx Main Mission 02 (out +// of the Battle Zone to Hotel Z, the first night). Only 01.00, a new game, // starts without a save; it starts on the title screen. const std::vector& story_checkpoints(); diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable.h b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable.h index 244690b7d4..921fdd2a25 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable.h +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable.h @@ -11,7 +11,7 @@ * legs: a relative turn and a walk time each (PokemonLZA_AutoStoryGame.h). * * Recorded 2026-11-08/09 on console B, played step by step from a new - * game through Main Mission 01. Every walk was measured walking, not + * game through Main Mission 02. Every walk was measured walking, not * dashing. Steps the game * has no code for yet are GAME steps of story_actions_not_implemented(). * diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable_Tests.cpp b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable_Tests.cpp index f25bc3294e..a97904f0a8 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable_Tests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryTable_Tests.cpp @@ -89,8 +89,8 @@ UnitTestResult test_story_walks_read(Logger&){ } } } - if (walks != 2){ - return std::format("Expected the 2 recorded walks, found {}.", walks); + if (walks != 12){ + return std::format("Expected the 12 recorded walks, found {}.", walks); } const StoryStep* plaza = find_step(story_checkpoints(), "01.01", "platform_to_plaza"); if (plaza == nullptr){ diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json new file mode 100644 index 0000000000..57b2e00ab2 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json @@ -0,0 +1,49 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.01", + "title": "Main Mission 02: Battle Zone to Brigitte", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "battle_zone_to_brigitte", + "kind": "game_action", + "why": "step 18: through the Battle Zone until Taunie's \"Almost there!\" and Brigitte's scene. Held legs, played on console B over CFR 2026-11-10: wait 3 s, +10 deg 4.25 s, L then right 6 s, L then right 6.5 s.", + "action": "walk", + "args": { + "legs": [[10, 4250], [90, 6000], [90, 6500]], + "held": true, + "wait_ms": 3000 + } + }, + { + "id": "brigitte_battle_start", + "kind": "game_action", + "why": "step 19: A through her talk to \"Brigitte sent out Cleffa!\"", + "action": "story_battle_start" + }, + { + "id": "brigitte_battle", + "kind": "game_action", + "why": "step 19: beat Brigitte's Cleffa (Lv 7), until her speech", + "action": "story_battle" + }, + { + "id": "after_brigitte", + "kind": "scene", + "why": "step 20: Brigitte's and Taunie's talk, until free control alone in the plaza", + "action": "a" + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split at the autosave after Brigitte (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json new file mode 100644 index 0000000000..d85f4e25fd --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json @@ -0,0 +1,62 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.02", + "title": "Main Mission 02: after Brigitte to Hotel Z", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "to_blocked_street", + "kind": "game_action", + "why": "step 21: on until the black fade into the street the trainers block. Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": { + "legs": [[0, 2000], [-75, 3500], [90, 3000]] + } + }, + { + "id": "street_scene", + "kind": "scene", + "why": "step 21: a Pokemon drives the trainers off (no battle)", + "action": "a" + }, + { + "id": "leave_battle_zone", + "kind": "talk", + "why": "step 22: A at the gate's \"A Leave\", where the street scene ends; Taunie's first line ~3.5 s later (console B, 2026-11-10)" + }, + { + "id": "out_of_battle_zone", + "kind": "scene", + "why": "step 23: Taunie: out of the Battle Zone, Hotel Z's just through here", + "action": "a" + }, + { + "id": "through_covered_passage", + "kind": "game_action", + "why": "step 23: through the wooden door and the covered passage into the Hotel Z scene. Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": { + "legs": [[75, 3000], [40, 1500], [0, 3000]], + "held": true + } + }, + { + "id": "hotel_z_arrival", + "kind": "scene", + "why": "step 23: the Hotel Z arrival scene", + "action": "a" + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split from 02.01 at the autosave after Brigitte (2026-11-10); split at the autosave in front of Hotel Z (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json new file mode 100644 index 0000000000..c03755c2b0 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json @@ -0,0 +1,60 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.03", + "title": "Main Mission 02: Hotel Z check-in", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "to_hotel_z_door", + "kind": "game_action", + "why": "step 24: up the steps to the door's \"A Enter\". 3-4.5 s, the longest. Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[0, 4500]]} + }, + { + "id": "hotel_z_lobby", + "kind": "game_action", + "why": "steps 24-25: A Enter at the door, the loading screen, the lobby scene with Taunie (a plain scene step ends at once on the door's prompt; console B, 2026-11-10)", + "action": "mash_to_move_hints", + "args": {"press_a_first": true} + }, + { + "id": "to_front_counter", + "kind": "game_action", + "why": "step 26: along the counter to the clerk's \"A Talk\". 2.25 s was one step short. Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[-5, 2500], [-85, 0]]} + }, + { + "id": "talk_to_clerk", + "kind": "talk", + "why": "step 26: A at the clerk (\"A Talk ???\")" + }, + { + "id": "face_az", + "kind": "game_action", + "why": "step 26: the first A talks to Taunie (\"This is Hotel Z's owner, come say hello\"); a short stick tap up-right turns to AZ (console B, 2026-11-10)", + "action": "walk", + "args": {"legs": [[45, 200]], "held": true} + }, + { + "id": "check_in", + "kind": "game_action", + "why": "step 27: A at AZ, the check-in scene with Taunie and the Key to Room 202, until control facing the elevator (console B, 2026-11-10)", + "action": "mash_to_move_hints", + "args": {"press_a_first": true} + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split from 02.02 at the autosave in front of Hotel Z (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json new file mode 100644 index 0000000000..dcc1ebe864 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json @@ -0,0 +1,66 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.04", + "title": "Main Mission 02: Hotel Z elevator to Room 202", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "to_lobby_elevator", + "kind": "game_action", + "why": "step 28: to the elevator's \"A Take Elevator\". Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[0, 2000]]} + }, + { + "id": "take_elevator_up", + "kind": "talk", + "why": "step 28: A Take Elevator, \"Which floor?\"" + }, + { + "id": "floor_question", + "kind": "game_action", + "why": "step 28: the elevator line, then \"Which floor?\", before the choice shows; B would close the talk (console B, 2026-11-10)", + "action": "text_to_choice", + "args": {"advance_with_a": true} + }, + { + "id": "ride_to_2f", + "kind": "game_action", + "why": "step 28: \"2F\", the first floor listed", + "action": "choose_0" + }, + { + "id": "arrive_2f", + "kind": "game_action", + "why": "step 28: the ride, until control on 2F; the hall shows no party bar or prompt, so the quiet time is control (console B, 2026-11-10)", + "action": "mash_to_move_hints", + "args": {"quiet_ms": 3000, "min_length_ms": 5000, "quiet_is_control": true} + }, + { + "id": "to_room_202", + "kind": "game_action", + "why": "step 29: to \"Room 202 / A Enter\". Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[-15, 2000]]} + }, + { + "id": "enter_room_202", + "kind": "game_action", + "why": "step 30: A Enter, \"Here's room 202.\", the fade, until control in the room; no party bar or prompt there (console B, 2026-11-10)", + "action": "mash_to_move_hints", + "args": {"press_a_first": true, "quiet_ms": 3000, "min_length_ms": 5000, "quiet_is_control": true} + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split from 02.03 at the autosave after the check-in (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json new file mode 100644 index 0000000000..5cd567a136 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json @@ -0,0 +1,52 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.05", + "title": "Main Mission 02: the night in Room 202", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "to_bed", + "kind": "game_action", + "why": "step 31: to the bed's \"A Rest\". 1.5 s explored, 1 s enough. Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[45, 1000]], "held": true} + }, + { + "id": "rest", + "kind": "talk", + "why": "step 31: A Rest, \"Rest until tomorrow morning?\"" + }, + { + "id": "rest_question", + "kind": "game_action", + "why": "step 31: \"Rest until tomorrow morning?\" before the choice shows", + "action": "text_to_choice", + "args": {"advance_with_a": true} + }, + { + "id": "rest_until_morning", + "kind": "game_action", + "why": "step 31: yes", + "action": "choose_0" + }, + { + "id": "wake_up", + "kind": "game_action", + "why": "step 32: sleep and wake up, until control facing the door; the room shows no party bar or prompt, so the quiet time is control", + "action": "mash_to_move_hints", + "args": {"quiet_ms": 3000, "min_length_ms": 20000, "quiet_is_control": true} + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split from 02.04 at the autosave on entering Room 202 (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json new file mode 100644 index 0000000000..ab28e80976 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json @@ -0,0 +1,34 @@ +{ + "format": "pokesim-authored-checkpoint/1", + "game": "plza", + "checkpoint": { + "id": "02.06", + "title": "Main Mission 02: the first evening to Main Mission 03", + "start": { + "map": "LumioseCity" + }, + "events": [ + { + "id": "to_room_door", + "kind": "game_action", + "why": "step 33: to the door's \"A Leave\". Measured 2026-11-08 on console B, walk not run.", + "action": "walk", + "args": {"legs": [[0, 2000]]} + }, + { + "id": "first_evening", + "kind": "game_action", + "why": "steps 33-35: A Leave at the door, Taunie, the rooftop, AZ, the Main Mission 03 banner and its autosave", + "action": "mash_to_move_hints", + "args": {"press_a_first": true} + } + ], + "metadata": { + "phase": "testing", + "source": "console B recording, 2026-11-08/09: played step by step from a new game; split from 02.05 at the autosave after waking up (2026-11-10)" + } + }, + "execution": { + "save": "autosave" + } +} From 505c1f309340625c8eb2617d3e2c3e024ecb07b6 Mon Sep 17 00:00:00 2001 From: dayfine Date: Tue, 10 Nov 2026 22:12:27 -0800 Subject: [PATCH 2/4] PokemonLZA: AutoStory: 02.xx starts are places Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../Programs/AutoStory/StoryData/plza-01.01.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-01.02.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-01.03.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.01.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.02.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.03.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.04.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.05.plan.json | 2 +- .../Programs/AutoStory/StoryData/plza-02.06.plan.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.01.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.01.plan.json index a7068ab670..92358ddafb 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.01.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.01.plan.json @@ -5,7 +5,7 @@ "id": "01.01", "title": "The platform to Main Mission 01", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.02.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.02.plan.json index 99422172ed..ba7f82720c 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.02.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.02.plan.json @@ -5,7 +5,7 @@ "id": "01.02", "title": "Main Mission 01: chase Pancham to the battle area", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.03.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.03.plan.json index 71252a5e38..36bd3ff2ab 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.03.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-01.03.plan.json @@ -5,7 +5,7 @@ "id": "01.03", "title": "Main Mission 01: the starter and Andi", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json index 57b2e00ab2..19278985e2 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.01.plan.json @@ -5,7 +5,7 @@ "id": "02.01", "title": "Main Mission 02: Battle Zone to Brigitte", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json index d85f4e25fd..c78ef978c3 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json @@ -5,7 +5,7 @@ "id": "02.02", "title": "Main Mission 02: after Brigitte to Hotel Z", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json index c03755c2b0..059db05bc2 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json @@ -5,7 +5,7 @@ "id": "02.03", "title": "Main Mission 02: Hotel Z check-in", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json index dcc1ebe864..e7f12ef1d8 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json @@ -5,7 +5,7 @@ "id": "02.04", "title": "Main Mission 02: Hotel Z elevator to Room 202", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json index 5cd567a136..6cce33b0a3 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json @@ -5,7 +5,7 @@ "id": "02.05", "title": "Main Mission 02: the night in Room 202", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json index ab28e80976..b4e7c2b1ad 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json @@ -5,7 +5,7 @@ "id": "02.06", "title": "Main Mission 02: the first evening to Main Mission 03", "start": { - "map": "LumioseCity" + "place": "LumioseCity" }, "events": [ { From 0709bf4c86ce3b7d56156704a2db9889d8440893 Mon Sep 17 00:00:00 2001 From: dayfine Date: Fri, 13 Nov 2026 12:16:58 -0800 Subject: [PATCH 3/4] PokemonLZA AutoStory: 02.02-02.06 reload their save when run after the checkpoint before Each starts with a relative walk right after the checkpoint before ends in a scene, and that checkpoint ends on the game's autosave. 02.02 run after 02.01 (the Brigitte battle) walked past the street scene's trigger twice (console B, 2026-11-13 08:12 and 12:09) while it passed five times from its save (2026-11-10). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../Programs/AutoStory/StoryData/plza-02.02.plan.json | 3 ++- .../Programs/AutoStory/StoryData/plza-02.03.plan.json | 3 ++- .../Programs/AutoStory/StoryData/plza-02.04.plan.json | 3 ++- .../Programs/AutoStory/StoryData/plza-02.05.plan.json | 3 ++- .../Programs/AutoStory/StoryData/plza-02.06.plan.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json index c78ef978c3..ef293ee682 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json @@ -57,6 +57,7 @@ } }, "execution": { - "save": "autosave" + "save": "autosave", + "reload_when_chained": true } } diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json index 059db05bc2..55eab6fb3c 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.03.plan.json @@ -55,6 +55,7 @@ } }, "execution": { - "save": "autosave" + "save": "autosave", + "reload_when_chained": true } } diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json index e7f12ef1d8..51c85ae4a2 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.04.plan.json @@ -61,6 +61,7 @@ } }, "execution": { - "save": "autosave" + "save": "autosave", + "reload_when_chained": true } } diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json index 6cce33b0a3..908d3e2bb3 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.05.plan.json @@ -47,6 +47,7 @@ } }, "execution": { - "save": "autosave" + "save": "autosave", + "reload_when_chained": true } } diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json index b4e7c2b1ad..5014bc3d7f 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.06.plan.json @@ -29,6 +29,7 @@ } }, "execution": { - "save": "autosave" + "save": "autosave", + "reload_when_chained": true } } From 7ee9741fba550691dc60631a3e781d5073156856 Mon Sep 17 00:00:00 2001 From: dayfine Date: Fri, 13 Nov 2026 12:19:49 -0800 Subject: [PATCH 4/4] PokemonLZA AutoStory: 02.02 walks to the Battle Zone gate's prompt before leaving Restores to_battle_zone_gate (removed in 0015e5152) as walk_to_prompt: no walk when the street scene ends at the gate, as from the save, and on to the gate's "A Leave" when it ends at the near end of the street, as after the Brigitte battle (console B, 2026-11-13). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../Programs/AutoStory/StoryData/plza-02.02.plan.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json index ef293ee682..1dc3cfcfea 100644 --- a/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json +++ b/SerialPrograms/Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData/plza-02.02.plan.json @@ -23,10 +23,19 @@ "why": "step 21: a Pokemon drives the trainers off (no battle)", "action": "a" }, + { + "id": "to_battle_zone_gate", + "kind": "game_action", + "why": "step 22: on to the gate's \"A Leave\" until its prompt shows. From the save the street scene ends at the gate (console B, 2026-11-10: no walk then); after the Brigitte battle it ended at the near end of the street, facing the gate (2026-11-13).", + "action": "walk_to_prompt", + "args": { + "timeout_ms": 10000 + } + }, { "id": "leave_battle_zone", "kind": "talk", - "why": "step 22: A at the gate's \"A Leave\", where the street scene ends; Taunie's first line ~3.5 s later (console B, 2026-11-10)" + "why": "step 22: A at the gate's \"A Leave\" (to_battle_zone_gate walked there); Taunie's first line ~3.5 s later (console B, 2026-11-10)" }, { "id": "out_of_battle_zone",