Open Route 31, Violet City and Sprout Tower (#31)
Enable Route 31 and its gate, Dark Cave's Violet entrance, Violet City with its buildings and Sprout Tower. Port the script commands they use: gettrainername, askforphonenumber (with AddPhoneNumber's room for Mom and Elm; addcellnum now reports failure as the original does), checkpokemail, loadmenu/_2dmenu/closewindow, giveegg and trade (NPCTrade, with wTradeFlags saved). Eggs keep their species with an egg flag, as wPartySpecies does. The pack's TM/HM counts receive, check and toss TMs and HMs, which are named TM01-HM07. The playthrough continues through Route 31 (with Mom's call), Violet City and Sprout Tower to Elder Li's Flash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ec3d1cd5c4
commit
7909302db1
16 files changed
+585
-63
No files matched your search
@@ -18,7 +18,7 @@ const NEW_BARK_TOWN = "24:4",
|
||||
DARK_CAVE_VIOLET_ENTRANCE = "3:78";
|
||||
const SPAWN_NEW_BARK = 14,
|
||||
SPAWN_CHERRYGROVE = 15,
|
||||
SPAWN_VIOLET = 16;
|
||||
SPAWN_AZALEA = 18;
|
||||
const ENGINE_STORMBADGE = 32,
|
||||
EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST = 64;
|
||||
const FLY = 0x13,
|
||||
@@ -203,10 +203,11 @@ describe.skipIf(!existsSync(romPath))("Fly, Dig, Teleport and the Escape Rope",
|
||||
it("refuses to fly to a flypoint that is not ported", () => {
|
||||
const { world } = fixture([FLY], ROUTE_29, 50, 10);
|
||||
world.state.flags.add(ENGINE_STORMBADGE);
|
||||
visit(world, SPAWN_NEW_BARK, SPAWN_CHERRYGROVE, SPAWN_VIOLET);
|
||||
visit(world, SPAWN_NEW_BARK, SPAWN_CHERRYGROVE, SPAWN_AZALEA);
|
||||
useMove(world, "FLY");
|
||||
world.moveCursor("down"); // wraps to Violet City
|
||||
expect(flyMap(world)?.name).toBe("VIOLET CITY");
|
||||
for (let press = 0; press < 4 && flyMap(world)?.name !== "AZALEA TOWN"; press++)
|
||||
world.moveCursor("down");
|
||||
expect(flyMap(world)?.name).toBe("AZALEA TOWN");
|
||||
world.choose("a");
|
||||
until(world);
|
||||
expect(world.notice).toBe("This destination is not ported yet.");
|
||||
|
||||
Reference in new issue
Block a user