From 3bc7b621006617b46ee049c14c1aa933c98a728f Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sun, 23 Nov 2025 17:01:48 +0100 Subject: [PATCH] defs: Added act cb flags p0 and state --- src/defs.s | 3 +++ src/macros.inc | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/defs.s b/src/defs.s index 8af9aa4..83e876f 100644 --- a/src/defs.s +++ b/src/defs.s @@ -57,12 +57,15 @@ ; actor combat stats struct ; this can be shared by many actors .se 0 +.de act_cb_flags, 1 .de act_cb_lvl, 1 .de act_cb_exp, 2 .de act_cb_atk, 1 .de act_cb_def, 1 .de act_cb_hp_max, 1 .de act_cb_mp_max, 1 +.de act_cb_p0, 1 +.de act_cb_state, 1 .de act_cb_size, 0 diff --git a/src/macros.inc b/src/macros.inc index 18621d7..47483fd 100644 --- a/src/macros.inc +++ b/src/macros.inc @@ -204,8 +204,12 @@ $1: ; $4: hp max ; $5: mp max #macro actcbdef + ; flags + .db 0 .db $1, $2, $2 ; exp .db 0, 0 .db $4, $5 + ; p0, state + .db 0, 0 #endmacro -- 2.30.2