projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7487832
)
defs: Added act cb flags p0 and state
author
Lukas Krickl
<lukas@krickl.dev>
Sun, 23 Nov 2025 16:01:48 +0000
(17:01 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Sun, 23 Nov 2025 16:01:48 +0000
(17:01 +0100)
src/defs.s
patch
|
blob
|
history
src/macros.inc
patch
|
blob
|
history
diff --git
a/src/defs.s
b/src/defs.s
index 8af9aa412cf7d8714cf2bdfff68fc16067a022aa..83e876f097527b442c3855bd539374700899dd94 100644
(file)
--- 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 18621d78f0de9d3d9f5b07390f8d1539ae4c8e40..47483fda330c43caf0a40105a8289263503ab518 100644
(file)
--- 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