Open Route 32 to Route 34, the Ruins of Alph and Azalea Town (#32)
Enable Route 32 and its Pokémon Center, the Ruins of Alph with the four chambers, item and word rooms, inner chamber and research center, Union Cave, Route 33, Azalea Town with Kurt's house, the kiln and Bugsy's gym, the Slowpoke Well, Ilex Forest and Route 34. Port what their scripts need: saved WRAM bytes by label (readmem, writemem, loadmem: wFarfetchdPosition, wKurtApricornQuantity), VAR_UNOWNCOUNT and VAR_KURT_APRICORNS, SelectApricornForKurt and verbosegiveitemvar, Unown letters (GetUnownLetter, per-letter pictures, CheckUnownLetter's redraw, UpdateUnownDex, wFirstUnownSeen), the chamber puzzles (_UnownPuzzle), DisplayUnownWords, HoOhChamber and OmanyteChamber. Minigames and specials that draw a whole screen in tiles now share a tile screen effect with ROM graphics, palettes and sprites, answered with buttons; the standard font and textbox frame load for them. The playthrough continues through Kurt's Slowpoke Well, Bugsy, the rival and the Farfetch'd to the Route 34 gate; its helpers move to tests/playthrough-driver.ts. New tests solve the Kabuto puzzle through the world, catch Unown and make Kurt's balls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
15a31f95e4
commit
f4ef244fc7
31 files changed
+2334
-528
No files matched your search
+18
-9
@@ -517,16 +517,25 @@ describe.skipIf(!existsSync(romPath))(
|
||||
load(),
|
||||
() => new Date("2026-09-22T12:00:00"),
|
||||
);
|
||||
// Violet City's south edge leads to Route 32, which stays closed.
|
||||
const city = world.assets.map("10:5"),
|
||||
bottom = city.height - 1;
|
||||
const edge = Array.from({ length: city.width }, (_, x) => x).find(
|
||||
(x) =>
|
||||
world.assets.permission(world.assets.collision(city, x, bottom)) === 0,
|
||||
const start = world.save();
|
||||
// New Bark Town's east edge is water leading to Route 27, which
|
||||
// stays closed: a surfer is refused.
|
||||
const town = world.assets.map("24:4"),
|
||||
right = town.width - 1;
|
||||
const edge = Array.from({ length: town.height }, (_, y) => y).find(
|
||||
(y) =>
|
||||
world.assets.permission(world.assets.collision(town, right, y)) === 1,
|
||||
)!;
|
||||
world.restore({ ...world.save(), map: "10:5", x: edge, y: bottom });
|
||||
expect(world.move("down")).toBe(false);
|
||||
expect(world.notice).toBe("Route 32 is not ported yet.");
|
||||
world.restore({
|
||||
...world.save(),
|
||||
map: "24:4",
|
||||
x: right,
|
||||
y: edge,
|
||||
playerState: 4, // PLAYER_SURF
|
||||
});
|
||||
expect(world.move("right")).toBe(false);
|
||||
expect(world.notice).toBe("Route 27 is not ported yet.");
|
||||
world.restore(start);
|
||||
const {
|
||||
scenes,
|
||||
phone,
|
||||
|
||||
Reference in new issue
Block a user