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 | |
| 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')
| -rw-r--r-- | home/names2.asm | 4 | ||||
| -rw-r--r-- | home/overworld.asm | 8 | ||||
| -rw-r--r-- | home/pathfinding.asm | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/home/names2.asm b/home/names2.asm index 7b905fc5..c27739d7 100644 --- a/home/names2.asm +++ b/home/names2.asm @@ -88,9 +88,9 @@ GetName:: call CopyData .gotPtr ld a, e - ld [wUnusedCF8D], a + ld [wUnusedNamePointer], a ld a, d - ld [wUnusedCF8D + 1], a + ld [wUnusedNamePointer + 1], a pop de pop bc pop hl 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 diff --git a/home/pathfinding.asm b/home/pathfinding.asm index 77cb5c4b..766e7b37 100644 --- a/home/pathfinding.asm +++ b/home/pathfinding.asm @@ -40,7 +40,7 @@ MoveSprite_:: ld [wSimulatedJoypadStatesEnd], a dec a ld [wJoyIgnore], a - ld [wUnusedCD3A], a + ld [wUnusedOverrideSimulatedJoypadStatesIndex], a ret ; divides [hDividend2] by [hDivisor2] and stores the quotient in [hQuotient2] |
