From: Lukas Krickl Date: Sat, 16 Aug 2025 16:02:49 +0000 (+0200) Subject: action: Added ability to abort attack command X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=9971f74fd738a2274d1c6b14564883f70cff71a0;p=gbrg%2F.git action: Added ability to abort attack command --- 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