|
6 | 6 |
|
7 | 7 | #include <string> |
8 | 8 | #include <vector> |
| 9 | +#include "PokemonBDSP_AutoStory_MapGrids.h" |
9 | 10 | #include "PokemonBDSP_AutoStory_JubilifeCity.h" |
10 | 11 |
|
11 | 12 | namespace PokemonAutomation{ |
@@ -58,95 +59,8 @@ using namespace Pokemon; |
58 | 59 | // one along row 21 (45..47), a Twin around (33,18), a School Kid on column |
59 | 60 | // 51 (rows 33..35), a Pokefan around (41,30). Rowan and the grunts at the |
60 | 61 | // north exit, the Collectors and Dawn are hidden by story flags. |
61 | | -namespace{ |
62 | | -// Rows 0..31: the matrix's cell row 4 (world z 736..767), the north half. |
63 | | -std::vector<std::string> north_half(){ |
64 | | - // 0 1 2 3 4 5 6 |
65 | | - // 0123456789012345678901234567890123456789012345678901234567890123 |
66 | | - return { |
67 | | - R"(##########################################..............########)", // 0 |
68 | | - R"(##########################################..............########)", // 1 |
69 | | - R"(############################################.....###############)", // 2 |
70 | | - R"(############################################......##############)", // 3 |
71 | | - R"(############################################......##############)", // 4 |
72 | | - R"(############################################......##############)", // 5 |
73 | | - R"(############################################......##############)", // 6 |
74 | | - R"(#############################################....###############)", // 7 |
75 | | - R"(############################....#########.......S.##############)", // 8 |
76 | | - R"(############################....#########.........##############)", // 9 |
77 | | - R"(#########..#########..######....#########.........##############)", // 10 |
78 | | - R"(#########..#########..######....#########.........##############)", // 11 |
79 | | - R"(#########..#########..######....#########.........##############)", // 12 |
80 | | - R"(#########..#########..######....#########.........##############)", // 13 |
81 | | - R"(#########..#########..######....#########.........##############)", // 14 |
82 | | - R"(#########..##D###D##..######....####D####.........##############)", // 15 |
83 | | - R"(#########.............######........N......#.....#######....####)", // 16 |
84 | | - R"(#########.............######......................######....####)", // 17 |
85 | | - R"(..#######......N......######......................######....####)", // 18 |
86 | | - R"(..###########S......########...........S.........S##D###....####)", // 19 |
87 | | - R"(..#.S.#.......................#..........................#.S####)", // 20 |
88 | | - R"(................................................................)", // 21 |
89 | | - R"(D...............................................................)", // 22 |
90 | | - R"(D...............................................................)", // 23 |
91 | | - R"(................................................................)", // 24 |
92 | | - R"(..#...#.......................#.....N....................#..####)", // 25 |
93 | | - R"(..############.............####......####...................####)", // 26 |
94 | | - R"(..############.............####......####................#######)", // 27 |
95 | | - R"(##############.################...##.####..#.....######..#######)", // 28 |
96 | | - R"(##############.################...##.####.........#####..#######)", // 29 |
97 | | - R"(##############.################...................#D############)", // 30 |
98 | | - R"(################################.........................#######)", // 31 |
99 | | - }; |
100 | | -} |
101 | | -// Rows 32..63: cell row 5 (world z 768..799), the south half. |
102 | | -std::vector<std::string> south_half(){ |
103 | | - // 0 1 2 3 4 5 6 |
104 | | - // 0123456789012345678901234567890123456789012345678901234567890123 |
105 | | - return { |
106 | | - R"(################################.........................##D####)", // 32 |
107 | | - R"(################################.......................N.#######)", // 33 |
108 | | - R"(################################.........................#######)", // 34 |
109 | | - R"(###############............#####..............N..........#######)", // 35 |
110 | | - R"(###############............#####......#####..............#######)", // 36 |
111 | | - R"(###############..#########.#####.##########.......######.#######)", // 37 |
112 | | - R"(###############..#########.#####.##########.......######.#######)", // 38 |
113 | | - R"(###############..#########.#####.###########.....#######.#######)", // 39 |
114 | | - R"(##################################..S.##D##.......##D###########)", // 40 |
115 | | - R"(###############..#########.#####.........................#######)", // 41 |
116 | | - R"(##############...####D####N.###..........................#######)", // 42 |
117 | | - R"(##############...........................................#######)", // 43 |
118 | | - R"(##############.....S........................N............#######)", // 44 |
119 | | - R"(##############...........................................#######)", // 45 |
120 | | - R"(##############.............#########................N.N..#######)", // 46 |
121 | | - R"(###############............#########.#####...............#######)", // 47 |
122 | | - R"(###############............#########.#####...............#######)", // 48 |
123 | | - R"(###############.####..####.###############...............#######)", // 49 |
124 | | - R"(###############.####..####.###############...............#######)", // 50 |
125 | | - R"(###############.####..####.###############...........###########)", // 51 |
126 | | - R"(############D##.####..####.############D##...........###########)", // 52 |
127 | | - R"(##########.................#########.......#.....#...########.##)", // 53 |
128 | | - R"(##########.................#########.................########.##)", // 54 |
129 | | - R"(##########.......N....#..#.#########......S..........########.##)", // 55 |
130 | | - R"(##########............#..#.#########.................########.##)", // 56 |
131 | | - R"(##########.................#########.................########.##)", // 57 |
132 | | - R"(###########################################.......##############)", // 58 |
133 | | - R"(###########################################.......##############)", // 59 |
134 | | - R"(########################################.##.......##############)", // 60 |
135 | | - R"(########################################.####...################)", // 61 |
136 | | - R"(########################################..........##############)", // 62 |
137 | | - R"(########################################..........##############)", // 63 |
138 | | - }; |
139 | | -} |
140 | | -} |
141 | | - |
142 | 62 | const TileGrid& grid(){ |
143 | | - static const TileGrid grid = []{ |
144 | | - std::vector<std::string> rows = north_half(); |
145 | | - const std::vector<std::string> south = south_half(); |
146 | | - rows.insert(rows.end(), south.begin(), south.end()); |
147 | | - return TileGrid(rows); |
148 | | - }(); |
149 | | - return grid; |
| 63 | + return story_grid("JubilifeCity"); |
150 | 64 | } |
151 | 65 |
|
152 | 66 | // Checked on the console (2026-10-30, CFR "walk"): 00.05's save stands |
|
0 commit comments