From 39f3ea2548dcabdcbe777970f47fc5844328076e Mon Sep 17 00:00:00 2001 From: dayfine Date: Wed, 11 Nov 2026 12:57:40 -0800 Subject: [PATCH] FRLG AutoStory: golden test for every story route's plan Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../PokemonFRLG_AutoStoryPlanGolden.h | 857 ++++++++++++++++++ .../AutoStory/PokemonFRLG_AutoStory_Tests.cpp | 99 +- SerialPrograms/cmake/SourceFiles.cmake | 1 + 3 files changed, 948 insertions(+), 9 deletions(-) create mode 100644 SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPlanGolden.h diff --git a/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPlanGolden.h b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPlanGolden.h new file mode 100644 index 0000000000..49cfc69b84 --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPlanGolden.h @@ -0,0 +1,857 @@ +/* FRLG AutoStory Plan Golden + * + * From: https://github.com/PokemonAutomation/ + * + * The steps plan_overworld_route() plans for every route of the story, + * each checkpoint from where the one before leaves the player + * (PokemonFRLG_AutoStory_Tests.cpp, "story route plans match the golden"): + * per route a header " from facing to ", + * then one line per step with its end and how it is walked. + * One string per line: MSVC caps a single literal at 16 KB. + * Regenerate from the test's failure log; see test_golden_plans(). + * + */ + +#ifndef PokemonAutomation_PokemonFRLG_AutoStoryPlanGolden_H +#define PokemonAutomation_PokemonFRLG_AutoStoryPlanGolden_H + +#include + +namespace PokemonAutomation{ +namespace NintendoSwitch{ +namespace PokemonFRLG{ + +// The stored plan lines, in the order the simulation plans them. +inline constexpr std::string_view FRLG_PLAN_GOLDEN[] = { + "01.03 front_door from PalletTown_PlayersHouse_2F (6, 6) facing north to PalletTown (6, 8)", + "01.03 walk east 4 -> PalletTown_PlayersHouse_2F (10, 6) [walk only]", + "01.03 walk north 4 (to wall) -> PalletTown_PlayersHouse_2F (10, 2) [walk only]", + "01.03 walk west 1 (warp) -> PalletTown_PlayersHouse_1F (10, 2) [walk only]", + "01.03 walk west 6 -> PalletTown_PlayersHouse_1F (4, 2) [walk only]", + "01.03 walk south 7 (warp) -> PalletTown (6, 8) [walk only]", + "01.04 below_oaks_trigger from PalletTown (6, 8) facing south to PalletTown (12, 2) facing north", + "01.04 walk south 2 (to wall) -> PalletTown (6, 10)", + "01.04 walk east 6 (to wall) -> PalletTown (12, 10)", + "01.04 walk north 8 -> PalletTown (12, 2)", + "01.05 below_squirtle from PalletTown_ProfessorOaksLab (6, 4) facing north to PalletTown_ProfessorOaksLab (9, 5) facing north", + "01.05 walk south 1 -> PalletTown_ProfessorOaksLab (6, 5) [walk only]", + "01.05 walk east 3 -> PalletTown_ProfessorOaksLab (9, 5) [walk only]", + "01.05 face north -> PalletTown_ProfessorOaksLab (9, 5) [walk only]", + "01.06 above_rival_trigger from PalletTown_ProfessorOaksLab (9, 5) facing north to PalletTown_ProfessorOaksLab (7, 7) facing south", + "01.06 walk south 2 (to wall) -> PalletTown_ProfessorOaksLab (9, 7) [walk only]", + "01.06 walk west 2 -> PalletTown_ProfessorOaksLab (7, 7) [walk only]", + "01.06 face south -> PalletTown_ProfessorOaksLab (7, 7) [walk only]", + "02.01 below_mart_door from PalletTown_ProfessorOaksLab (7, 8) facing south to ViridianCity (36, 20) facing north", + "02.01 walk south 4 (to wall) -> PalletTown_ProfessorOaksLab (7, 12) [walk only]", + "02.01 walk west 1 -> PalletTown_ProfessorOaksLab (6, 12) [walk only]", + "02.01 walk south 1 (warp) -> PalletTown (16, 14) [walk only]", + "02.01 walk west 4 -> PalletTown (12, 14)", + "02.01 walk north 22 -> Route1 (12, 32) [wild] [connection 15]", + "02.01 walk west 4 -> Route1 (8, 32) [wild]", + "02.01 walk north 3 -> Route1 (8, 29)", + "02.01 walk east 4 -> Route1 (12, 29)", + "02.01 walk north 8 -> Route1 (12, 21) [wild]", + "02.01 walk west 2 -> Route1 (10, 21)", + "02.01 walk north 3 -> Route1 (10, 18)", + "02.01 walk east 6 -> Route1 (16, 18)", + "02.01 walk north 16 (to wall) -> Route1 (16, 2) [wild]", + "02.01 walk west 6 -> Route1 (10, 2)", + "02.01 walk north 22 -> ViridianCity (22, 20) [connection 3]", + "02.01 walk east 14 -> ViridianCity (36, 20)", + "02.01 face north -> ViridianCity (36, 20)", + "02.02 below_oak from ViridianCity_Mart (4, 3) facing west to PalletTown_ProfessorOaksLab (6, 4) facing north", + "02.02 walk south 5 (warp) -> ViridianCity (36, 20) [walk only]", + "02.02 walk west 14 -> ViridianCity (22, 20)", + "02.02 walk south 24 -> Route1 (10, 4) [connection 20]", + "02.02 walk east 6 -> Route1 (16, 4)", + "02.02 walk south 15 -> Route1 (16, 19) [wild]", + "02.02 walk west 6 -> Route1 (10, 19)", + "02.02 walk south 4 -> Route1 (10, 23)", + "02.02 walk east 2 -> Route1 (12, 23)", + "02.02 walk south 4 -> Route1 (12, 27) [wild]", + "02.02 walk west 4 -> Route1 (8, 27)", + "02.02 walk south 8 (to wall) -> Route1 (8, 35) [wild]", + "02.02 walk east 3 -> Route1 (11, 35)", + "02.02 walk north 1 -> Route1 (11, 34)", + "02.02 walk east 1 -> Route1 (12, 34)", + "02.02 walk south 20 -> PalletTown (12, 14) [wild] [connection 6]", + "02.02 walk east 4 -> PalletTown (16, 14)", + "02.02 walk north 1 (warp) -> PalletTown_ProfessorOaksLab (6, 12)", + "02.02 walk north 8 -> PalletTown_ProfessorOaksLab (6, 4) [walk only]", + "02.03 mart_clerk from PalletTown_ProfessorOaksLab (6, 4) facing south to ViridianCity_Mart (4, 3) facing west", + "02.03 walk south 9 (warp) -> PalletTown (16, 14) [walk only]", + "02.03 walk west 4 -> PalletTown (12, 14)", + "02.03 walk north 22 -> Route1 (12, 32) [wild] [connection 15]", + "02.03 walk west 4 -> Route1 (8, 32) [wild]", + "02.03 walk north 3 -> Route1 (8, 29)", + "02.03 walk east 4 -> Route1 (12, 29)", + "02.03 walk north 8 -> Route1 (12, 21) [wild]", + "02.03 walk west 2 -> Route1 (10, 21)", + "02.03 walk north 3 -> Route1 (10, 18)", + "02.03 walk east 6 -> Route1 (16, 18)", + "02.03 walk north 16 (to wall) -> Route1 (16, 2) [wild]", + "02.03 walk west 6 -> Route1 (10, 2)", + "02.03 walk north 22 -> ViridianCity (22, 20) [connection 3]", + "02.03 walk east 14 -> ViridianCity (36, 20)", + "02.03 walk north 1 (warp) -> ViridianCity_Mart (4, 7)", + "02.03 walk north 4 -> ViridianCity_Mart (4, 3) [walk only]", + "02.03 face west -> ViridianCity_Mart (4, 3) [walk only]", + "02.03 viridian_nurse from ViridianCity_Mart (4, 3) facing west to ViridianCity_PokemonCenter_1F (7, 4) facing north", + "02.03 walk south 5 (warp) -> ViridianCity (36, 20) [walk only]", + "02.03 walk south 9 -> ViridianCity (36, 29)", + "02.03 walk west 10 -> ViridianCity (26, 29)", + "02.03 walk north 3 (warp) -> ViridianCity_PokemonCenter_1F (7, 8)", + "02.03 walk north 4 (to wall) -> ViridianCity_PokemonCenter_1F (7, 4) [walk only]", + "02.03 below_old_man_trigger from ViridianCity_PokemonCenter_1F (7, 4) facing north to ViridianCity (20, 9) facing north", + "02.03 walk south 5 (warp) -> ViridianCity (26, 27) [walk only]", + "02.03 walk west 5 -> ViridianCity (21, 27)", + "02.03 walk north 18 -> ViridianCity (21, 9)", + "02.03 walk west 1 (to wall) -> ViridianCity (20, 9)", + "02.03 face north -> ViridianCity (20, 9)", + "02.03 past_old_man from ViridianCity (20, 8) facing east to ViridianCity (20, 5) facing north", + "02.03 walk north 3 -> ViridianCity (20, 5)", + "02.03 forest_entrance from ViridianCity (20, 5) facing north to ViridianForest (29, 62) facing north", + "02.03 walk east 1 -> ViridianCity (21, 5)", + "02.03 walk north 18 (to wall) -> Route2 (9, 67) [connection 6]", + "02.03 walk west 7 (to wall) -> Route2 (2, 67)", + "02.03 walk north 6 -> Route2 (2, 61)", + "02.03 walk east 11 (to wall) -> Route2 (13, 61)", + "02.03 walk north 8 (to wall) -> Route2 (13, 53)", + "02.03 walk west 7 -> Route2 (6, 53)", + "02.03 walk north 2 (warp) -> Route2_ViridianForest_SouthEntrance (7, 10)", + "02.03 walk north 9 (warp) -> ViridianForest (29, 62)", + "03.01 forest_north from ViridianForest (44, 43) facing north to ViridianForest (39, 25)", + "03.01 walk east 6 (to wall) -> ViridianForest (50, 43)", + "03.01 walk north 18 (to wall) -> ViridianForest (50, 25)", + "03.01 walk west 11 (to wall) -> ViridianForest (39, 25)", + "03.01 forest_gate from ViridianForest (4, 13) facing east to Route2_ViridianForest_NorthEntrance (7, 10) facing north", + "03.01 walk north 4 (warp) -> Route2_ViridianForest_NorthEntrance (7, 10)", + "03.01 pewter_nurse from Route2_ViridianForest_NorthEntrance (7, 10) facing north to PewterCity_PokemonCenter_1F (7, 4) facing north", + "03.01 walk north 9 (warp) -> Route2 (5, 13)", + "03.01 walk north 4 -> Route2 (5, 9)", + "03.01 walk east 6 (to wall) -> Route2 (11, 9)", + "03.01 walk north 23 -> PewterCity (23, 26) [connection 10]", + "03.01 walk west 6 -> PewterCity (17, 26)", + "03.01 walk north 1 (warp) -> PewterCity_PokemonCenter_1F (7, 8)", + "03.01 walk north 4 (to wall) -> PewterCity_PokemonCenter_1F (7, 4) [walk only]", + "03.02 below_liam_line from PewterCity_PokemonCenter_1F (7, 4) facing north to PewterCity_Gym (6, 9) facing north", + "03.02 walk south 5 (warp) -> PewterCity (17, 26) [walk only]", + "03.02 walk east 8 (to wall) -> PewterCity (25, 26)", + "03.02 walk north 14 -> PewterCity (25, 12)", + "03.02 walk west 17 -> PewterCity (8, 12)", + "03.02 walk south 7 (to wall) -> PewterCity (8, 19)", + "03.02 walk east 7 -> PewterCity (15, 19)", + "03.02 walk north 3 (warp) -> PewterCity_Gym (6, 14)", + "03.02 walk north 5 -> PewterCity_Gym (6, 9) [walk only]", + "03.02 ready_for_brock from PewterCity_Gym (6, 8) facing north to PewterCity_PokemonCenter_1F (7, 4) facing north", + "03.02 walk south 7 (warp) -> PewterCity (15, 17) [walk only]", + "03.02 walk west 7 -> PewterCity (8, 17)", + "03.02 walk north 5 -> PewterCity (8, 12)", + "03.02 walk east 14 -> PewterCity (22, 12)", + "03.02 walk south 14 -> PewterCity (22, 26)", + "03.02 walk west 5 -> PewterCity (17, 26)", + "03.02 walk north 1 (warp) -> PewterCity_PokemonCenter_1F (7, 8)", + "03.02 walk north 4 (to wall) -> PewterCity_PokemonCenter_1F (7, 4) [walk only]", + "03.02 before_brock from PewterCity_Gym (6, 8) facing north to PewterCity_Gym (6, 6) facing north", + "03.02 walk north 2 -> PewterCity_Gym (6, 6) [walk only]", + "03.03 before_aide_trigger from PewterCity_Gym (6, 6) facing north to PewterCity (45, 21) facing east", + "03.03 walk south 9 (warp) -> PewterCity (15, 17) [walk only]", + "03.03 walk west 7 -> PewterCity (8, 17)", + "03.03 walk north 5 -> PewterCity (8, 12)", + "03.03 walk east 30 -> PewterCity (38, 12)", + "03.03 walk south 9 -> PewterCity (38, 21)", + "03.03 walk east 7 -> PewterCity (45, 21)", + "03.03 below_pewter_center from PewterCity (46, 21) facing north to PewterCity (17, 26) facing south", + "03.03 walk west 24 -> PewterCity (22, 21)", + "03.03 walk south 5 -> PewterCity (22, 26)", + "03.03 walk west 5 -> PewterCity (17, 26)", + "03.03 face south -> PewterCity (17, 26)", + "04.01 pewter_nurse from PewterCity (17, 26) facing south to PewterCity_PokemonCenter_1F (7, 4) facing north", + "04.01 walk north 1 (warp) -> PewterCity_PokemonCenter_1F (7, 8)", + "04.01 walk north 4 (to wall) -> PewterCity_PokemonCenter_1F (7, 4) [walk only]", + "04.01 west_of_janice_line from PewterCity_PokemonCenter_1F (7, 4) facing north to Route3 (13, 8)", + "04.01 walk south 5 (warp) -> PewterCity (17, 26) [walk only]", + "04.01 walk east 8 (to wall) -> PewterCity (25, 26)", + "04.01 walk north 5 -> PewterCity (25, 21)", + "04.01 walk east 31 (to wall) -> Route3 (8, 11) [connection 23]", + "04.01 walk north 3 (to wall) -> Route3 (8, 8)", + "04.01 walk east 5 -> Route3 (13, 8)", + "04.02 route4_nurse from Route3 (36, 8) facing south to Route4_PokemonCenter_1F (7, 4) facing north", + "04.02 walk south 1 -> Route3 (36, 9)", + "04.02 walk east 11 (to wall) -> Route3 (47, 9)", + "04.02 walk north 2 -> Route3 (47, 7)", + "04.02 walk east 13 (to wall) -> Route3 (60, 7)", + "04.02 walk south 4 -> Route3 (60, 11)", + "04.02 walk east 9 (to wall) -> Route3 (69, 11)", + "04.02 walk north 2 -> Route3 (69, 9)", + "04.02 walk east 3 (to wall) -> Route3 (72, 9)", + "04.02 walk north 24 (warp) -> Route4_PokemonCenter_1F (7, 8) [connection 10]", + "04.02 walk north 4 (to wall) -> Route4_PokemonCenter_1F (7, 4) [walk only]", + "04.02 before_salesman from Route4_PokemonCenter_1F (7, 4) facing north to Route4_PokemonCenter_1F (2, 3) facing west", + "04.02 walk south 2 -> Route4_PokemonCenter_1F (7, 6) [walk only]", + "04.02 walk west 5 -> Route4_PokemonCenter_1F (2, 6) [walk only]", + "04.02 walk north 3 -> Route4_PokemonCenter_1F (2, 3) [walk only]", + "04.02 face west -> Route4_PokemonCenter_1F (2, 3) [walk only]", + "04.04 pc_front from Route4_PokemonCenter_1F (2, 3) facing west to Route4_PokemonCenter_1F (11, 2) facing north", + "04.04 walk south 5 (to wall) -> Route4_PokemonCenter_1F (2, 8) [walk only]", + "04.04 walk east 11 -> Route4_PokemonCenter_1F (13, 8) [walk only]", + "04.04 walk north 6 (to wall) -> Route4_PokemonCenter_1F (13, 2) [walk only]", + "04.04 walk west 2 (to wall) -> Route4_PokemonCenter_1F (11, 2) [walk only]", + "04.04 face north -> Route4_PokemonCenter_1F (11, 2) [walk only]", + "04.05 route4_nurse from Route4_PokemonCenter_1F (11, 2) facing north to Route4_PokemonCenter_1F (7, 4) facing north", + "04.05 walk south 3 (to wall) -> Route4_PokemonCenter_1F (11, 5) [walk only]", + "04.05 walk west 4 -> Route4_PokemonCenter_1F (7, 5) [walk only]", + "04.05 walk north 1 (to wall) -> Route4_PokemonCenter_1F (7, 4) [walk only]", + "04.05 mt_moon_entrance from Route4_PokemonCenter_1F (7, 4) facing north to MtMoon_1F (18, 37) facing north", + "04.05 walk south 5 (warp) -> Route4 (12, 6) [walk only]", + "04.05 walk east 7 -> Route4 (19, 6)", + "04.05 walk north 1 (warp) -> MtMoon_1F (18, 37)", + "04.05 below_moon_stone from MtMoon_1F (3, 3) facing east to MtMoon_1F (3, 3) facing north", + "04.05 face north -> MtMoon_1F (3, 3)", + "04.05 b2f_ladder_foot from MtMoon_1F (3, 3) facing north to MtMoon_B2F (26, 21) facing east", + "04.05 walk east 2 -> MtMoon_1F (5, 3) [wild]", + "04.05 walk south 3 (warp) -> MtMoon_B1F (3, 3) [wild]", + "04.05 walk south 15 (to wall) -> MtMoon_B1F (3, 18) [wild]", + "04.05 walk east 19 (warp) -> MtMoon_B2F (25, 21) [wild]", + "04.05 walk east 1 (to wall) -> MtMoon_B2F (26, 21) [wild]", + "04.05 ready_for_miguel from MtMoon_B2F (12, 21) facing east to Route4_PokemonCenter_1F (7, 4) facing north", + "04.05 walk south 17 (to wall) -> MtMoon_B2F (12, 38) [wild]", + "04.05 walk east 29 (to wall) -> MtMoon_B2F (41, 38) [wild]", + "04.05 walk north 11 (to wall) -> MtMoon_B2F (41, 27) [wild]", + "04.05 walk east 5 (to wall) -> MtMoon_B2F (46, 27) [wild]", + "04.05 walk north 13 (to wall) -> MtMoon_B2F (46, 14) [wild]", + "04.05 walk west 8 -> MtMoon_B2F (38, 14) [wild]", + "04.05 walk south 8 (to wall) -> MtMoon_B2F (38, 22) [wild]", + "04.05 walk west 7 -> MtMoon_B2F (31, 22) [wild]", + "04.05 walk north 8 (to wall) -> MtMoon_B2F (31, 14) [wild]", + "04.05 walk west 8 (to wall) -> MtMoon_B2F (23, 14) [wild]", + "04.05 walk south 8 (to wall) -> MtMoon_B2F (23, 22) [wild]", + "04.05 walk east 2 (to wall) -> MtMoon_B2F (25, 22) [wild]", + "04.05 walk north 1 (warp) -> MtMoon_B1F (22, 18)", + "04.05 walk north 2 (to wall) -> MtMoon_B1F (22, 16) [wild]", + "04.05 walk west 20 (to wall) -> MtMoon_B1F (2, 16) [wild]", + "04.05 walk north 13 (to wall) -> MtMoon_B1F (2, 3) [wild]", + "04.05 walk east 1 (warp) -> MtMoon_1F (5, 6)", + "04.05 walk east 7 (to wall) -> MtMoon_1F (12, 6) [wild]", + "04.05 walk south 15 (to wall) -> MtMoon_1F (12, 21) [wild]", + "04.05 walk east 7 (to wall) -> MtMoon_1F (19, 21) [wild]", + "04.05 walk north 7 (warp) -> MtMoon_B1F (25, 4) [wild]", + "04.05 walk east 1 (to wall) -> MtMoon_B1F (26, 4) [wild]", + "04.05 walk west 1 (warp) -> MtMoon_1F (19, 14)", + "04.05 walk west 3 (to wall) -> MtMoon_1F (16, 14) [wild]", + "04.05 walk north 6 (to wall) -> MtMoon_1F (16, 8) [wild]", + "04.05 walk east 23 (to wall) -> MtMoon_1F (39, 8) [wild]", + "04.05 walk south 5 (to wall) -> MtMoon_1F (39, 13) [wild]", + "04.05 walk west 5 (to wall) -> MtMoon_1F (34, 13) [wild]", + "04.05 walk south 2 -> MtMoon_1F (34, 15) [wild]", + "04.05 walk west 10 (to wall) -> MtMoon_1F (24, 15) [wild]", + "04.05 walk south 13 (to wall) -> MtMoon_1F (24, 28) [wild]", + "04.05 walk west 6 -> MtMoon_1F (18, 28) [wild]", + "04.05 walk south 10 (warp) -> Route4 (19, 6) [wild]", + "04.05 walk west 7 -> Route4 (12, 6)", + "04.05 walk north 1 (warp) -> Route4_PokemonCenter_1F (7, 8)", + "04.05 walk north 4 (to wall) -> Route4_PokemonCenter_1F (7, 4) [walk only]", + "04.05 route4_east from MtMoon_B2F (14, 7) facing north to Route4 (32, 6) facing south", + "04.05 walk north 4 (to wall) -> MtMoon_B2F (14, 3) [wild]", + "04.05 walk west 11 (to wall) -> MtMoon_B2F (3, 3) [wild]", + "04.05 walk south 7 -> MtMoon_B2F (3, 10) [wild]", + "04.05 walk east 2 (warp) -> MtMoon_B1F (39, 4) [wild]", + "04.05 walk east 6 (warp) -> Route4 (32, 6) [wild]", + "04.06 mega_kick_tutor from Route4 (32, 6) facing south to Route4 (50, 4) facing north", + "04.06 walk east 17 -> Route4 (49, 6)", + "04.06 walk north 2 -> Route4 (49, 4)", + "04.06 walk east 1 -> Route4 (50, 4)", + "04.06 face north -> Route4 (50, 4)", + "04.06 above_ledge from Route4 (50, 4) facing north to Route4 (93, 8) facing south", + "04.06 walk west 2 -> Route4 (48, 4)", + "04.06 walk south 4 -> Route4 (48, 8)", + "04.06 walk west 5 -> Route4 (43, 8)", + "04.06 walk south 4 (to wall) -> Route4 (43, 12)", + "04.06 walk east 27 (to wall) -> Route4 (70, 12)", + "04.06 walk north 4 -> Route4 (70, 8)", + "04.06 walk east 23 -> Route4 (93, 8)", + "04.06 face south -> Route4 (93, 8)", + "04.06 cerulean_entry from Route4 (93, 10) facing south to CeruleanCity (9, 20) facing east", + "04.06 walk east 24 -> CeruleanCity (9, 20) [connection 15]", + "04.06 cerulean_nurse from CeruleanCity (25, 19) facing south to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "04.06 walk south 1 -> CeruleanCity (25, 20)", + "04.06 walk west 3 -> CeruleanCity (22, 20)", + "04.06 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "04.06 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.01 mart_clerk from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity_Mart (4, 3) facing west", + "05.01 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.01 walk south 5 (to wall) -> CeruleanCity (22, 25)", + "05.01 walk east 15 (to wall) -> CeruleanCity (37, 25)", + "05.01 walk south 6 (to wall) -> CeruleanCity (37, 31)", + "05.01 walk west 8 -> CeruleanCity (29, 31)", + "05.01 walk north 3 (warp) -> CeruleanCity_Mart (4, 7)", + "05.01 walk north 4 -> CeruleanCity_Mart (4, 3) [walk only]", + "05.01 face west -> CeruleanCity_Mart (4, 3) [walk only]", + "05.01 grind_patch from CeruleanCity_Mart (4, 3) facing west to Route4 (86, 16) facing west", + "05.01 walk south 5 (warp) -> CeruleanCity (29, 29) [walk only]", + "05.01 walk west 22 (to wall) -> CeruleanCity (7, 29)", + "05.01 walk north 9 (to wall) -> CeruleanCity (7, 20)", + "05.01 walk west 23 -> Route4 (92, 10) [connection 8]", + "05.01 walk south 8 (to wall) -> Route4 (92, 18)", + "05.01 walk west 6 (to wall) -> Route4 (86, 18)", + "05.01 walk north 2 -> Route4 (86, 16) [wild]", + "05.01 face west -> Route4 (86, 16)", + "05.01 cerulean_nurse from Route4 (86, 16) facing west to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.01 walk south 2 (to wall) -> Route4 (86, 18)", + "05.01 walk east 8 (to wall) -> Route4 (94, 18)", + "05.01 walk north 6 -> Route4 (94, 12)", + "05.01 walk east 21 -> CeruleanCity (7, 22) [connection 14]", + "05.01 walk south 9 (to wall) -> CeruleanCity (7, 31)", + "05.01 walk east 12 -> CeruleanCity (19, 31)", + "05.01 walk north 11 -> CeruleanCity (19, 20)", + "05.01 walk east 3 -> CeruleanCity (22, 20)", + "05.01 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.01 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.01 gym_below_luis from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity_Gym (9, 13)", + "05.01 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.01 walk south 5 (to wall) -> CeruleanCity (22, 25)", + "05.01 walk east 9 -> CeruleanCity (31, 25)", + "05.01 walk north 4 (warp) -> CeruleanCity_Gym (8, 18)", + "05.01 walk north 2 (to wall) -> CeruleanCity_Gym (8, 16) [walk only]", + "05.01 walk east 1 -> CeruleanCity_Gym (9, 16) [walk only]", + "05.01 walk north 3 -> CeruleanCity_Gym (9, 13) [walk only]", + "05.02 beside_misty from CeruleanCity_Gym (9, 7) facing west to CeruleanCity_Gym (9, 6) facing west", + "05.02 walk north 1 (to wall) -> CeruleanCity_Gym (9, 6) [walk only]", + "05.02 face west -> CeruleanCity_Gym (9, 6) [walk only]", + "05.02 cerulean_nurse from CeruleanCity_Gym (9, 13) facing east to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.02 walk south 5 (to wall) -> CeruleanCity_Gym (9, 18) [walk only]", + "05.02 walk west 1 -> CeruleanCity_Gym (8, 18) [walk only]", + "05.02 walk south 1 (warp) -> CeruleanCity (31, 22) [walk only]", + "05.02 walk west 9 -> CeruleanCity (22, 22)", + "05.02 walk north 3 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.02 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.03 mart_clerk from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity_Mart (4, 3) facing west", + "05.03 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.03 walk south 5 (to wall) -> CeruleanCity (22, 25)", + "05.03 walk east 15 (to wall) -> CeruleanCity (37, 25)", + "05.03 walk south 6 (to wall) -> CeruleanCity (37, 31)", + "05.03 walk west 8 -> CeruleanCity (29, 31)", + "05.03 walk north 3 (warp) -> CeruleanCity_Mart (4, 7)", + "05.03 walk north 4 -> CeruleanCity_Mart (4, 3) [walk only]", + "05.03 face west -> CeruleanCity_Mart (4, 3) [walk only]", + "05.03 grind_patch from CeruleanCity_Mart (4, 3) facing west to Route4 (86, 16) facing west", + "05.03 walk south 5 (warp) -> CeruleanCity (29, 29) [walk only]", + "05.03 walk west 22 (to wall) -> CeruleanCity (7, 29)", + "05.03 walk north 9 (to wall) -> CeruleanCity (7, 20)", + "05.03 walk west 23 -> Route4 (92, 10) [connection 8]", + "05.03 walk south 8 (to wall) -> Route4 (92, 18)", + "05.03 walk west 6 (to wall) -> Route4 (86, 18)", + "05.03 walk north 2 -> Route4 (86, 16) [wild]", + "05.03 face west -> Route4 (86, 16)", + "05.03 cerulean_nurse from Route4 (86, 16) facing west to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.03 walk south 2 (to wall) -> Route4 (86, 18)", + "05.03 walk east 8 (to wall) -> Route4 (94, 18)", + "05.03 walk north 6 -> Route4 (94, 12)", + "05.03 walk east 21 -> CeruleanCity (7, 22) [connection 14]", + "05.03 walk south 9 (to wall) -> CeruleanCity (7, 31)", + "05.03 walk east 12 -> CeruleanCity (19, 31)", + "05.03 walk north 11 -> CeruleanCity (19, 20)", + "05.03 walk east 3 -> CeruleanCity (22, 20)", + "05.03 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.03 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.03 below_rival_trigger from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity (23, 7) facing north", + "05.03 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.03 walk west 5 -> CeruleanCity (17, 20)", + "05.03 walk south 11 (to wall) -> CeruleanCity (17, 31)", + "05.03 walk west 10 (to wall) -> CeruleanCity (7, 31)", + "05.03 walk north 11 (to wall) -> CeruleanCity (7, 20)", + "05.03 walk east 2 -> CeruleanCity (9, 20)", + "05.03 walk north 8 (to wall) -> CeruleanCity (9, 12)", + "05.03 walk east 14 -> CeruleanCity (23, 12)", + "05.03 walk north 5 -> CeruleanCity (23, 7)", + "05.05 cerulean_nurse from CeruleanCity (23, 6) facing south to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.05 walk south 8 -> CeruleanCity (23, 14)", + "05.05 walk west 15 (to wall) -> CeruleanCity (8, 14)", + "05.05 walk south 7 -> CeruleanCity (8, 21)", + "05.05 walk west 1 -> CeruleanCity (7, 21)", + "05.05 walk south 10 (to wall) -> CeruleanCity (7, 31)", + "05.05 walk east 12 -> CeruleanCity (19, 31)", + "05.05 walk north 11 -> CeruleanCity (19, 20)", + "05.05 walk east 3 -> CeruleanCity (22, 20)", + "05.05 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.05 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.05 below_cale_line from CeruleanCity_PokemonCenter_1F (7, 4) facing north to Route24 (11, 32) facing north", + "05.05 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.05 walk west 5 -> CeruleanCity (17, 20)", + "05.05 walk south 11 (to wall) -> CeruleanCity (17, 31)", + "05.05 walk west 10 (to wall) -> CeruleanCity (7, 31)", + "05.05 walk north 11 (to wall) -> CeruleanCity (7, 20)", + "05.05 walk east 2 -> CeruleanCity (9, 20)", + "05.05 walk north 8 (to wall) -> CeruleanCity (9, 12)", + "05.05 walk east 14 -> CeruleanCity (23, 12)", + "05.05 walk north 20 -> Route24 (11, 32) [connection 13]", + "05.05 ready_for_rocket from Route24 (11, 19) facing north to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.05 walk south 35 -> CeruleanCity (23, 14) [connection 21]", + "05.05 walk west 15 (to wall) -> CeruleanCity (8, 14)", + "05.05 walk south 7 -> CeruleanCity (8, 21)", + "05.05 walk west 1 -> CeruleanCity (7, 21)", + "05.05 walk south 10 (to wall) -> CeruleanCity (7, 31)", + "05.05 walk east 12 -> CeruleanCity (19, 31)", + "05.05 walk north 11 -> CeruleanCity (19, 20)", + "05.05 walk east 3 -> CeruleanCity (22, 20)", + "05.05 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.05 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.05 below_rocket_trigger from Route24 (11, 19) facing north to Route24 (11, 16) facing north", + "05.05 walk north 3 -> Route24 (11, 16)", + "05.06 below_franklin_line from Route24 (11, 15) facing east to Route25 (15, 5) facing north", + "05.06 walk north 7 -> Route24 (11, 8)", + "05.06 walk east 25 (to wall) -> Route25 (12, 8) [connection 13]", + "05.06 walk north 3 -> Route25 (12, 5)", + "05.06 walk east 3 (to wall) -> Route25 (15, 5)", + "05.06 face north -> Route25 (15, 5)", + "05.06 sea_cottage from Route25 (42, 8) facing north to Route25_SeaCottage (7, 8) facing north", + "05.06 walk east 9 -> Route25 (51, 8)", + "05.06 walk north 4 (warp) -> Route25_SeaCottage (7, 9)", + "05.06 walk north 1 -> Route25_SeaCottage (7, 8) [walk only]", + "05.07 below_bill_clefairy from Route25_SeaCottage (7, 8) facing north to Route25_SeaCottage (10, 7) facing north", + "05.07 walk north 1 -> Route25_SeaCottage (7, 7) [walk only]", + "05.07 walk east 3 -> Route25_SeaCottage (10, 7) [walk only]", + "05.07 face north -> Route25_SeaCottage (10, 7) [walk only]", + "05.07 pc_front from Route25_SeaCottage (10, 7) facing north to Route25_SeaCottage (4, 6) facing north", + "05.07 walk west 6 -> Route25_SeaCottage (4, 7) [walk only]", + "05.07 walk north 1 (to wall) -> Route25_SeaCottage (4, 6) [walk only]", + "05.07 out_of_cottage from Route25_SeaCottage (7, 8) facing east to Route25 (51, 5) facing south", + "05.07 walk south 2 (warp) -> Route25 (51, 5) [walk only]", + "05.08 above_cerulean_ledge from Route25 (51, 5) facing south to CeruleanCity (27, 0) facing south", + "05.08 walk south 7 (to wall) -> Route25 (51, 12)", + "05.08 walk west 10 (to wall) -> Route25 (41, 12)", + "05.08 walk north 1 (to wall) -> Route25 (41, 11)", + "05.08 walk west 50 -> Route24 (15, 11) [connection 42]", + "05.08 walk south 29 -> CeruleanCity (27, 0) [connection 29]", + "05.08 cerulean_nurse from CeruleanCity (27, 2) facing south to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.08 walk south 12 -> CeruleanCity (27, 14)", + "05.08 walk west 19 (to wall) -> CeruleanCity (8, 14)", + "05.08 walk south 7 -> CeruleanCity (8, 21)", + "05.08 walk west 1 -> CeruleanCity (7, 21)", + "05.08 walk south 10 (to wall) -> CeruleanCity (7, 31)", + "05.08 walk east 12 -> CeruleanCity (19, 31)", + "05.08 walk north 11 -> CeruleanCity (19, 20)", + "05.08 walk east 3 -> CeruleanCity (22, 20)", + "05.08 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.08 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.09 mart_clerk from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity_Mart (4, 3) facing west", + "05.09 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.09 walk south 5 (to wall) -> CeruleanCity (22, 25)", + "05.09 walk east 15 (to wall) -> CeruleanCity (37, 25)", + "05.09 walk south 6 (to wall) -> CeruleanCity (37, 31)", + "05.09 walk west 8 -> CeruleanCity (29, 31)", + "05.09 walk north 3 (warp) -> CeruleanCity_Mart (4, 7)", + "05.09 walk north 4 -> CeruleanCity_Mart (4, 3) [walk only]", + "05.09 face west -> CeruleanCity_Mart (4, 3) [walk only]", + "05.09 oddish_patch from CeruleanCity_Mart (4, 3) facing west to Route24 (3, 19)", + "05.09 walk south 5 (warp) -> CeruleanCity (29, 29) [walk only]", + "05.09 walk west 22 (to wall) -> CeruleanCity (7, 29)", + "05.09 walk north 9 (to wall) -> CeruleanCity (7, 20)", + "05.09 walk east 2 -> CeruleanCity (9, 20)", + "05.09 walk north 8 (to wall) -> CeruleanCity (9, 12)", + "05.09 walk east 14 -> CeruleanCity (23, 12)", + "05.09 walk north 37 -> Route24 (11, 15) [connection 13]", + "05.09 walk west 8 (to wall) -> Route24 (3, 15)", + "05.09 walk south 4 -> Route24 (3, 19) [wild]", + "05.09 cerulean_nurse from Route24 (3, 19) facing south to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "05.09 walk north 4 -> Route24 (3, 15)", + "05.09 walk east 8 -> Route24 (11, 15)", + "05.09 walk south 39 -> CeruleanCity (23, 14) [connection 25]", + "05.09 walk west 15 (to wall) -> CeruleanCity (8, 14)", + "05.09 walk south 7 -> CeruleanCity (8, 21)", + "05.09 walk west 1 -> CeruleanCity (7, 21)", + "05.09 walk south 10 (to wall) -> CeruleanCity (7, 31)", + "05.09 walk east 12 -> CeruleanCity (19, 31)", + "05.09 walk north 11 -> CeruleanCity (19, 20)", + "05.09 walk east 3 -> CeruleanCity (22, 20)", + "05.09 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "05.09 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "05.10 west_of_rocket from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity (32, 7) facing east", + "05.10 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "05.10 walk west 5 -> CeruleanCity (17, 20)", + "05.10 walk south 11 (to wall) -> CeruleanCity (17, 31)", + "05.10 walk west 10 (to wall) -> CeruleanCity (7, 31)", + "05.10 walk north 11 (to wall) -> CeruleanCity (7, 20)", + "05.10 walk east 2 -> CeruleanCity (9, 20)", + "05.10 walk north 8 (to wall) -> CeruleanCity (9, 12)", + "05.10 walk east 21 -> CeruleanCity (30, 12)", + "05.10 walk north 1 (warp) -> CeruleanCity_House2 (3, 7)", + "05.10 walk north 1 (to wall) -> CeruleanCity_House2 (3, 6) [walk only]", + "05.10 walk east 2 -> CeruleanCity_House2 (5, 6) [walk only]", + "05.10 walk north 4 (to wall) -> CeruleanCity_House2 (5, 2) [walk only]", + "05.10 walk west 1 -> CeruleanCity_House2 (4, 2) [walk only]", + "05.10 walk north 1 (warp) -> CeruleanCity (31, 8) [walk only]", + "05.10 walk east 1 (to wall) -> CeruleanCity (32, 8)", + "05.10 walk north 1 -> CeruleanCity (32, 7)", + "05.10 face east -> CeruleanCity (32, 7)", + "05.10 route6_column15 from CeruleanCity (33, 7) facing north to Route6 (15, 14)", + "05.10 walk east 4 -> CeruleanCity (37, 7)", + "05.10 walk south 10 -> CeruleanCity (37, 17)", + "05.10 walk east 3 (to wall) -> CeruleanCity (40, 17)", + "05.10 walk south 17 (to wall) -> CeruleanCity (40, 34)", + "05.10 walk west 11 -> CeruleanCity (29, 34)", + "05.10 walk south 38 -> Route5 (29, 32) [connection 6]", + "05.10 walk east 2 (to wall) -> Route5 (31, 32)", + "05.10 walk north 1 (warp) -> UndergroundPath_NorthEntrance (6, 8)", + "05.10 walk north 2 (to wall) -> UndergroundPath_NorthEntrance (6, 6)", + "05.10 walk east 2 (to wall) -> UndergroundPath_NorthEntrance (8, 6)", + "05.10 walk north 2 -> UndergroundPath_NorthEntrance (8, 4)", + "05.10 walk west 2 (warp) -> UndergroundPath_NorthSouthTunnel (4, 3)", + "05.10 walk south 57 -> UndergroundPath_NorthSouthTunnel (4, 60)", + "05.10 walk west 2 (warp) -> UndergroundPath_SouthEntrance (7, 4)", + "05.10 walk south 4 (to wall) -> UndergroundPath_SouthEntrance (7, 8)", + "05.10 walk west 1 -> UndergroundPath_SouthEntrance (6, 8)", + "05.10 walk south 1 (warp) -> Route6 (19, 14)", + "05.10 walk west 4 -> Route6 (15, 14)", + "05.10 vermilion_nurse from Route6 (10, 33) facing east to VermilionCity_PokemonCenter_1F (7, 4) facing north", + "05.10 walk south 14 -> VermilionCity (22, 7) [connection 7]", + "05.10 walk west 7 -> VermilionCity (15, 7)", + "05.10 walk north 1 (warp) -> VermilionCity_PokemonCenter_1F (7, 8)", + "05.10 walk north 4 (to wall) -> VermilionCity_PokemonCenter_1F (7, 4) [walk only]", + "06.01 above_ticket_check from VermilionCity_PokemonCenter_1F (7, 4) facing north to VermilionCity (23, 32) facing south", + "06.01 walk south 5 (warp) -> VermilionCity (15, 7) [walk only]", + "06.01 walk east 12 -> VermilionCity (27, 7)", + "06.01 walk south 7 (to wall) -> VermilionCity (27, 14)", + "06.01 walk west 4 -> VermilionCity (23, 14)", + "06.01 walk south 8 (to wall) -> VermilionCity (23, 22)", + "06.01 surf south -> VermilionCity (23, 23) [wild]", + "06.01 walk south 4 -> VermilionCity (23, 27) [surfing] [wild]", + "06.01 walk south 1 -> VermilionCity (23, 28) [surfing] [wild]", + "06.01 walk south 4 -> VermilionCity (23, 32)", + "06.01 aboard from VermilionCity (23, 33) facing east to SSAnne_1F_Corridor (19, 2) facing south", + "06.01 walk south 2 (warp) -> SSAnne_Exterior (32, 5)", + "06.01 walk south 10 (warp) -> SSAnne_1F_Corridor (19, 2)", + "06.01 below_rival_trigger from SSAnne_1F_Corridor (13, 8) facing north to SSAnne_2F_Corridor (30, 7) facing north", + "06.01 walk west 11 (warp) -> SSAnne_2F_Corridor (2, 2)", + "06.01 walk west 1 (to wall) -> SSAnne_2F_Corridor (1, 2)", + "06.01 walk south 8 (to wall) -> SSAnne_2F_Corridor (1, 10)", + "06.01 walk east 3 (to wall) -> SSAnne_2F_Corridor (4, 10)", + "06.01 walk south 4 (to wall) -> SSAnne_2F_Corridor (4, 14)", + "06.01 walk east 26 -> SSAnne_2F_Corridor (30, 14)", + "06.01 walk north 7 -> SSAnne_2F_Corridor (30, 7)", + "06.01 behind_captain from SSAnne_2F_Corridor (30, 6) facing north to SSAnne_CaptainsOffice (5, 5) facing north", + "06.01 walk north 4 (to wall) -> SSAnne_2F_Corridor (30, 2)", + "06.01 walk east 1 (warp) -> SSAnne_CaptainsOffice (3, 7)", + "06.01 walk north 2 (to wall) -> SSAnne_CaptainsOffice (3, 5)", + "06.01 walk east 2 -> SSAnne_CaptainsOffice (5, 5)", + "06.01 face north -> SSAnne_CaptainsOffice (5, 5)", + "06.01 off_2f from SSAnne_CaptainsOffice (5, 5) facing north to SSAnne_1F_Corridor (13, 8)", + "06.01 walk south 2 -> SSAnne_CaptainsOffice (5, 7)", + "06.01 walk west 3 (warp) -> SSAnne_2F_Corridor (30, 2)", + "06.01 walk south 9 -> SSAnne_2F_Corridor (30, 11)", + "06.01 walk west 27 (to wall) -> SSAnne_2F_Corridor (3, 11)", + "06.01 walk north 7 (to wall) -> SSAnne_2F_Corridor (3, 4)", + "06.01 walk west 2 (to wall) -> SSAnne_2F_Corridor (1, 4)", + "06.01 walk north 2 (to wall) -> SSAnne_2F_Corridor (1, 2)", + "06.01 walk east 2 (warp) -> SSAnne_1F_Corridor (3, 8)", + "06.01 walk east 10 -> SSAnne_1F_Corridor (13, 8)", + "06.01 below_ship_door from SSAnne_1F_Corridor (19, 9) facing east to SSAnne_1F_Corridor (19, 2) facing north", + "06.01 walk north 7 -> SSAnne_1F_Corridor (19, 2)", + "06.01 vermilion_nurse from VermilionCity (23, 32) facing north to VermilionCity_PokemonCenter_1F (7, 4) facing north", + "06.01 walk north 4 (to wall) -> VermilionCity (23, 28)", + "06.01 surf north -> VermilionCity (23, 27) [wild]", + "06.01 walk north 4 -> VermilionCity (23, 23) [surfing] [wild]", + "06.01 walk north 1 -> VermilionCity (23, 22) [surfing] [wild]", + "06.01 walk north 10 -> VermilionCity (23, 12)", + "06.01 walk east 4 -> VermilionCity (27, 12)", + "06.01 walk north 5 (to wall) -> VermilionCity (27, 7)", + "06.01 walk west 12 -> VermilionCity (15, 7)", + "06.01 walk north 1 (warp) -> VermilionCity_PokemonCenter_1F (7, 8)", + "06.01 walk north 4 (to wall) -> VermilionCity_PokemonCenter_1F (7, 4) [walk only]", + "06.02 above_gym_tree from VermilionCity_PokemonCenter_1F (7, 4) facing north to VermilionCity (19, 23) facing south", + "06.02 walk south 5 (warp) -> VermilionCity (15, 7) [walk only]", + "06.02 walk east 12 -> VermilionCity (27, 7)", + "06.02 walk south 7 (to wall) -> VermilionCity (27, 14)", + "06.02 walk west 5 -> VermilionCity (22, 14)", + "06.02 walk south 8 (to wall) -> VermilionCity (22, 22)", + "06.02 walk west 4 (to wall) -> VermilionCity (18, 22)", + "06.02 walk south 1 (to wall) -> VermilionCity (18, 23)", + "06.02 walk east 1 (to wall) -> VermilionCity (19, 23)", + "06.02 face south -> VermilionCity (19, 23)", + "06.02 gym_door from VermilionCity (19, 24) facing south to VermilionCity_Gym (5, 19) facing north", + "06.02 walk south 4 (to wall) -> VermilionCity (19, 28)", + "06.02 walk west 5 -> VermilionCity (14, 28)", + "06.02 walk north 3 (warp) -> VermilionCity_Gym (5, 19)", + "06.02 below_gym_tree from VermilionCity_Gym (5, 8) facing east to VermilionCity (19, 25) facing north", + "06.02 walk east 1 -> VermilionCity_Gym (6, 8) [walk only]", + "06.02 walk south 11 (to wall) -> VermilionCity_Gym (6, 19) [walk only]", + "06.02 walk west 1 -> VermilionCity_Gym (5, 19) [walk only]", + "06.02 walk south 1 (warp) -> VermilionCity (14, 26) [walk only]", + "06.02 walk east 5 (to wall) -> VermilionCity (19, 26)", + "06.02 walk north 1 -> VermilionCity (19, 25)", + "06.02 vermilion_nurse from VermilionCity (19, 24) facing north to VermilionCity_PokemonCenter_1F (7, 4) facing north", + "06.02 walk north 2 -> VermilionCity (19, 22)", + "06.02 walk east 7 (to wall) -> VermilionCity (26, 22)", + "06.02 walk north 10 -> VermilionCity (26, 12)", + "06.02 walk east 1 -> VermilionCity (27, 12)", + "06.02 walk north 5 (to wall) -> VermilionCity (27, 7)", + "06.02 walk west 12 -> VermilionCity (15, 7)", + "06.02 walk north 1 (warp) -> VermilionCity_PokemonCenter_1F (7, 8)", + "06.02 walk north 4 (to wall) -> VermilionCity_PokemonCenter_1F (7, 4) [walk only]", + "06.03 route6_south_path from VermilionCity_PokemonCenter_1F (7, 4) facing north to Route6 (11, 34) facing north", + "06.03 walk south 5 (warp) -> VermilionCity (15, 7) [walk only]", + "06.03 walk east 8 -> VermilionCity (23, 7)", + "06.03 walk north 13 -> Route6 (11, 34) [connection 8]", + "06.03 west_on_row_31 from Route6 (13, 31) facing east to Route6 (7, 31)", + "06.03 walk west 6 (to wall) -> Route6 (7, 31)", + "06.03 vermilion_nurse from Route6 (11, 33) facing east to VermilionCity_PokemonCenter_1F (7, 4) facing north", + "06.03 walk south 14 -> VermilionCity (23, 7) [connection 7]", + "06.03 walk west 8 -> VermilionCity (15, 7)", + "06.03 walk north 1 (warp) -> VermilionCity_PokemonCenter_1F (7, 8)", + "06.03 walk north 4 (to wall) -> VermilionCity_PokemonCenter_1F (7, 4) [walk only]", + "06.03 above_gym_tree from VermilionCity_PokemonCenter_1F (7, 4) facing north to VermilionCity (19, 23) facing south", + "06.03 walk south 5 (warp) -> VermilionCity (15, 7) [walk only]", + "06.03 walk east 12 -> VermilionCity (27, 7)", + "06.03 walk south 7 (to wall) -> VermilionCity (27, 14)", + "06.03 walk west 5 -> VermilionCity (22, 14)", + "06.03 walk south 8 (to wall) -> VermilionCity (22, 22)", + "06.03 walk west 4 (to wall) -> VermilionCity (18, 22)", + "06.03 walk south 1 (to wall) -> VermilionCity (18, 23)", + "06.03 walk east 1 (to wall) -> VermilionCity (19, 23)", + "06.03 face south -> VermilionCity (19, 23)", + "06.03 below_lt_surge from VermilionCity (19, 24) facing south to VermilionCity_Gym (5, 3) facing north", + "06.03 walk south 4 (to wall) -> VermilionCity (19, 28)", + "06.03 walk west 5 -> VermilionCity (14, 28)", + "06.03 walk north 3 (warp) -> VermilionCity_Gym (5, 19)", + "06.03 walk north 4 (to wall) -> VermilionCity_Gym (5, 15) [walk only]", + "06.03 walk east 1 -> VermilionCity_Gym (6, 15) [walk only]", + "06.03 walk north 12 -> VermilionCity_Gym (6, 3) [walk only]", + "06.03 walk west 1 -> VermilionCity_Gym (5, 3) [walk only]", + "06.03 face north -> VermilionCity_Gym (5, 3) [walk only]", + "06.04 below_gym_tree from VermilionCity_Gym (5, 3) facing north to VermilionCity (19, 25) facing north", + "06.04 walk east 1 -> VermilionCity_Gym (6, 3) [walk only]", + "06.04 walk south 16 (to wall) -> VermilionCity_Gym (6, 19) [walk only]", + "06.04 walk west 1 -> VermilionCity_Gym (5, 19) [walk only]", + "06.04 walk south 1 (warp) -> VermilionCity (14, 26) [walk only]", + "06.04 walk east 5 (to wall) -> VermilionCity (19, 26)", + "06.04 walk north 1 -> VermilionCity (19, 25)", + "06.04 below_oaks_aide from VermilionCity (19, 24) facing north to VermilionCity (14, 10)", + "06.04 walk north 2 -> VermilionCity (19, 22)", + "06.04 walk east 7 (to wall) -> VermilionCity (26, 22)", + "06.04 walk north 10 -> VermilionCity (26, 12)", + "06.04 walk east 1 -> VermilionCity (27, 12)", + "06.04 walk north 2 -> VermilionCity (27, 10)", + "06.04 walk west 13 (to wall) -> VermilionCity (14, 10)", + "06.04 vermilion_nurse from VermilionCity (14, 10) facing west to VermilionCity_PokemonCenter_1F (7, 4) facing north", + "06.04 walk east 1 -> VermilionCity (15, 10)", + "06.04 walk north 4 (warp) -> VermilionCity_PokemonCenter_1F (7, 8)", + "06.04 walk north 4 (to wall) -> VermilionCity_PokemonCenter_1F (7, 4) [walk only]", + "07.01 below_center from VermilionCity_PokemonCenter_1F (7, 4) facing north to VermilionCity (14, 10)", + "07.01 walk south 5 (warp) -> VermilionCity (15, 7) [walk only]", + "07.01 walk south 3 -> VermilionCity (15, 10)", + "07.01 walk west 1 (to wall) -> VermilionCity (14, 10)", + "07.01 beside_chairman from VermilionCity (14, 10) facing west to VermilionCity_PokemonFanClub (4, 4) facing east", + "07.01 walk east 13 -> VermilionCity (27, 10)", + "07.01 walk south 4 (to wall) -> VermilionCity (27, 14)", + "07.01 walk west 5 -> VermilionCity (22, 14)", + "07.01 walk south 4 -> VermilionCity (22, 18)", + "07.01 walk west 10 -> VermilionCity (12, 18)", + "07.01 walk north 1 (warp) -> VermilionCity_PokemonFanClub (5, 10)", + "07.01 walk north 3 (to wall) -> VermilionCity_PokemonFanClub (5, 7) [walk only]", + "07.01 walk west 4 (to wall) -> VermilionCity_PokemonFanClub (1, 7) [walk only]", + "07.01 walk north 3 -> VermilionCity_PokemonFanClub (1, 4) [walk only]", + "07.01 walk east 3 -> VermilionCity_PokemonFanClub (4, 4) [walk only]", + "07.01 west_of_oaks_aide from VermilionCity_PokemonFanClub (4, 4) facing east to VermilionCity (22, 10)", + "07.01 walk west 3 (to wall) -> VermilionCity_PokemonFanClub (1, 4) [walk only]", + "07.01 walk south 6 (to wall) -> VermilionCity_PokemonFanClub (1, 10) [walk only]", + "07.01 walk east 4 -> VermilionCity_PokemonFanClub (5, 10) [walk only]", + "07.01 walk south 1 (warp) -> VermilionCity (12, 18) [walk only]", + "07.01 walk east 14 -> VermilionCity (26, 18)", + "07.01 walk north 6 -> VermilionCity (26, 12)", + "07.01 walk east 1 -> VermilionCity (27, 12)", + "07.01 walk north 2 -> VermilionCity (27, 10)", + "07.01 walk west 5 -> VermilionCity (22, 10)", + "07.01 route6_south_path from VermilionCity (22, 10) facing west to Route6 (11, 34) facing north", + "07.01 walk east 1 -> VermilionCity (23, 10)", + "07.01 walk north 16 -> Route6 (11, 34) [connection 11]", + "07.01 below_cerulean_tree from Route6 (16, 12) facing north to CeruleanCity (26, 33) facing north", + "07.01 walk south 2 -> Route6 (16, 14)", + "07.01 walk east 3 -> Route6 (19, 14)", + "07.01 walk north 1 (warp) -> UndergroundPath_SouthEntrance (6, 8)", + "07.01 walk north 2 (to wall) -> UndergroundPath_SouthEntrance (6, 6)", + "07.01 walk east 2 (to wall) -> UndergroundPath_SouthEntrance (8, 6)", + "07.01 walk north 2 -> UndergroundPath_SouthEntrance (8, 4)", + "07.01 walk west 2 (warp) -> UndergroundPath_NorthSouthTunnel (3, 60)", + "07.01 walk north 57 -> UndergroundPath_NorthSouthTunnel (3, 3)", + "07.01 walk east 2 (warp) -> UndergroundPath_NorthEntrance (7, 4)", + "07.01 walk south 4 (to wall) -> UndergroundPath_NorthEntrance (7, 8)", + "07.01 walk west 1 -> UndergroundPath_NorthEntrance (6, 8)", + "07.01 walk south 1 (warp) -> Route5 (31, 32)", + "07.01 walk west 2 -> Route5 (29, 32)", + "07.01 walk north 39 (to wall) -> CeruleanCity (29, 33) [connection 33]", + "07.01 walk west 3 -> CeruleanCity (26, 33)", + "07.01 face north -> CeruleanCity (26, 33)", + "07.01 bike_clerk from CeruleanCity (26, 32) facing north to CeruleanCity_BikeShop (7, 3) facing east", + "07.01 walk north 3 (to wall) -> CeruleanCity (26, 29)", + "07.01 walk west 12 -> CeruleanCity (14, 29)", + "07.01 walk north 1 (warp) -> CeruleanCity_BikeShop (5, 8)", + "07.01 walk east 2 -> CeruleanCity_BikeShop (7, 8) [walk only]", + "07.01 walk north 5 -> CeruleanCity_BikeShop (7, 3) [walk only]", + "07.01 face east -> CeruleanCity_BikeShop (7, 3) [walk only]", + "07.01 mart_clerk from CeruleanCity_BikeShop (7, 3) facing east to CeruleanCity_Mart (4, 3) facing west", + "07.01 walk south 5 (to wall) -> CeruleanCity_BikeShop (7, 8) [walk only]", + "07.01 walk west 2 -> CeruleanCity_BikeShop (5, 8) [walk only]", + "07.01 walk south 1 (warp) -> CeruleanCity (13, 29) [walk only]", + "07.01 walk east 16 -> CeruleanCity (29, 29)", + "07.01 walk north 1 (warp) -> CeruleanCity_Mart (4, 7)", + "07.01 walk north 4 -> CeruleanCity_Mart (4, 3) [walk only]", + "07.01 face west -> CeruleanCity_Mart (4, 3) [walk only]", + "07.01 cerulean_nurse from CeruleanCity_Mart (4, 3) facing west to CeruleanCity_PokemonCenter_1F (7, 4) facing north", + "07.01 walk south 5 (warp) -> CeruleanCity (29, 29) [walk only]", + "07.01 walk west 10 -> CeruleanCity (19, 29)", + "07.01 walk north 9 -> CeruleanCity (19, 20)", + "07.01 walk east 3 -> CeruleanCity (22, 20)", + "07.01 walk north 1 (warp) -> CeruleanCity_PokemonCenter_1F (7, 8)", + "07.01 walk north 4 (to wall) -> CeruleanCity_PokemonCenter_1F (7, 4) [walk only]", + "07.02 above_cerulean_tree from CeruleanCity_PokemonCenter_1F (7, 4) facing north to CeruleanCity (26, 31) facing south", + "07.02 walk south 5 (warp) -> CeruleanCity (22, 20) [walk only]", + "07.02 walk west 4 -> CeruleanCity (18, 20)", + "07.02 walk south 11 (to wall) -> CeruleanCity (18, 31)", + "07.02 walk east 8 -> CeruleanCity (26, 31)", + "07.02 face south -> CeruleanCity (26, 31)", + "07.02 west_of_route9_tree from CeruleanCity (26, 32) facing south to Route9 (1, 8) facing east", + "07.02 walk south 1 -> CeruleanCity (26, 33)", + "07.02 walk east 14 (to wall) -> CeruleanCity (40, 33)", + "07.02 walk north 14 -> CeruleanCity (40, 19)", + "07.02 walk east 9 (to wall) -> Route9 (1, 9) [connection 8]", + "07.02 walk north 1 (to wall) -> Route9 (1, 8)", + "07.02 face east -> Route9 (1, 8)", + "07.02 above_alicia_line from Route9 (2, 8) facing east to Route9 (11, 9) facing south", + "07.02 walk east 9 -> Route9 (11, 8)", + "07.02 walk south 1 -> Route9 (11, 9)", + "07.02 west_of_jeremy_sight from Route9 (11, 12) facing south to Route9 (19, 13) facing east", + "07.02 walk south 1 -> Route9 (11, 13)", + "07.02 walk east 8 -> Route9 (19, 13)", + "07.02 below_conner_line from Route9 (20, 13) facing south to Route9 (52, 8) facing north", + "07.02 walk east 32 (to wall) -> Route9 (52, 13)", + "07.02 walk north 5 -> Route9 (52, 8)", + "07.02 route10_ledge_end from Route9 (70, 8) facing east to Route10 (17, 11) facing east", + "07.02 walk east 7 -> Route10 (5, 8) [connection 2]", + "07.02 walk south 3 -> Route10 (5, 11)", + "07.02 walk east 12 (to wall) -> Route10 (17, 11)", + "07.02 route10_nurse from Route10 (13, 21) facing east to Route10_PokemonCenter_1F (7, 4) facing north", + "07.02 walk north 1 (warp) -> Route10_PokemonCenter_1F (7, 8)", + "07.02 walk north 4 (to wall) -> Route10_PokemonCenter_1F (7, 4) [walk only]", + "08.01 below_route10_tree from Route10_PokemonCenter_1F (7, 4) facing north to Route10 (10, 21) facing north", + "08.01 walk south 5 (warp) -> Route10 (13, 21) [walk only]", + "08.01 walk west 3 (to wall) -> Route10 (10, 21)", + "08.01 face north -> Route10 (10, 21)", + "08.01 rock_tunnel_1f from Route10 (8, 20) facing west to RockTunnel_1F (17, 2) facing north", + "08.01 walk north 1 (warp) -> RockTunnel_1F (17, 2)", + "08.01 b1f_south_ladder from RockTunnel_1F (24, 10) facing east to RockTunnel_B1F (38, 28) facing north", + "08.01 walk south 3 (to wall) -> RockTunnel_1F (24, 13) [wild]", + "08.01 walk east 21 (to wall) -> RockTunnel_1F (45, 13) [wild]", + "08.01 walk north 11 (warp) -> RockTunnel_B1F (38, 28) [wild]", + "08.01 1f_west_ladder from RockTunnel_B1F (32, 2) facing north to RockTunnel_1F (4, 2) facing north", + "08.01 walk south 1 -> RockTunnel_B1F (32, 3) [wild]", + "08.01 walk east 1 (warp) -> RockTunnel_1F (4, 2)", + "08.01 face north -> RockTunnel_1F (4, 2)", + "08.01 b1f_middle_ladder from RockTunnel_1F (20, 16) facing east to RockTunnel_B1F (27, 12) facing north", + "08.01 walk north 3 (warp) -> RockTunnel_B1F (27, 12) [wild]", + "08.01 1f_east_ladder from RockTunnel_B1F (1, 3) facing south to RockTunnel_1F (45, 21) facing north", + "08.01 walk east 1 (warp) -> RockTunnel_1F (45, 21)", + "08.01 face north -> RockTunnel_1F (45, 21)", + "08.01 route10_south from RockTunnel_1F (18, 36) facing west to Route10 (8, 58) facing south", + "08.01 walk south 2 (warp) -> Route10 (8, 58)", + "08.02 lavender_north_wall from Route10 (11, 75) facing south to LavenderTown (11, 8) facing south", + "08.02 walk south 13 (to wall) -> LavenderTown (11, 8) [connection 5]", + "08.02 lavender_nurse from LavenderTown (6, 9) facing west to LavenderTown_PokemonCenter_1F (7, 4) facing north", + "08.02 walk north 4 (warp) -> LavenderTown_PokemonCenter_1F (7, 8)", + "08.02 walk north 4 (to wall) -> LavenderTown_PokemonCenter_1F (7, 4) [walk only]", + "08.03 east_of_mart_door from LavenderTown_PokemonCenter_1F (7, 4) facing north to LavenderTown (21, 16) facing east", + "08.03 walk south 5 (warp) -> LavenderTown (6, 6) [walk only]", + "08.03 walk south 7 (to wall) -> LavenderTown (6, 13)", + "08.03 walk east 11 (to wall) -> LavenderTown (17, 13)", + "08.03 walk south 5 (to wall) -> LavenderTown (17, 18)", + "08.03 walk east 4 (to wall) -> LavenderTown (21, 18)", + "08.03 walk north 2 (to wall) -> LavenderTown (21, 16)", + "08.03 face east -> LavenderTown (21, 16)", + "08.03 into_lavender_mart from LavenderTown (21, 16) facing east to LavenderTown_Mart (4, 2) facing north", + "08.03 walk west 1 -> LavenderTown (20, 16)", + "08.03 walk north 1 (warp) -> LavenderTown_Mart (4, 7)", + "08.03 walk north 5 (to wall) -> LavenderTown_Mart (4, 2) [walk only]", + "08.03 lavender_mart_clerk from LavenderTown_Mart (4, 2) facing north to LavenderTown_Mart (4, 3) facing west", + "08.03 walk south 1 -> LavenderTown_Mart (4, 3) [walk only]", + "08.03 face west -> LavenderTown_Mart (4, 3) [walk only]", + "08.03 out_of_lavender_mart from LavenderTown_Mart (4, 3) facing west to LavenderTown (20, 16) facing south", + "08.03 walk south 5 (warp) -> LavenderTown (20, 16) [walk only]", + "08.03 route8_east_wall from LavenderTown (1, 10) facing south to Route8 (62, 10) facing west", + "08.03 walk west 11 (to wall) -> Route8 (62, 10) [connection 2]", + "08.03 below_underground_door from Route8 (14, 5) facing north to Route8 (13, 5) facing north", + "08.03 walk west 1 -> Route8 (13, 5)", + "08.03 face north -> Route8 (13, 5)", + "08.03 route7_underground_exit from Route8 (13, 5) facing north to Route7 (7, 15) facing south", + "08.03 walk north 1 (warp) -> UndergroundPath_EastEntrance (6, 8)", + "08.03 walk north 2 (to wall) -> UndergroundPath_EastEntrance (6, 6)", + "08.03 walk east 2 (to wall) -> UndergroundPath_EastEntrance (8, 6)", + "08.03 walk north 2 -> UndergroundPath_EastEntrance (8, 4)", + "08.03 walk west 2 (warp) -> UndergroundPath_EastWestTunnel (76, 3)", + "08.03 walk west 73 (to wall) -> UndergroundPath_EastWestTunnel (3, 3)", + "08.03 walk south 1 -> UndergroundPath_EastWestTunnel (3, 4)", + "08.03 walk west 1 (warp) -> UndergroundPath_WestEntrance (7, 4)", + "08.03 walk south 4 (to wall) -> UndergroundPath_WestEntrance (7, 8)", + "08.03 walk west 1 -> UndergroundPath_WestEntrance (6, 8)", + "08.03 walk south 1 (warp) -> Route7 (7, 15)", + "08.03 pidgey_grass from Route7 (7, 15) facing south to Route7 (14, 6) facing east", + "08.03 walk east 3 -> Route7 (10, 15)", + "08.03 walk north 6 (to wall) -> Route7 (10, 9)", + "08.03 walk east 4 -> Route7 (14, 9)", + "08.03 walk north 3 -> Route7 (14, 6) [wild]", + "08.03 face east -> Route7 (14, 6)", + "08.03 celadon_below_center from Route7 (14, 6) facing east to CeladonCity (48, 12) facing north", + "08.03 walk south 3 -> Route7 (14, 9)", + "08.03 walk west 8 -> Route7 (6, 9)", + "08.03 walk north 7 (to wall) -> Route7 (6, 2)", + "08.03 walk west 18 -> CeladonCity (48, 12) [connection 7]", + "08.03 face north -> CeladonCity (48, 12)", + "09.01 celadon_below_game_corner from CeladonCity_PokemonCenter_1F (7, 4) facing north to CeladonCity (34, 22) facing north", + "09.01 walk south 5 (warp) -> CeladonCity (48, 12) [walk only]", + "09.01 walk west 7 -> CeladonCity (41, 12)", + "09.01 walk south 10 -> CeladonCity (41, 22)", + "09.01 walk west 7 -> CeladonCity (34, 22)", + "09.01 face north -> CeladonCity (34, 22)", + "09.01 below_poster_guard from CeladonCity (34, 22) facing north to CeladonCity_GameCorner (11, 3) facing north", + "09.01 walk north 1 (warp) -> CeladonCity_GameCorner (9, 13)", + "09.01 walk north 9 (to wall) -> CeladonCity_GameCorner (9, 4) [walk only]", + "09.01 walk east 2 -> CeladonCity_GameCorner (11, 4) [walk only]", + "09.01 walk north 1 -> CeladonCity_GameCorner (11, 3) [walk only]", + "09.01 b2f_east_of_grunt from CeladonCity_GameCorner (11, 2) facing north to RocketHideout_B2F (23, 4) facing west", + "09.01 walk east 5 (warp) -> RocketHideout_B1F (12, 2) [walk only]", + "09.01 walk east 6 (warp) -> RocketHideout_B2F (28, 2)", + "09.01 walk south 7 (to wall) -> RocketHideout_B2F (28, 9)", + "09.01 walk west 5 -> RocketHideout_B2F (23, 9)", + "09.01 walk north 5 (to wall) -> RocketHideout_B2F (23, 4)", + "09.01 face west -> RocketHideout_B2F (23, 4)", + "09.01 b3f_off_stairs from RocketHideout_B2F (21, 2) facing north to RocketHideout_B3F (18, 2) facing east", + "09.01 walk east 1 (warp) -> RocketHideout_B3F (18, 2)", + "09.01 hideout_b4f_west from RocketHideout_B3F (15, 19) facing north to RocketHideout_B4F (5, 3) facing west", + "09.01 walk north 1 (to wall) -> RocketHideout_B3F (15, 18)", + "09.01 walk west 1 (warp) -> RocketHideout_B4F (11, 15)", + "09.01 walk north 10 (to wall) -> RocketHideout_B4F (11, 5)", + "09.01 walk west 6 (to wall) -> RocketHideout_B4F (5, 5)", + "09.01 walk north 2 -> RocketHideout_B4F (5, 3)", + "09.01 face west -> RocketHideout_B4F (5, 3)", + "09.01 below_lift_key from RocketHideout_B4F (3, 3) facing west to RocketHideout_B4F (3, 3) facing north", + "09.01 face north -> RocketHideout_B4F (3, 3)", + "09.01 b3f_from_b4f from RocketHideout_B4F (11, 15) facing south to RocketHideout_B3F (15, 18) facing west", + "09.01 walk east 1 (warp) -> RocketHideout_B3F (15, 18)", + "09.01 face west -> RocketHideout_B3F (15, 18)", + "09.01 beside_b3f_rare_candy from RocketHideout_B3F (10, 13) facing north to RocketHideout_B3F (12, 13) facing north", + "09.01 walk east 2 (to wall) -> RocketHideout_B3F (12, 13)", + "09.01 face north -> RocketHideout_B3F (12, 13)", + "09.02 b2f_from_b3f from RocketHideout_B3F (12, 2) facing north to RocketHideout_B2F (21, 2) facing east", + "09.02 walk east 7 (warp) -> RocketHideout_B2F (21, 2)", + "09.02 above_moon_stone from RocketHideout_B2F (2, 4) facing east to RocketHideout_B2F (2, 4) facing south", + "09.02 face south -> RocketHideout_B2F (2, 4)", + "09.02 face_lift from RocketHideout_B2F (28, 17) facing west to RocketHideout_B2F (28, 17) facing north", + "09.02 face north -> RocketHideout_B2F (28, 17)", + "09.02 below_giovanni from RocketHideout_B4F (19, 5) facing east to RocketHideout_B4F (19, 5) facing north", + "09.02 face north -> RocketHideout_B4F (19, 5)", + "09.02 beside_silph_scope from RocketHideout_B4F (21, 5) facing north to RocketHideout_B4F (21, 5) facing west", + "09.02 face west -> RocketHideout_B4F (21, 5)", +}; + +} // namespace PokemonFRLG +} // namespace NintendoSwitch +} // namespace PokemonAutomation +#endif diff --git a/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStory_Tests.cpp b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStory_Tests.cpp index 78fe116d7d..13b9f32933 100644 --- a/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStory_Tests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStory_Tests.cpp @@ -30,6 +30,7 @@ #include "PokemonFRLG_AutoStoryCapture.h" #include "PokemonFRLG_AutoStoryGrind.h" #include "PokemonFRLG_AutoStoryPcStorage.h" +#include "PokemonFRLG_AutoStoryPlanGolden.h" #include "PokemonFRLG_AutoStoryMoveData.h" #include "PokemonFRLG_AutoStoryStepTable.h" #include "PokemonFRLG_AutoStoryTable.h" @@ -164,8 +165,31 @@ UnitTestResult check_legs(StoryPose& pose, const StoryStep& step){ return true; } -// Plans `step` from `pose` and moves `pose` to its end. -UnitTestResult check_route(StoryPose& pose, const StoryStep& step){ +// One line per planned step for the golden: the step, then how it is +// walked where to_string() does not say. +std::string golden_line(const RouteStep& step){ + std::string line = std::format(" {}", to_string(step)); + if (step.surfing){ + line += " [surfing]"; + } + if (step.walk_only){ + line += " [walk only]"; + } + if (step.tapped){ + line += " [tapped]"; + } + if (step.wild){ + line += " [wild]"; + } + for (int connection : step.connection_steps){ + line += std::format(" [connection {}]", connection); + } + return line; +} + +// Plans `step` from `pose` and moves `pose` to its end; adds the plan to +// `golden`. +UnitTestResult check_route(StoryPose& pose, const StoryStep& step, std::vector& golden){ const MapPosition start{pose.map, pose.tile}; std::optional facing = pose.facing; if (!facing){ @@ -181,6 +205,11 @@ UnitTestResult check_route(StoryPose& pose, const StoryStep& step){ if (!route){ return step.name + ": no route from " + to_string(start) + " to " + to_string(goal.position) + "."; } + golden.push_back(std::format("{} from {} facing {} to {}{}", step.name, to_string(start), direction_name(*facing), + to_string(goal.position), goal.facing ? std::format(" facing {}", direction_name(*goal.facing)) : "")); + for (const RouteStep& planned : *route){ + golden.push_back(golden_line(planned)); + } const MapPosition end = follow_overworld_route(story_maps(), start, *route); if (!(end == goal.position)){ return step.name + ": the route ends at " + to_string(end) + ":" + describe(*route); @@ -205,11 +234,11 @@ UnitTestResult check_route(StoryPose& pose, const StoryStep& step){ return true; } -// Follows `checkpoint` from its start; `pose` ends where it leaves the player. -UnitTestResult check_checkpoint(const StoryCheckpoint& checkpoint, StoryPose& pose){ +// check_checkpoint()'s walk through the steps. +UnitTestResult check_checkpoint_steps(const StoryCheckpoint& checkpoint, StoryPose& pose, std::vector& golden){ for (const StoryStep& step : checkpoint.steps){ if (step.kind == StoryStepKind::ROUTE || step.kind == StoryStepKind::LEGS){ - UnitTestResult result = step.kind == StoryStepKind::ROUTE ? check_route(pose, step) : check_legs(pose, step); + UnitTestResult result = step.kind == StoryStepKind::ROUTE ? check_route(pose, step, golden) : check_legs(pose, step); if (result.result != UnitTestResult::PASSED){ return checkpoint.id + " " + result.message; } @@ -218,7 +247,7 @@ UnitTestResult check_checkpoint(const StoryCheckpoint& checkpoint, StoryPose& po // goes on from where the player stands. StoryPose nurse_pose = pose; StoryStep to_nurse = step; - UnitTestResult result = check_route(nurse_pose, to_nurse); + UnitTestResult result = check_route(nurse_pose, to_nurse, golden); if (result.result != UnitTestResult::PASSED){ return checkpoint.id + " " + result.message; } @@ -233,7 +262,20 @@ UnitTestResult check_checkpoint(const StoryCheckpoint& checkpoint, StoryPose& po return true; } -UnitTestResult test_routes_and_chain(){ +// Follows `checkpoint` from its start; `pose` ends where it leaves the +// player. Adds each planned route to `golden`, after the checkpoint's id. +UnitTestResult check_checkpoint(const StoryCheckpoint& checkpoint, StoryPose& pose, std::vector& golden){ + const size_t first = golden.size(); + UnitTestResult result = check_checkpoint_steps(checkpoint, pose, golden); + for (size_t c = first; c < golden.size(); c++){ + golden[c] = std::format("{} {}", checkpoint.id, golden[c]); + } + return result; +} + +// Plans every route of the story, each checkpoint from where the one +// before leaves the player, and adds the plans to `golden`. +UnitTestResult chain_story_routes(std::vector& golden){ const std::vector& checkpoints = story_checkpoints(); if (checkpoints.size() != 39 || checkpoints[0].start){ return "Expected 39 checkpoints, the first from a new game."; @@ -249,7 +291,7 @@ UnitTestResult test_routes_and_chain(){ } pose = start; } - UnitTestResult result = check_checkpoint(checkpoint, pose); + UnitTestResult result = check_checkpoint(checkpoint, pose, golden); if (result.result != UnitTestResult::PASSED){ return result; } @@ -257,6 +299,40 @@ UnitTestResult test_routes_and_chain(){ return true; } +UnitTestResult test_routes_and_chain(){ + std::vector golden; + return chain_story_routes(golden); +} + +// Every story route's plan against the stored copy in +// PokemonFRLG_AutoStoryPlanGolden.h. A change that should not alter any +// plan must leave this byte-identical. To regenerate after an intended plan +// change: run this suite, and replace the lines of FRLG_PLAN_GOLDEN with +// the lines the failure lists after "GOLDEN|". +UnitTestResult test_golden_plans(){ + std::vector actual; + UnitTestResult result = chain_story_routes(actual); + if (result.result != UnitTestResult::PASSED){ + return result; + } + const size_t stored = sizeof(FRLG_PLAN_GOLDEN) / sizeof(FRLG_PLAN_GOLDEN[0]); + size_t first_diff = 0; + while (first_diff < actual.size() && first_diff < stored && actual[first_diff] == FRLG_PLAN_GOLDEN[first_diff]){ + first_diff++; + } + if (first_diff == actual.size() && first_diff == stored){ + return true; + } + std::string message = std::format("plans differ from the golden at line {} ({} lines now, {} stored): now \"{}\", stored \"{}\". Now:", + first_diff + 1, actual.size(), stored, + first_diff < actual.size() ? std::string_view(actual[first_diff]) : std::string_view(), + first_diff < stored ? FRLG_PLAN_GOLDEN[first_diff] : std::string_view()); + for (const std::string& line : actual){ + message += std::format("\nGOLDEN|{}", line); + } + return message; +} + struct ExpectedLeg{ Direction direction; int tiles; @@ -552,7 +628,8 @@ bool grass_held(const StoryPose& pose, const StoryStep& step){ // Moves `pose` past `step`, as check_checkpoint() does. UnitTestResult advance(StoryPose& pose, const StoryStep& step){ if (step.kind == StoryStepKind::ROUTE){ - return check_route(pose, step); + std::vector golden; + return check_route(pose, step, golden); } if (step.kind == StoryStepKind::LEGS){ return check_legs(pose, step); @@ -1009,6 +1086,10 @@ const AutoStoryTestCase AUTO_STORY_CASES[] = { .input = {.name = "every route plans, and checkpoints chain", .body = test_routes_and_chain}, .expectation = {.description = "verifies route planning validity across all chained checkpoints"}, }, + { + .input = {.name = "story route plans match the golden", .body = test_golden_plans}, + .expectation = {.description = "keeps every story route's planned steps byte-identical to the stored copy"}, + }, { .input = {.name = "step names are unique per checkpoint", .body = test_unique_names}, .expectation = {.description = "ensures step identifier uniqueness within checkpoints"}, diff --git a/SerialPrograms/cmake/SourceFiles.cmake b/SerialPrograms/cmake/SourceFiles.cmake index 7165bc34f3..3dd4deaf4d 100644 --- a/SerialPrograms/cmake/SourceFiles.cmake +++ b/SerialPrograms/cmake/SourceFiles.cmake @@ -2099,6 +2099,7 @@ file(GLOB LIBRARY_SOURCES Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPcStorage.cpp Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPcStorage.h Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPcStorage_Tests.cpp + Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryPlanGolden.h Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryResources.cpp Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryResources.h Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryResources_Tests.cpp