From ccba5d75a20f19af77d65910436d16594c159270 Mon Sep 17 00:00:00 2001 From: acamilo Date: Tue, 29 Sep 2026 01:31:22 +0000 Subject: [PATCH] tests: row 64's ledge test sees Route 4's centre, which row 62 made an errand review-row62-r2: merged, the Mt. Moon centre is the errand ahead of the test's goal on Route 4's west side; the behaviour is right, the fixture predates row 62. --- .../flysim/crates/flybrain-gb/src/pokemon_red/macros/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/flysim/crates/flybrain-gb/src/pokemon_red/macros/tests.rs b/services/flysim/crates/flybrain-gb/src/pokemon_red/macros/tests.rs index df26ef4..c3a0e0d 100644 --- a/services/flysim/crates/flybrain-gb/src/pokemon_red/macros/tests.rs +++ b/services/flysim/crates/flybrain-gb/src/pokemon_red/macros/tests.rs @@ -6032,6 +6032,8 @@ fn a_ledge_the_walk_presses_into_is_hopped_and_is_not_a_push_back() { // scripted push-back, and a push-back walls the tile for the session. let mut world = World::room().at(3, 1); world.map = 0x0f; + // Route 4's centre (row 62) is seen, so its errand does not come ahead of the goal. + world.seen_maps.insert(maps::MT_MOON_POKECENTER); for x in 0..8 { world.walls.insert(Tile::new(x, 3)); world.ledges.push((Tile::new(x, 2), Facing::Down)); @@ -6048,6 +6050,7 @@ fn a_ledge_the_walk_presses_into_is_hopped_and_is_not_a_push_back() { // From below, the ledge is a wall: nothing plans up it. let mut below = World::room().at(3, 6); below.map = 0x0f; + below.seen_maps.insert(maps::MT_MOON_POKECENTER); for x in 0..8 { below.walls.insert(Tile::new(x, 3)); below.ledges.push((Tile::new(x, 2), Facing::Down));