diff options
| author | Sylvie <35663410+Rangi42@users.noreply.github.com> | 2024-06-15 12:18:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 12:18:00 -0400 |
| commit | fc23e72a39eb9cb9ca0651ea805abb6f47ee458c (patch) | |
| tree | d2c648b27d20849b6bbeddab6f5004b752da741e /home/overworld.asm | |
| parent | Add comment about audio engine perfect pitch bug (#451) (diff) | |
| download | pokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.tar.gz pokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.tar.xz pokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.zip | |
Identify some unused WRAM variables (#453)
Diffstat (limited to 'home/overworld.asm')
| -rw-r--r-- | home/overworld.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/overworld.asm b/home/overworld.asm index 885a5327..eda5428a 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -491,7 +491,7 @@ WarpFound2:: ld a, [wCurMap] ld [wLastMap], a ld a, [wCurMapWidth] - ld [wUnusedD366], a ; not read + ld [wUnusedLastMapWidth], a ldh a, [hWarpDestinationMap] ld [wCurMap], a cp ROCK_TUNNEL_1F @@ -1869,7 +1869,7 @@ JoypadOverworld:: ; if done simulating button presses .doneSimulating xor a - ld [wUnusedCD3A], a + ld [wUnusedOverrideSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesEnd], a ld [wJoyIgnore], a @@ -2011,7 +2011,7 @@ LoadPlayerSpriteGraphicsCommon:: LoadMapHeader:: farcall MarkTownVisitedAndLoadMissableObjects ld a, [wCurMapTileset] - ld [wUnusedD119], a + ld [wUnusedCurMapTilesetCopy], a ld a, [wCurMap] call SwitchToMapRomBank ld a, [wCurMapTileset] @@ -2308,7 +2308,7 @@ LoadMapData:: ldh [hSCY], a ldh [hSCX], a ld [wWalkCounter], a - ld [wUnusedD119], a + ld [wUnusedCurMapTilesetCopy], a ld [wWalkBikeSurfStateCopy], a ld [wSpriteSetID], a call LoadTextBoxTilePatterns |
