#define CURSOR_MIN_Y 0
#define CURSOR_MAX_Y 0xB8
+ ; each unit can have up to 4 status effects
+#define EFFECTS_MAX 4
+
#define PLAYERS 2
; draw flags
.de stat_max, 1
.de stat_size, 0
+ ; status effect
+.se 0
+.de effect_type, 1
+.de effect_dat, 1
+.de effect_size, 0
+
+ ; status effect types
+.se 0
+.de EFFECT_NONE, 1
+
+ ; damage over time effect
+ ; dat NNNN0000: timer
+ ; dat 0000NNNN: damage value per tick
+.de EFFECT_DOT, 1
+
+
; actor type enum
.se 0
.de ACT_T_NULL, 1
.de act_moves, stat_size ; moves for each turn
.de act_init, 1 ; initiative value
+ ; inventory
+
+ ; equipment
+
+ ; status effects
+.de act_effect, EFFECTS_MAX * effect_size
+
; actor states
; used for state switching
; set to 0000 to disable the state