dw $4
#endmacro
+ ; defines an actors inventory content
+#macro act_inventory_def
+#endmacro
+
+ ; defines an empty inventory
+#macro act_inventory_empty
+ act_inventory_def
+#endmacro
+
+ ; defines an actor's equipment
+#macro act_equipment_def
+#endmacro
+
+ ; defines an empty equipment set
+#macro act_equipment_empty
+ act_equipment_def
+#endmacro
+
+ ; defines an actors current stats effects
+#macro act_effects_def
+#endmacro
+
+ ; defines an empty status effect table
+#macro act_effects_empty
+#endmacro
+
; loads NULL into a 16 bit register
; inputs:
; $1: register
st_def 0x00, unit_demo_1_init, st_unit_idle
act_def ACT_T_DEMO_1, 0, 2, 2, 0
act_stat_def 1, 2, 3, 0, 0, 0, 4, 6
+ act_inventory_empty
+ act_equipment_empty
+ act_effects_empty
act_st_def NULL, NULL, st_unit_demo_1_update, st_unit_idle
act_def_draw unit_draw, 0x84, 0
st_def 0x00, unit_demo_1_init, st_unit_idle
act_def ACT_T_DEMO_1, 0, 3, 3, 0
act_stat_def 1, 2, 3, 0, 0, 0, 1, 5
+ act_inventory_empty
+ act_equipment_empty
+ act_effects_empty
act_st_def NULL, NULL, st_unit_demo_1_update, st_unit_idle
act_def_draw unit_draw, 0x84, 0
st_def 0x00, unit_demo_1_init, st_unit_idle
act_def ACT_T_DEMO_1, 0, 4, 4, 0
act_stat_def 1, 2, 3, 0, 0, 0, 0, 5
+ act_inventory_empty
+ act_equipment_empty
+ act_effects_empty
act_st_def NULL, NULL, st_unit_demo_1_update, st_unit_idle
act_def_draw unit_draw, 0x84, 0