Port Fly, Dig, Teleport and the Escape Rope
FLY opens _FlyMap in the party menu: the region's Town Map with "Where?", the visited flypoints in turn and the Fly user's icon, then FlyScript flies the icon off along SpriteAnimFunc_FlyFrom's path, enters the spawn point and lands it with SpriteAnimFunc_FlyTo. Teleport returns to the last Pokémon Center's town through IsSpawnPoint. Dig and the Escape Rope lead out of a cave to the warp EnterMapWarp's SaveDigWarp recorded, which saves now keep. newloadmap stops its script as StopScript does and the world resumes it on the new map, which the landing and return movements need. A destination that is not ported yet gives a notice. Closes #25 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4cc0e756c
commit
a7aceda089
21 files changed
+1166
-97
No files matched your search
@@ -158,6 +158,7 @@ export const RAM = {
|
||||
surfingPlayerState: 0xd1eb,
|
||||
strengthSpecies: 0xd1ef,
|
||||
curHPAnimDeltaHP: 0xd1f3,
|
||||
visitedSpawns: 0xdca5,
|
||||
/** hMoneyTemp: HRAM, not WRAM like the other entries above. */
|
||||
moneyTemp: 0xffc3,
|
||||
} as const;
|
||||
@@ -170,6 +171,7 @@ export const EVENTS = {
|
||||
playersHouseDoll2: 1859,
|
||||
playersHouseBigDoll: 1860,
|
||||
wallOpenedInAerodactylChamber: 809,
|
||||
wallOpenedInKabutoChamber: 807,
|
||||
} as const;
|
||||
|
||||
/** Engine flag indices named directly by translated routines. */
|
||||
@@ -238,6 +240,19 @@ export const OVERWORLD = {
|
||||
AlreadySurfingText: 0xc9b3,
|
||||
"EscapeRopeOrDig.CantUseDigText": 0xcc26,
|
||||
"TeleportFunction.CantUseTeleportText": 0xccb6,
|
||||
"FlyFunction.FlyScript": 0xcaa3,
|
||||
"FlyFunction.ReturnFromFly": 0xcacb,
|
||||
"EscapeRopeOrDig.UsedEscapeRopeScript": 0xcc2b,
|
||||
"EscapeRopeOrDig.UsedDigScript": 0xcc35,
|
||||
"TeleportFunction.TeleportScript": 0xccbb,
|
||||
FlyFromAnim: 0x8caed,
|
||||
FlyToAnim: 0x8cb33,
|
||||
HideSprites: 0x3016,
|
||||
SkipUpdateMapSprites: 0x154f1,
|
||||
WaitSFX: 0x3c55,
|
||||
Flypoints: 0x91c5e,
|
||||
"TownMapBubble.Where": 0x91bf4,
|
||||
RuinsOfAlphKabutoChamber_MapAttributes: 0x958d0,
|
||||
"Softboiled_MilkDrinkFunction.ItemCantUseOnMonText": 0xf44a,
|
||||
RuinsOfAlphAerodactylChamber_MapAttributes: 0x958e8,
|
||||
AskCutScript: 0xd1a9,
|
||||
@@ -474,6 +489,7 @@ export const MENU = {
|
||||
PPsIncreasedText: 0xf734,
|
||||
BicycleEffect: 0xee08,
|
||||
EvoStoneEffect: 0xee0f,
|
||||
EscapeRopeEffect: 0xf44f,
|
||||
VitaminEffect: 0xee3d,
|
||||
RareCandyEffect: 0xef14,
|
||||
ItemStatRoseText: 0xeea6,
|
||||
|
||||
Reference in new issue
Block a user