From 3b7ea84c9e7c01ad59f9694ff520222f1b6d132a Mon Sep 17 00:00:00 2001 From: Forest Belton <65484+forestbelton@users.noreply.github.com> Date: Thu, 1 Jul 2021 15:47:01 -0400 Subject: [PATCH] Increase walking speed --- src/player.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/player.s b/src/player.s index 8a549d3..848aca6 100644 --- a/src/player.s +++ b/src/player.s @@ -75,6 +75,7 @@ Player_Update:: cp SCRN_X jr nc, .left + inc [hl] inc [hl] call player_bg_collides @@ -89,6 +90,7 @@ Player_Update:: .right_rollback: ld hl, PLAYER_X dec [hl] + dec [hl] ret .left: @@ -103,6 +105,7 @@ Player_Update:: or a ret z + dec [hl] dec [hl] call player_bg_collides @@ -117,6 +120,7 @@ Player_Update:: .left_rollback: ld hl, PLAYER_X dec [hl] + inc [hl] ret ; Update player metasprite with positional data