aboutsummaryrefslogtreecommitdiffstats
path: root/SL0P.md
diff options
context:
space:
mode:
authorAsh Ketchum <no-reply@sl0p.foo>2026-07-15 14:09:43 +0200
committerAsh Ketchum <no-reply@sl0p.foo>2026-07-15 14:09:43 +0200
commit01a1241e71e3aabfcaf36fee71916654dd95f407 (patch)
treefc054593510312cd4586a6377ccf552259799260 /SL0P.md
parentexplore: direction arrows showing where you can move (diff)
downloadpokeyellow-01a1241e71e3aabfcaf36fee71916654dd95f407.tar.gz
pokeyellow-01a1241e71e3aabfcaf36fee71916654dd95f407.tar.xz
pokeyellow-01a1241e71e3aabfcaf36fee71916654dd95f407.zip
explore: press A to warp to the viewed location
In the paging camera, A now drops the player onto the map you're looking at. It scans outward from the screen centre (wTileMap col 8,row 9 = the view centre) for the nearest tile that IsTilePassable, adjusts wYCoord/wXCoord to it, sets wDestinationWarpID=$ff so LoadMapData enters at those coords, and returns carry set to close the menu and resume the overworld right there. Factored the view- pointer math into SlopSetViewPtr (shared by the camera + the warp landing). Verified: browse Pallet -> Route 1, A -> player lands on Route 1 at the centre tile and walks around normally (sprite + Pikachu, wild data intact).
Diffstat (limited to 'SL0P.md')
0 files changed, 0 insertions, 0 deletions