From: Lukas Krickl Date: Thu, 25 Sep 2025 09:10:20 +0000 (+0200) Subject: player: movement now happens on the same frame again X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=2f8589f798c21088decce39c71e641b704ea51ec;p=gbrg%2F.git player: movement now happens on the same frame again --- diff --git a/src/actor.s b/src/actor.s index 86017cf..672e66a 100644 --- a/src/actor.s +++ b/src/actor.s @@ -137,11 +137,6 @@ actor_load_test: actor_spawn_test_guard 4, 20, 70 actor_spawn_test_guard 5, 20, 80 actor_spawn_test_guard 6, 30, 80 - actor_spawn_test_guard 7, 30, 80 - actor_spawn_test_guard 8, 30, 80 - actor_spawn_test_guard 9, 30, 80 - actor_spawn_test_guard 10, 30, 80 - actor_spawn_test_guard 11, 30, 80 ret ; despawns an actor diff --git a/src/player.s b/src/player.s index 52ddc6c..74c44ae 100644 --- a/src/player.s +++ b/src/player.s @@ -18,9 +18,6 @@ player_update: xor a, 1 ld [player_direction_proc], a - cp a, 1 - jp z, @left_right - ld b, BTNUP input_held jr z, @not_up REL @@ -48,7 +45,6 @@ player_update: call player_try_move @not_down: - jp @direction_done @left_right: