diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-10 23:33:44 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-10 23:33:44 +0100 |
| commit | 21cf427b70f9e094423652741795e8e02128f28b (patch) | |
| tree | 01739b41a4afc26bb416471bb4f4357b78ceaab8 /src | |
| parent | 2c6383f0bff2fc9028cf397666fa18a9f2d6873a (diff) | |
| download | jetpac.nes-21cf427b70f9e094423652741795e8e02128f28b.tar.gz jetpac.nes-21cf427b70f9e094423652741795e8e02128f28b.zip | |
Remove target velocities from the player
This was mostly from an old implementation and no longer relevant.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/player.s | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/player.s b/src/player.s index 2a87b85..df2ee68 100644 --- a/src/player.s +++ b/src/player.s @@ -74,12 +74,10 @@ zp_screen_y = $40 zp_position_y = $41 ; asan:reserve $02 - zp_target_velocity_y = $43 ; TODO: needed? zp_velocity_y = $44 zp_screen_x = $45 zp_position_x = $46 ; asan:reserve $02 - zp_target_velocity_x = $48 ; TODO: needed? zp_velocity_x = $49 ;; Flags that manage the state of the player. @@ -128,9 +126,7 @@ ;; Reset velocity and walking counter. lda #0 - sta zp_target_velocity_y sta zp_velocity_y - sta zp_target_velocity_x sta zp_velocity_x sta zp_walk_counter |
