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.
This commit is contained in:
parent
ce12a1d7a5
commit
ccba5d75a2
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
// scripted push-back, and a push-back walls the tile for the session.
|
||||||
let mut world = World::room().at(3, 1);
|
let mut world = World::room().at(3, 1);
|
||||||
world.map = 0x0f;
|
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 {
|
for x in 0..8 {
|
||||||
world.walls.insert(Tile::new(x, 3));
|
world.walls.insert(Tile::new(x, 3));
|
||||||
world.ledges.push((Tile::new(x, 2), Facing::Down));
|
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.
|
// From below, the ledge is a wall: nothing plans up it.
|
||||||
let mut below = World::room().at(3, 6);
|
let mut below = World::room().at(3, 6);
|
||||||
below.map = 0x0f;
|
below.map = 0x0f;
|
||||||
|
below.seen_maps.insert(maps::MT_MOON_POKECENTER);
|
||||||
for x in 0..8 {
|
for x in 0..8 {
|
||||||
below.walls.insert(Tile::new(x, 3));
|
below.walls.insert(Tile::new(x, 3));
|
||||||
below.ledges.push((Tile::new(x, 2), Facing::Down));
|
below.ledges.push((Tile::new(x, 2), Facing::Down));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue