From 9971f74fd738a2274d1c6b14564883f70cff71a0 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sat, 16 Aug 2025 18:02:49 +0200 Subject: [PATCH] action: Added ability to abort attack command --- src/action.s | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/action.s b/src/action.s index 196d5d3..eeb6ded 100644 --- a/src/action.s +++ b/src/action.s @@ -55,6 +55,11 @@ unit_action_attack_pick_direction_init: ; returns: ; bc: next action unit_action_attack_pick_direction: + ; b to abort + ld b, BTNB + input_just + jp nz, unit_switch_to_active + ldnull bc ret -- 2.30.2