- Enable Route 29, its Route 46 gate, Cherrygrove City and its buildings. - Run item balls through FindItemInBallScript and fruit trees through FruitTreeScript, with a native daily reset of the daily engine flags. - Port the Pokémon Center nurse (HealParty with the PP Up clamp, CheckPokerus, phone-call checks) and record the whiteout spawn on entering a Pokémon Center, as EnterMapWarp does. - Port standard Poké Marts with keyboard, D-pad and pointer menus. - Add the recoil battle command (Struggle) and VAR_BOXSPACE. - Save fruit trees, the daily reset day and the last spawn map; older version-3 backups migrate by absence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
11d1153802
commit
796fe8f6d5
24 files changed
+1549
-59
No files matched your search
+8
-3
@@ -63,9 +63,9 @@ export class NativeRuntime implements GameRuntime {
|
||||
}
|
||||
if (button === "a") world.interact();
|
||||
if (button === "b") world.advanceDialogue();
|
||||
if ((button === "up" || button === "down") &&
|
||||
if (["up", "down", "left", "right"].includes(button) &&
|
||||
(world.dialogue?.choice || world.battle?.prompt?.kind === "yesno"))
|
||||
world.moveCursor(button);
|
||||
world.moveCursor(button as Direction);
|
||||
if ((button === "start" || button === "select") && !world.busy)
|
||||
world.notice =
|
||||
"Use the Savegames tab to save, export or import. Party, pack and Pokégear menus are not ported yet.";
|
||||
@@ -142,7 +142,12 @@ export class NativeRuntime implements GameRuntime {
|
||||
],
|
||||
dialogue?.index,
|
||||
dialogue?.pages,
|
||||
dialogue?.choice?.selected,
|
||||
// The whole choice, not just `selected`: mart screens replace one
|
||||
// choice kind with another (menu -> list -> quantity) while keeping
|
||||
// the same page and index, and `world.liveState.money` the mart UI
|
||||
// reads directly is otherwise absent from this signature.
|
||||
dialogue?.choice,
|
||||
world.liveState.money,
|
||||
dialogue?.holdTicks === undefined,
|
||||
]);
|
||||
if (signature === this.published) return;
|
||||
|
||||
Reference in new issue
Block a user