Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
1379960
Merge bdsp/actions-v4 (walker: cap unexplained dialogue) into bdsp/au…
dayfine Nov 2, 2026
61b5bdd
BDSP AutoStory: 00.01's Route 201 stretch in its own function (52 lines)
dayfine Nov 2, 2026
35ae703
BDSP AutoStory: take the Azure Flute if the save has one, then the to…
dayfine Nov 2, 2026
fa65519
BDSP AutoStory: face the Azure Flute's tile before pressing A
dayfine Nov 2, 2026
4fe10ee
BDSP AutoStory: Route 201's path west of Barry's warning, measured on…
dayfine Nov 2, 2026
3c830ff
BDSP AutoStory: 00.02 ends where the Lakefront's scene leaves us
dayfine Nov 2, 2026
afa6e50
Merge bdsp/actions-v4 (save menu, banner at a scene) into bdsp/autost…
dayfine Nov 2, 2026
c7d40cc
Merge bdsp/actions-v4 (scene at a map edge) into bdsp/autostory-v4
dayfine Nov 2, 2026
e944a56
Merge bdsp/actions-v4 (banner warning) into bdsp/autostory-v4
dayfine Nov 2, 2026
97d0afb
Merge bdsp/actions-v4 (arrival banner warning) into bdsp/autostory-v4
dayfine Nov 2, 2026
9c6520b
BDSP AutoStory: finish a scene's late lines before the next walk
dayfine Nov 2, 2026
34a05fa
BDSP AutoStory: 00.03 goes home for the Running Shoes after Rowan's s…
dayfine Nov 2, 2026
d6709c5
BDSP AutoStory: a scene that ends on another map waits for the fade a…
dayfine Nov 2, 2026
660c657
BDSP AutoStory: a scene that ends on another map presses B until the …
dayfine Nov 2, 2026
9a79be3
BDSP AutoStory: one settle rule for scenes and door steps
dayfine Nov 2, 2026
36c60c7
Merge bdsp/walk-v4 forward
dayfine Nov 2, 2026
8df4b0a
BDSP AutoStory: routes run once Mom has given the Running Shoes
dayfine Nov 2, 2026
cd29268
BDSP AutoStory: a step or scene onto another map must see a fade
dayfine Nov 2, 2026
f186ff9
BDSP AutoStory: line up on the counter before the door, away from Mom
dayfine Nov 2, 2026
4ec01ad
Merge bdsp/nav-v4 forward
dayfine Nov 2, 2026
8dc9207
Merge bdsp/nav-v4 forward
dayfine Nov 2, 2026
600373c
BDSP AutoStory: settle counts quiet only after the fade on a change o…
dayfine Nov 2, 2026
12051d0
BDSP AutoStory: settle's quiet needs a still screen too
dayfine Nov 2, 2026
92e359c
Merge the BDSP chain forward
dayfine Nov 2, 2026
fdf4fbf
BDSP AutoStory: line up on the table's corner, which the console puts…
dayfine Nov 2, 2026
887d1de
BDSP AutoStory: a step through a door taps once and settles, which se…
dayfine Nov 2, 2026
982c563
Merge bdsp/actions-v4 forward
dayfine Nov 2, 2026
9601d5a
Merge the BDSP chain forward
dayfine Nov 2, 2026
1039a3a
BDSP AutoStory: walk into Sandgem until Dawn's scene starts
dayfine Nov 2, 2026
9eb23d3
BDSP AutoStory: to_dialogue legs, which also take a stop that a line …
dayfine Nov 2, 2026
9659b55
BDSP AutoStory: Dawn's tour leaves us a row or two below the Mart's door
dayfine Nov 2, 2026
4833a7d
BDSP AutoStory: a talk turns to the pose's facing first
dayfine Nov 2, 2026
456be5f
BDSP AutoStory: entering the house sets us a tile inside, at (6, 9)
dayfine Nov 2, 2026
3c54851
Merge the BDSP chain forward
dayfine Nov 2, 2026
34ec5af
Merge the BDSP chain forward
dayfine Nov 2, 2026
33418e5
Merge the BDSP chain forward
dayfine Nov 2, 2026
980737e
BDSP AutoStory: leave Sandgem along the path, to Route 201's banner
dayfine Nov 2, 2026
daed384
BDSP AutoStory: door steps run until the fade; Mom at (7, 7)
dayfine Nov 2, 2026
027b624
BDSP AutoStory: the lab exit in its own helper, under the function limit
dayfine Nov 2, 2026
1bece88
BDSP AutoStory: a door step watches for the fade itself
dayfine Nov 2, 2026
f3580ff
BDSP AutoStory: Mom's heal brings Barry's mom; her hat at the door
dayfine Nov 2, 2026
20ada64
BDSP AutoStory: Mom calls us back as we step above the door
dayfine Nov 2, 2026
c4865c3
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
8fccf5c
BDSP AutoStory: heal by running north into the Center from the planne…
dayfine Nov 2, 2026
397647f
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
cb4d9a6
BDSP AutoStory: a table test that each row starts where the last one …
dayfine Nov 2, 2026
b9fc4e7
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
635d7ee
BDSP AutoStory: out of the Center the way we went in, south until the…
dayfine Nov 2, 2026
73ecfd9
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
495a5e3
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
150fc00
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
923aabe
BDSP AutoStory: no save right after loading the first checkpoint's save
dayfine Nov 2, 2026
aff0305
BDSP AutoStory: skip the start save only when the game was just loaded
dayfine Nov 2, 2026
73dde7e
BDSP AutoStory: twice the time for a walk until stopped
dayfine Nov 2, 2026
8a5dfc7
BDSP AutoStory: plan the walk to Jubilife's Center on the map
dayfine Nov 2, 2026
615d5e0
BDSP AutoStory: one way out of the Center, whichever way we got in
dayfine Nov 2, 2026
a5c72e4
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
8052f9d
BDSP AutoStory: up Jubilife's steps on the D-pad
dayfine Nov 2, 2026
42f4e42
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
c068144
BDSP AutoStory: drop a stray brace after up_the_steps
dayfine Nov 2, 2026
4522405
BDSP AutoStory: past the nurse's last line before running out
dayfine Nov 2, 2026
a38836e
BDSP AutoStory: plan the walk to the Trainers' School's door
dayfine Nov 2, 2026
0d68c46
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
f03cb22
BDSP AutoStory: plan Jubilife's president, clowns and Poketch on the map
dayfine Nov 2, 2026
b67be3e
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/aut…
dayfine Nov 2, 2026
f1d8c3a
BDSP AutoStory: town routes take the short way; test for detours
dayfine Nov 2, 2026
27e39d0
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
abef1b0
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/aut…
dayfine Nov 2, 2026
2990325
BDSP AutoStory: talk to a wandering clown from under his whole range
dayfine Nov 2, 2026
ad5dea5
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
23d9efa
BDSP AutoStory: Oreburgh's Center door step does nothing when already…
dayfine Nov 2, 2026
6786b01
BDSP AutoStory: 01.03 starts in the mine when the save is there
dayfine Nov 2, 2026
4e0f7c3
BDSP AutoStory: 01.04 starts in the gym when the save is there
dayfine Nov 2, 2026
4cc3bd0
BDSP AutoStory: tell the Oreburgh gym from the street by brightness
dayfine Nov 2, 2026
f1bd5ac
BDSP AutoStory: plan 01.05 to 01.10 on the maps
dayfine Nov 2, 2026
aa4855a
BDSP AutoStory: no loss check when the battle starts on Center-like f…
dayfine Nov 2, 2026
22a8bc7
BDSP AutoStory: tap through 01.05's doors to their banners
dayfine Nov 2, 2026
87f4296
BDSP AutoStory: dpad_tiles turns with a short tap
dayfine Nov 2, 2026
bd37d0c
BDSP AutoStory: 01.08 starts from the wall west of Rowan's scene
dayfine Nov 2, 2026
9047f20
Merge branch 'bdsp/autostory-v4' into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
e2ae1bd
BDSP AutoStory: dpad_tiles without a turn tap
dayfine Nov 2, 2026
77d9ff4
BDSP AutoStory: leave the Ravaged Path one tap at a time
dayfine Nov 2, 2026
daa3567
BDSP AutoStory: leave the Ravaged Path with one tap and its banner
dayfine Nov 2, 2026
1bb6634
BDSP AutoStory: settle on 15 s of calm overworld when the screen keep…
dayfine Nov 2, 2026
fe17bc8
BDSP AutoStory: turn to Floaroma's old man with one tap
dayfine Nov 2, 2026
e073a2d
BDSP AutoStory: end 01.07 with the settle scene, through Bebe's lines
dayfine Nov 2, 2026
43ebd5b
BDSP AutoStory: the Ravaged Path exit in its own function
dayfine Nov 2, 2026
2ef208f
Merge origin/bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
4ffd608
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
ecbf0cb
Merge bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
6517171
BDSP maps: list every cell a map's rectangle touches in its source
dayfine Nov 2, 2026
1b8fced
BDSP AutoStory: refuse a row's start save away from its map
dayfine Nov 2, 2026
8e41af5
Merge bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
c5f2363
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
1f14bca
BDSP maps: PlayerHouse1F and Route201's console fixes as generator pa…
dayfine Nov 2, 2026
52b7e11
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
00eea6e
Merge bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
886166d
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/aut…
dayfine Nov 2, 2026
6bd08e2
BDSP AutoStory: count a tap as a step only if the view scrolled
dayfine Nov 2, 2026
0387b38
BDSP AutoStory: a Pokemon Center is its floor in a room
dayfine Nov 2, 2026
08571d3
Merge bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 2, 2026
c55ef91
Merge bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
f1d48c2
Merge bdsp/maps-v4 (coord events) into bdsp/autostory-v4
dayfine Nov 2, 2026
d74a6c7
Merge bdsp/autostory-v4 (coord events from bdsp/maps-v4) into bdsp/au…
dayfine Nov 2, 2026
1473997
Merge bdsp/autostory-v4 (coord events from bdsp/maps-v4) into bdsp/vi…
dayfine Nov 2, 2026
ef52009
BDSP AutoStory: 00.02 on the shared steps
dayfine Nov 2, 2026
2452838
BDSP AutoStory: 00.03 on the shared steps
dayfine Nov 2, 2026
d9040cb
BDSP AutoStory: 00.05 on the shared steps
dayfine Nov 2, 2026
de371f7
BDSP AutoStory: 01.01 on the shared steps
dayfine Nov 2, 2026
d839c4b
BDSP AutoStory: 01.02 on the shared steps
dayfine Nov 2, 2026
382d151
BDSP AutoStory: 01.02 plans Route 203 from one tile
dayfine Nov 2, 2026
a68d2c1
BDSP AutoStory: 01.02 meets the Gate's trainers one route each
dayfine Nov 2, 2026
3a89c92
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 2, 2026
098384a
Merge bdsp/autostory-v4 into bdsp/autostory-v4-seg01
dayfine Nov 2, 2026
7291808
Merge bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 2, 2026
000326b
Merge bdsp/autostory-v4-seg01 into bdsp/shared-steps
dayfine Nov 2, 2026
534dc28
BDSP AutoStory: 01.03 on the shared steps
dayfine Nov 3, 2026
72b9552
BDSP AutoStory: 01.11 on the shared steps
dayfine Nov 3, 2026
2aba355
BDSP AutoStory: 00.05's steps on the shared steps
dayfine Nov 3, 2026
7e7cd4a
BDSP AutoStory: 01.03 talks to Barry below the decomp's Center door
dayfine Nov 3, 2026
e7282a5
BDSP AutoStory: a map for the mine's entrance hall; Dawn's scene on J…
dayfine Nov 3, 2026
8f308aa
BDSP AutoStory: 00.04d's stairs are an event step, not a STEP
dayfine Nov 3, 2026
d759067
Merge bdsp/autostory-v4-seg01 (#175) into bdsp/autostory-v4
dayfine Nov 3, 2026
74d6099
Merge bdsp/shared-steps (#173) into bdsp/autostory-v4
dayfine Nov 3, 2026
d2ca9cf
Merge bdsp/actions-v4 (76e3649f5: verify mode from #122) into bdsp/au…
dayfine Nov 3, 2026
040693c
BDSP AutoStory: verify mode, the start checkpoint N runs from its save
dayfine Nov 3, 2026
6ff1bf6
Merge bdsp/autostory-v4 (040693c62: verify mode from #122) into bdsp/…
dayfine Nov 3, 2026
7f16d8c
Merge commit '101c5b8172d5df14f8d4f029e64150b4c448c789' into HEAD
dayfine Nov 5, 2026
acfb874
Merge remote-tracking branch 'origin/bdsp/actions-v4' into bdsp/autos…
dayfine Nov 6, 2026
bc0411c
BDSP AutoStory autostory: align with PR #231 lint conventions
dayfine Nov 6, 2026
5b69d9c
Merge remote-tracking branch 'origin/bdsp/actions-v4' into bdsp/autos…
dayfine Nov 7, 2026
1718b4d
BDSP AutoStory: move Events and Talks into Actions/ subdirectory
dayfine Nov 7, 2026
ca09000
Merge remote-tracking branch 'origin/bdsp/actions-v4' into bdsp/autos…
dayfine Nov 7, 2026
e553cc0
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 8, 2026
bf10b8a
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 8, 2026
1613d14
Merge remote-tracking branch 'origin/bdsp/actions-v4' into bdsp/autos…
dayfine Nov 8, 2026
409f7bb
Merge remote-tracking branch 'origin/bdsp/actions-v4' into bdsp/autos…
dayfine Nov 8, 2026
9c458be
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/vie…
dayfine Nov 8, 2026
e075594
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 8, 2026
886ca86
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 8, 2026
efa79fe
Merge remote-tracking branch 'origin/bdsp/actions-v4' into HEAD
dayfine Nov 9, 2026
ed22a4a
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
5e4d5c1
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
ff2f4e9
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
6cec612
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
9df1c30
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
75144ac
BDSP: fold #226 fixes into the story places and Oreburgh events
dayfine Nov 9, 2026
d200e24
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/vie…
dayfine Nov 9, 2026
d73147d
BDSP walk: the late-tap check counts a scrolled view, as look() does
dayfine Nov 9, 2026
a002b5e
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
7372196
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
3e2e888
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
3e2fd61
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
a0069e2
Merge bdsp/actions-v4 (merge of #122 b3aa69e19) into bdsp/autostory-v4
dayfine Nov 9, 2026
f995078
Merge bdsp/walk-v4 (timed walk events, open-leg battle placement) int…
dayfine Nov 9, 2026
e767c93
Merge bdsp/walk-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
7053617
Merge bdsp/walk-v4 (open-leg battles placed by screen events) into bd…
dayfine Nov 9, 2026
beb1b24
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
e53da19
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 9, 2026
f89ce1b
Merge bdsp/actions-v4 into bdsp/autostory-v4 (wait for a battle's ope…
dayfine Nov 9, 2026
a55ae25
Merge bdsp/actions-v4 into bdsp/autostory-v4 (scene ends after its fa…
dayfine Nov 9, 2026
66d61e2
Merge bdsp/actions-v4 into bdsp/autostory-v4: a step on the Switch HO…
dayfine Nov 9, 2026
725672b
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 10, 2026
71d3c9f
BDSP AutoStory v4: steps name an action with args (after #312)
dayfine Nov 10, 2026
fd0b18c
AutoStory: resolve code-health linter findings for BDSP story steps
dayfine Nov 10, 2026
c149df4
Merge branch 'bdsp/autostory-v4' into bdsp/view-shift
dayfine Nov 10, 2026
2738bc2
AutoStory (BDSP): add metadata block with checkpoint phase
dayfine Nov 10, 2026
e3acae8
Merge branch 'bdsp/autostory-v4' into bdsp/view-shift
dayfine Nov 10, 2026
f1ff33d
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 11, 2026
39acdb1
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 11, 2026
2fe00a0
BDSP AutoStory: planned routes for the hand-written legs in 00.01-01.11
dayfine Nov 11, 2026
c5c4835
BDSP AutoStory: format the legs test's messages
dayfine Nov 11, 2026
9d93977
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 11, 2026
ff8e990
Merge origin/bdsp/autostory-v4 into bdsp/planned-routes
dayfine Nov 11, 2026
9ffa462
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 11, 2026
fa54de4
PokemonBDSP AutoStory: sim test, blocked from several possible tiles
dayfine Nov 11, 2026
c7160d8
BDSP AutoStory: leave the game where it failed
dayfine Nov 11, 2026
b1e22cd
PokemonBDSP AutoStory: mark the tiles past a still walk from several …
dayfine Nov 11, 2026
303ed1b
PokemonBDSP AutoStory: sim tests, Jubilife to the Center open legs an…
dayfine Nov 11, 2026
04b581a
Merge remote-tracking branch 'origin/autostory/program-shell' into bd…
dayfine Nov 11, 2026
2b4544d
AutoStory: name the codec test's temporaries (GCC dangling-pointer)
dayfine Nov 11, 2026
d77285a
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/sto…
dayfine Nov 11, 2026
7028e50
BDSP AutoStory: run on the shared program shell
dayfine Nov 11, 2026
18304df
PokemonBDSP AutoStory: town plans keep straight open runs to one leg
dayfine Nov 11, 2026
b33c1d5
Merge branch 'bdsp/actions-v4' into bdsp/autostory-v4
dayfine Nov 11, 2026
1bb28ff
AutoStory: build against the read-only story core
dayfine Nov 11, 2026
762df61
AutoStory: simulation test reads the start map through grid_pose_of()
dayfine Nov 11, 2026
159cbf0
Merge branch 'bdsp/stop-not-close' into bdsp/program-shell
dayfine Nov 11, 2026
e9d3db8
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/sto…
dayfine Nov 11, 2026
235057d
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into bdsp/pla…
dayfine Nov 11, 2026
00805b2
Merge remote-tracking branch 'origin/bdsp/planned-routes' into bdsp/b…
dayfine Nov 11, 2026
5a80de3
Merge branch 'bdsp/blocked-leg-replan' into bdsp/open-leg-costs
dayfine Nov 11, 2026
48758b7
PokemonBDSP AutoStory: fault sweep, open legs coming up short
dayfine Nov 11, 2026
ec1505f
Merge remote-tracking branch 'origin/autostory/program-shell' into bd…
dayfine Nov 11, 2026
954ae87
BDSP AutoStory: golden test for every story route's planned legs
dayfine Nov 11, 2026
6d76f88
PokemonBDSP AutoStory: fault sweep models timed holds overshooting
dayfine Nov 11, 2026
0113ca2
PokemonBDSP AutoStory: drop the 12-tile cap on straight open runs
dayfine Nov 11, 2026
1e8f256
PokemonBDSP AutoStory: sim test, Jubilife to the Center with held run…
dayfine Nov 11, 2026
837f96e
AutoStory: sim legs that leave their map land on the next one
dayfine Nov 11, 2026
568ada6
AutoStory: sim legs name the JSON map they land on
dayfine Nov 11, 2026
26a4bda
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into HEAD
dayfine Nov 11, 2026
8054018
Merge remote-tracking branch 'origin/nav/story-start-gate' into bdsp/…
dayfine Nov 11, 2026
537e56e
Merge branch 'bdsp/open-leg-costs' into bdsp/golden-plans
dayfine Nov 11, 2026
ed83a74
Merge remote-tracking branch 'origin/bdsp/autostory-v4' into HEAD
dayfine Nov 11, 2026
f7727c2
BDSP AutoStory: golden plans without the open-run cap
dayfine Nov 11, 2026
492da86
Merge remote-tracking branch 'origin/bdsp/planned-routes' into HEAD
dayfine Nov 11, 2026
cc7861f
Merge remote-tracking branch 'origin/bdsp/blocked-leg-replan' into HEAD
dayfine Nov 11, 2026
09eb4ee
Merge remote-tracking branch 'origin/bdsp/open-leg-costs' into HEAD
dayfine Nov 11, 2026
efa2d3e
BDSP AutoStory: start gate, no blind save
dayfine Nov 11, 2026
51681a5
Merge remote-tracking branch 'origin/bdsp/golden-plans' into bdsp/gol…
dayfine Nov 11, 2026
8b831e0
Merge #392 (bdsp/golden-plans) into bdsp/open-leg-costs
dayfine Nov 11, 2026
bb971b5
Merge #383 (bdsp/open-leg-costs) into bdsp/blocked-leg-replan
dayfine Nov 11, 2026
2496197
Merge remote-tracking branch 'origin/nav/story-start-gate' into bdsp/…
dayfine Nov 11, 2026
7a8f1c3
AutoStory: Use StoryPreflight's FAILURE and check() after the #396 merge
dayfine Nov 11, 2026
39a56ac
Merge remote-tracking branch 'origin/nav/story-start-gate' into bdsp/…
dayfine Nov 11, 2026
fb7e08b
AutoStory: use StoryPreflight::read after merging nav/story-start-gate
dayfine Nov 11, 2026
e11c024
Merge remote-tracking branch 'origin/nav/grid-story-steps' into bdsp/…
dayfine Nov 11, 2026
c17785b
Merge branch 'bdsp/stop-not-close' into bdsp/program-shell
dayfine Nov 11, 2026
5558162
Merge #381 (bdsp/program-shell) into bdsp/stop-not-close
dayfine Nov 11, 2026
8c79a9d
Merge bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 11, 2026
2efbad2
Merge bdsp/autostory-v4 into bdsp/stop-not-close
dayfine Nov 11, 2026
7d905ad
Merge #378 (bdsp/stop-not-close) into bdsp/autostory-v4
dayfine Nov 12, 2026
ce5b16a
Merge #374 (bdsp/planned-routes) into bdsp/autostory-v4
dayfine Nov 12, 2026
9482e97
Merge #379 (bdsp/blocked-leg-replan) into bdsp/autostory-v4
dayfine Nov 12, 2026
0ef4537
Merge branch 'nav/move-mechanics' into bdsp/move-mechanics
dayfine Nov 12, 2026
7f95d49
PokemonBDSP AutoStory: read taps and tile times from the shared table
dayfine Nov 12, 2026
ea0280b
PokemonBDSP AutoStory: keep PlannedRoute.cpp within its line limit
dayfine Nov 12, 2026
26e503d
Merge remote-tracking branch 'origin/nav/connected-maps' into bdsp/co…
dayfine Nov 12, 2026
2eeee6e
Merge branch 'nav/connected-maps' into bdsp/connected-maps
dayfine Nov 12, 2026
780b97b
PokemonBDSP AutoStory: story worlds also as connected maps
dayfine Nov 12, 2026
40f1547
PokemonBDSP AutoStory: connected_maps() as a free function; flatter e…
dayfine Nov 12, 2026
d9b4a29
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 12, 2026
bcad53d
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 12, 2026
88bb10a
Merge origin/bdsp/autostory-v4 into bdsp/move-mechanics
dayfine Nov 12, 2026
27e7ac5
Merge origin/bdsp/autostory-v4 into bdsp/connected-maps
dayfine Nov 12, 2026
6d00388
Merge branch 'bdsp/actions-v4' into bdsp/autostory-v4
dayfine Nov 12, 2026
e0b7e2b
Merge branch 'bdsp/actions-v4' into bdsp/autostory-v4
dayfine Nov 12, 2026
44c5435
Merge branch 'bdsp/autostory-v4' into bdsp/move-mechanics
dayfine Nov 12, 2026
7c4607f
Merge branch 'nav/move-mechanics' into bdsp/move-mechanics
dayfine Nov 12, 2026
8c66bc8
BDSP AutoStory: read the walking step tap from its gait (#404 review)
dayfine Nov 12, 2026
bb345f7
Merge branch 'bdsp/autostory-v4' into bdsp/connected-maps
dayfine Nov 12, 2026
0ec0e42
Merge branch 'nav/connected-maps' into bdsp/connected-maps
dayfine Nov 12, 2026
d76aa60
BDSP AutoStory: connected-world test checks for a missing plan world;…
dayfine Nov 12, 2026
60a1a5b
Merge branch 'nav/connected-maps' into bdsp/connected-maps
dayfine Nov 12, 2026
bc33434
Merge #404 bdsp/move-mechanics into bdsp/autostory-v4
dayfine Nov 12, 2026
a84a6fc
Merge #411 bdsp/connected-maps into bdsp/autostory-v4
dayfine Nov 12, 2026
87667f0
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 12, 2026
9978946
Merge origin/bdsp/autostory-v4 into bdsp/view-shift
dayfine Nov 12, 2026
ddccf0f
Merge bdsp/view-shift (#168) into bdsp/autostory-v4
dayfine Nov 13, 2026
db02ddb
Merge origin/bdsp/actions-v4 into bdsp/autostory-v4
dayfine Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions SerialPrograms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ pa_pokesim_map_directory(BDSP_MAP_DIRECTORY bdsp "${POKESIM_CONSUMER}" "${POKESI
file(RELATIVE_PATH BDSP_MAP_RESOURCES "${CMAKE_CURRENT_SOURCE_DIR}" "${BDSP_MAP_DIRECTORY}")
pa_embed_text_files(SerialProgramsLib "${BDSP_MAP_RESOURCES}"
PokemonBDSP/Programs/AutoStory/Data/PokemonBDSP_AutoStory_Maps.h PokemonAutomation::NintendoSwitch::PokemonBDSP bdsp_map_json)
pa_embed_text_files(SerialProgramsLib Source/PokemonBDSP/Programs/AutoStory/StoryData
PokemonBDSP/Programs/AutoStory/PokemonBDSP_AutoStory_StoryData.h PokemonAutomation::NintendoSwitch::PokemonBDSP bdsp_checkpoint_json)


# Create binary target
Expand Down
36 changes: 25 additions & 11 deletions SerialPrograms/Source/PokemonBDSP/PokemonBDSP_Panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "CommonFramework/StaticGlobals.h"
#include "CommonFramework/GlobalAutoPaths.h"

#include "PokemonBDSP/Programs/AutoStory/PokemonBDSP_AutoStory.h"

#include "PokemonBDSP_Panels.h"
#include "PokemonBDSP_Settings.h"

Expand Down Expand Up @@ -57,7 +59,26 @@
)
{}

namespace{

// The programs shown only in beta builds or developer mode.
void add_beta_and_developer_panels(std::vector<PanelEntry>& ret){
if (IS_BETA_VERSION || STATIC_GLOBALS.DEVELOPER_MODE){
ret.emplace_back("---- Untested/Beta/WIP ----");
ret.emplace_back(make_SingleSwitchProgram<IntroSeedFinder>());
ret.emplace_back(make_SingleSwitchProgram<BedroomSeedFinder>());
}
if (STATIC_GLOBALS.DEVELOPER_MODE){
ret.emplace_back("---- Developer Tools ----");
ret.emplace_back(make_SingleSwitchProgram<ShinyEncounterTester>());
ret.emplace_back(make_SingleSwitchProgram<SoundListener>());
ret.emplace_back(make_SingleSwitchProgram<SummaryReaderTester>());
}
}

} // namespace

std::vector<PanelEntry> PanelListFactory::make_panels() const{

Check warning on line 81 in SerialPrograms/Source/PokemonBDSP/PokemonBDSP_Panels.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

PokemonAutomation::NintendoSwitch::PokemonBDSP::PanelListFactory::make_panels() const: function_lines=48 (advisory above 25, limit 50)
std::vector<PanelEntry> ret;

ret.emplace_back("---- Settings ----");
Expand Down Expand Up @@ -91,24 +112,17 @@
ret.emplace_back(make_SingleSwitchProgram<EggHatcher>());
ret.emplace_back(make_SingleSwitchProgram<EggAutonomous>());

ret.emplace_back("---- Auto Story ----");
ret.emplace_back(make_SingleSwitchProgram<BDSPAutoStory>());

ret.emplace_back("---- Glitches (v1.1.3) ----");
ret.emplace_back(make_SingleSwitchProgram<ActivateMenuGlitch113>());
ret.emplace_back(make_SingleSwitchProgram<CloneItemsBoxCopy2>());

ret.emplace_back("---- Glitches (v1.1.2) ----");
ret.emplace_back(make_SingleSwitchProgram<ActivateMenuGlitch112>());

if (IS_BETA_VERSION || STATIC_GLOBALS.DEVELOPER_MODE){
ret.emplace_back("---- Untested/Beta/WIP ----");
ret.emplace_back(make_SingleSwitchProgram<IntroSeedFinder>());
ret.emplace_back(make_SingleSwitchProgram<BedroomSeedFinder>());
}
if (STATIC_GLOBALS.DEVELOPER_MODE){
ret.emplace_back("---- Developer Tools ----");
ret.emplace_back(make_SingleSwitchProgram<ShinyEncounterTester>());
ret.emplace_back(make_SingleSwitchProgram<SoundListener>());
ret.emplace_back(make_SingleSwitchProgram<SummaryReaderTester>());
}
add_beta_and_developer_panels(ret);

return ret;
}
Expand Down
6 changes: 6 additions & 0 deletions SerialPrograms/Source/PokemonBDSP/PokemonBDSP_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#include "Programs/AutoStory/PokemonBDSP_AutoStory_Segment00_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_StoryMaps_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_StoryWorld_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_StorySimulation_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_StoryTable_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_StoryData_Tests.h"
#include "Programs/AutoStory/PokemonBDSP_AutoStory_Walk_Tests.h"
#include "PokemonBDSP_Tests.h"

Expand All @@ -32,6 +35,9 @@ void add_tests(UnitTestDatabase& database){
add_tests_AutoStory_RoutePlanner(database);
add_tests_AutoStory_StoryMaps(database);
add_tests_AutoStory_Segment00(database);
add_tests_AutoStory_StorySimulation(database);
add_tests_AutoStory_StoryTable(database);
add_tests_AutoStory_StoryData(database);
add_tests_AutoStory_Walk(database);
add_tests_AutoStory_PlannedRoute(database);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <cmath>
#include <format>
#include "Common/Cpp/Filesystem/Filesystem.h"
#include "Common/Cpp/PrettyPrint.h"
#include "CommonFramework/Exceptions/OperationFailedException.h"
Expand Down Expand Up @@ -273,7 +274,7 @@
return location;
}

bool save_game(
void save_game(

Check warning on line 277 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Actions.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

PokemonAutomation::NintendoSwitch::PokemonBDSP::save_game( SingleSwitchProgramEnvironment & env , ProControllerContext & context , const std :: string & expected_location): function_lines=26 (advisory above 25, limit 50)
SingleSwitchProgramEnvironment& env,
ProControllerContext& context,
const std::string& expected_location
Expand All @@ -283,23 +284,21 @@
for (size_t attempt = 0; attempt < MAX_RETRIES; attempt++){
const SaveAttempt result = save_once(env, context, expected_location, attempt);
if (result.outcome == SaveOutcome::SAVED){
return true;
return;
}
// No blind fallback for the wrong place: it would save there.
if (result.outcome == SaveOutcome::WRONG_PLACE){
OperationFailedExceptionWithScreenshot::fire(ErrorReportMode::SEND_ERROR_REPORT, result.wrong_place, env.console);
}
}

// Blind fallback: reuse the non-feedback save_game(context) from GameNavigation
// rather than duplicating the button sequence manually.
env.console.log("All save retries failed. Using blind fallback.", COLOR_ORANGE);
pbf_mash_button(context, BUTTON_B, 1000ms);
save_game(context); // PokemonBDSP_GameNavigation.h - non-feedback overload
pbf_mash_button(context, BUTTON_B, 2000ms);
context.wait_for_all_requests();

return false;
// No blind save: presses the screen never confirmed could land anywhere,
// even on the HOME menu (console B, 2026-11-11). Stop instead.
OperationFailedExceptionWithScreenshot::fire(
ErrorReportMode::SEND_ERROR_REPORT,
std::format("Couldn't confirm the save screen in {} attempts; not saving.", MAX_RETRIES),
env.console
);
}

void wait_for_dialogue(VideoStream& stream,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ namespace NintendoSwitch{
namespace PokemonBDSP{


// Save the game from the overworld with retries. Returns true if the save was
// verified via overworld detection, false if the blind fallback was used.
// Save the game from the overworld with retries. A save the screen never
// confirmed fails with a screenshot: there is no blind save (console B,
// 2026-11-11: one pressed X/R/ZL on the HOME menu).
// With `expected_location`, the map named on the save screen's card must be
// it (compared as a location banner is), or the save is backed out of and
// the function fails with a screenshot: r124a saved in Sandgem Town after a
// walk that was sure it stood on Route 202.
bool save_game(
void save_game(
SingleSwitchProgramEnvironment& env,
ProControllerContext& context,
const std::string& expected_location = ""
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* BDSP AutoStory - Events
*
* From: https://github.com/PokemonAutomation/
*
*/

#include <utility>
#include "PokemonBDSP_AutoStory_Events.h"

namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonBDSP{


const StoryEvents& story_events(){
static const StoryEvents events = []{
StoryEvents ret;
add_lake_events(ret);
add_sandgem_events(ret);
add_jubilife_events(ret);
add_oreburgh_events(ret);
add_route204_events(ret);
return ret;
}();
return events;
}

StoryEvent console_event(std::function<void(VideoStream& stream, ProControllerContext& context)> action){
return [action = std::move(action)](StoryExecutor& executor, Pokemon::RunState&, const Pokemon::StoryStep&){
action(executor.stream(), executor.context());
return Pokemon::outcome_ok();
};
}



} // namespace PokemonBDSP
} // namespace NintendoSwitch
} // namespace PokemonAutomation
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// code-health: allow header_symbols -- story event dispatch table and per-area event population functions
/* BDSP AutoStory - Events
*
* From: https://github.com/PokemonAutomation/
*
* The story's steps that only BDSP has, by name: a step of the table whose
* variant names one of these runs it (StoryExecutor::run()). Some are the
* scripted scenes (the Azure Flute, the lake's briefcase, the starter,
* Dawn's catching tutorial and the catch); the rest do what the shared
* steps cannot, as they ran on the console: the Poke Mart lady's Potions
* and the stairs into Jubilife (00.04c, 00.04d), a clown who wanders
* (00.05b), the Gym's tries from the Pokemon Center (01.04) and Rock Smash
* (01.09). Each fails by throwing, with a screenshot; the executor turns
* that into a failed step.
*
* They are in files by area: _Events_Lake (00.00 to 00.04), _Sandgem
* (00.04c, 00.04d), _Jubilife (00.05b), _Oreburgh (01.04) and _Route204
* (01.09).
*
*/

#ifndef PokemonAutomation_PokemonBDSP_AutoStory_Events_H
#define PokemonAutomation_PokemonBDSP_AutoStory_Events_H

#include <functional>
#include <map>
#include <string>
#include "PokemonBDSP/Programs/AutoStory/PokemonBDSP_AutoStory_StoryExecutor.h"

namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonBDSP{


// Runs a step on the console. Returns where it left the player when it
// knows; throws OperationFailedException when it fails.
using StoryEvent = std::function<Pokemon::Outcome(
StoryExecutor& executor, Pokemon::RunState& state, const Pokemon::StoryStep& step
)>;
// Map of story event names to their execution functions.
using StoryEvents = std::map<std::string, StoryEvent>;

// Every event of the story, by name.
const StoryEvents& story_events();

// An event that only acts and says nothing of where it leaves us.
StoryEvent console_event(std::function<void(VideoStream& stream, ProControllerContext& context)> action);

// Populates lake-area story event handlers.
void add_lake_events(StoryEvents& events);
// Populates Sandgem-area story event handlers.
void add_sandgem_events(StoryEvents& events);
// Populates Jubilife-area story event handlers.
void add_jubilife_events(StoryEvents& events);
// Populates Oreburgh-area story event handlers.
void add_oreburgh_events(StoryEvents& events);
// Populates Route 204-area story event handlers.
void add_route204_events(StoryEvents& events);



} // namespace PokemonBDSP
} // namespace NintendoSwitch
} // namespace PokemonAutomation
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/* BDSP AutoStory - Events: Jubilife City (00.05b)
*
* From: https://github.com/PokemonAutomation/
*
* The Jubilife beat of 00.05b the story table cannot plan: the talk to a
* wandering clown.
*
*/

#include <format>
#include <optional>
#include "CommonFramework/ImageTools/ImageBoxes.h"
#include "CommonFramework/VideoPipeline/VideoFeed.h"
#include "CommonTools/Async/InferenceRoutines.h"
#include "NintendoSwitch/Commands/NintendoSwitch_Commands_PushButtons.h"
#include "PokemonBDSP/Inference/PokemonBDSP_DialogDetector.h"
#include "PokemonBDSP/Programs/AutoStory/Utils/PokemonBDSP_AutoStory_RouteWalk.h"
#include "PokemonBDSP/Programs/AutoStory/Utils/PokemonBDSP_AutoStory_Walk.h"
#include "PokemonBDSP/Programs/AutoStory/Utils/PokemonBDSP_AutoStory_WalkDpad.h"
#include "PokemonBDSP_AutoStory_Talks.h"
#include "PokemonBDSP/Programs/AutoStory/PokemonBDSP_AutoStory_Walks.h"
#include "PokemonBDSP_AutoStory_WildBattle.h"
#include "PokemonBDSP_AutoStory_Events.h"

namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonBDSP{

using namespace std::chrono_literals;
using Pokemon::Direction;


namespace{

// 00.05b: a talk to someone who wanders a tile either side of home along a
// row (the clowns by the Mart and the Poketch Company, WANDER_AROUND with
// x range 1). Waiting under home alone missed him for a minute (r66: he
// stood a tile east), so walk the row below his range, a whole D-pad tile
// at a time, asking north from each tile. His question's answer is Yes, so
// A answers and takes the coupon; then back under his home tile.
bool ask_north(VideoStream& stream, ProControllerContext& context){
route_turn(stream, context, Direction::NORTH);
for (size_t ask = 0; ask < 2; ask++){
pbf_press_button(context, BUTTON_A, 80ms, 0ms);
context.wait_for_all_requests();
ShortDialogWatcher dialog(COLOR_YELLOW);
if (wait_until(stream, context, 1500ms, {{dialog}}) == 0){
return true;
}
}
return false;
}
// One tile along the row, east (+1) or west (-1).
void step_along(VideoStream& stream, ProControllerContext& context, int east, const std::string& label){
route_turn(stream, context, east > 0 ? Direction::EAST : Direction::WEST);
walk_tiles_dpad(stream, context, run_from_wild_battle, {east > 0 ? 1.0 : -1.0, 0}, 1, label);
}
Pokemon::Outcome talk_to_wanderer(StoryExecutor& executor, Pokemon::RunState&, const Pokemon::StoryStep& step){

Check warning on line 58 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Events_Jubilife.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

style: talk_to_wanderer: output parameter 'StoryExecutor& executor' comes before an input; put inputs (by value, const&) first and non-const references last (Google "Function Parameter Ordering")

Check warning on line 58 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Events_Jubilife.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

PokemonAutomation::NintendoSwitch::PokemonBDSP::talk_to_wanderer( StoryExecutor & executor , Pokemon :: RunState & , const Pokemon :: StoryStep & step): function_lines=27 (advisory above 25, limit 50)
VideoStream& stream = executor.stream();
ProControllerContext& context = executor.context();
const std::string label = "Along the row below " + step.name;

Check warning on line 61 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Events_Jubilife.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

style: build strings with std::format, not + on a literal / std::to_string / std::string (fork AGENTS.md "Strings")
// Home, east, west, west, east: each move one tile on the D-pad.
const int moves[] = {0, 1, -1, -1, 1};
int at = 0;
for (size_t round = 0; round < 6; round++){
for (int move : moves){
if (move != 0){
step_along(stream, context, move, label);
at += move;
}
if (!ask_north(stream, context)){
continue;
}
stream.log(std::format("[Talk] {}: answered in round {}, {} tiles east of home.", step.name, round + 1, at));
finish_dialogue(stream, context, BUTTON_A, step.name);
for (; at != 0; at += at > 0 ? -1 : 1){
step_along(stream, context, at > 0 ? -1 : 1, "Back below " + step.name + "'s home");

Check warning on line 77 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Events_Jubilife.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

style: build strings with std::format, not + on a literal / std::to_string / std::string (fork AGENTS.md "Strings")
}
route_turn(stream, context, Direction::NORTH);
return Pokemon::outcome_ok();
}
}
fail_step(stream, step.name + ": no answer from any tile below his range.");

Check warning on line 83 in SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/Actions/PokemonBDSP_AutoStory_Events_Jubilife.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

style: build strings with std::format, not + on a literal / std::to_string / std::string (fork AGENTS.md "Strings")
}

} // namespace


void add_jubilife_events(StoryEvents& events){
events.emplace("talk_to_wanderer", talk_to_wanderer);
}



} // namespace PokemonBDSP
} // namespace NintendoSwitch
} // namespace PokemonAutomation
Loading
Loading