From c353194fb963f3ec570e54e9f913b53c2cdd88f0 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 15 Aug 2025 06:53:24 +0200 Subject: [PATCH] battle: Added notes about unit state switching --- src/battle.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/battle.s b/src/battle.s index bfa1618..baf55fe 100644 --- a/src/battle.s +++ b/src/battle.s @@ -6,6 +6,8 @@ ; moved into combat. ; the current map's state is preserved. ; transitions game state to battle + ; switch all units to their attack state + ; and switch draw routines to battle routines ; inputs: ; de: player actor battle_enter: @@ -18,6 +20,8 @@ battle_enter: ; and reloads the map ; without re-generating it. ; the map simply needs to be drawn again + ; switch all units back to their active states + ; and restore draw routines battle_exit: ret -- 2.30.2