action: delay to active after attack now uses template
authorLukas Krickl <lukas@krickl.dev>
Wed, 27 Aug 2025 16:06:13 +0000 (18:06 +0200)
committerLukas Krickl <lukas@krickl.dev>
Wed, 27 Aug 2025 16:06:13 +0000 (18:06 +0200)
src/action.s

index 4e6cc7f7aca8898f895ca961b11f1c48c01e8047..4c3787a067073b192bca80d3e759c81f5c254dd5 100644 (file)
@@ -217,7 +217,7 @@ unit_action_attack:
        ld [gameplay_flags], a
 
        ; set animation timer and delay
-       ld bc, st_unit_delay_to_active 
+       ld bc, st_unit_delay_to_active_template 
        ret
        
        ; performs damage calculations based on the attacked location