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 /engine/overworld | |
| 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 'engine/overworld')
| -rw-r--r-- | engine/overworld/auto_movement.asm | 4 | ||||
| -rw-r--r-- | engine/overworld/clear_variables.asm | 2 | ||||
| -rw-r--r-- | engine/overworld/movement.asm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/auto_movement.asm b/engine/overworld/auto_movement.asm index 53b70c19..53898371 100644 --- a/engine/overworld/auto_movement.asm +++ b/engine/overworld/auto_movement.asm @@ -17,7 +17,7 @@ PlayerStepOutFromDoor:: ret .notStandingOnDoor xor a - ld [wUnusedCD3A], a + ld [wUnusedOverrideSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesEnd], a ld hl, wd736 @@ -39,7 +39,7 @@ _EndNPCMovementScript:: ld [wNPCMovementScriptSpriteOffset], a ld [wNPCMovementScriptPointerTableNum], a ld [wNPCMovementScriptFunctionNum], a - ld [wUnusedCD3A], a + ld [wUnusedOverrideSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesIndex], a ld [wSimulatedJoypadStatesEnd], a ret diff --git a/engine/overworld/clear_variables.asm b/engine/overworld/clear_variables.asm index bbb7c986..6bd44963 100644 --- a/engine/overworld/clear_variables.asm +++ b/engine/overworld/clear_variables.asm @@ -10,7 +10,7 @@ ClearVariablesOnEnterMap:: ldh [hJoyReleased], a ldh [hJoyHeld], a ld [wActionResultOrTookBattleTurn], a - ld [wUnusedD5A3], a + ld [wUnusedMapVariable], a ld hl, wCardKeyDoorY ld [hli], a ld [hl], a diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm index fd26f9cb..afcb5907 100644 --- a/engine/overworld/movement.asm +++ b/engine/overworld/movement.asm @@ -179,7 +179,7 @@ UpdateNPCSprite: res 0, [hl] xor a ld [wSimulatedJoypadStatesIndex], a - ld [wUnusedCD3A], a + ld [wUnusedOverrideSimulatedJoypadStatesIndex], a ret .next cp WALK |
