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
+40
-1
@@ -541,7 +541,8 @@ dialog h2 {
|
||||
.intro-screen:not([hidden]) ~ .minimap-overlay,
|
||||
.pokegear:not([hidden]) ~ .minimap-overlay,
|
||||
.trainer-card:not([hidden]) ~ .minimap-overlay,
|
||||
.options-screen:not([hidden]) ~ .minimap-overlay {
|
||||
.options-screen:not([hidden]) ~ .minimap-overlay,
|
||||
.fly-map:not([hidden]) ~ .minimap-overlay {
|
||||
display: none;
|
||||
}
|
||||
.pokepic {
|
||||
@@ -1348,6 +1349,44 @@ dialog dd {
|
||||
align-content: start;
|
||||
gap: 8px;
|
||||
}
|
||||
/* _FlyMap: the Town Map under TownMapBubble's "Where?" and the
|
||||
selected flypoint, with the up/down arrows. */
|
||||
.fly-map {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
justify-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
color: var(--ink);
|
||||
background: var(--cream);
|
||||
}
|
||||
.fly-map[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.fly-map-bubble {
|
||||
justify-self: stretch;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
margin: 0;
|
||||
padding: 4px 10px;
|
||||
border: 5px double var(--ink);
|
||||
white-space: pre;
|
||||
}
|
||||
.fly-map-bubble span:last-child {
|
||||
grid-row: span 2;
|
||||
align-self: center;
|
||||
}
|
||||
.fly-map canvas {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
min-height: 0;
|
||||
image-rendering: pixelated;
|
||||
object-fit: contain;
|
||||
}
|
||||
.options-screen li {
|
||||
display: grid;
|
||||
grid-template-columns: 1.4em 13ch auto;
|
||||
|
||||
Reference in new issue
Block a user