defs: Added act cb flags p0 and state
authorLukas Krickl <lukas@krickl.dev>
Sun, 23 Nov 2025 16:01:48 +0000 (17:01 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sun, 23 Nov 2025 16:01:48 +0000 (17:01 +0100)
src/defs.s
src/macros.inc

index 8af9aa412cf7d8714cf2bdfff68fc16067a022aa..83e876f097527b442c3855bd539374700899dd94 100644 (file)
        ; 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
 
   
index 18621d78f0de9d3d9f5b07390f8d1539ae4c8e40..47483fda330c43caf0a40105a8289263503ab518 100644 (file)
@@ -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