dw $3
#endmacro
- ; defines draw call for actor
+ ; defines actor meta data call for actor
; inputs:
; $1: draw call
; $2: default tiles
; $3: default oam flags
-#macro act_def_draw
+ ; $4: dialog options ptr
+#macro act_def_meta
dw $1
.db $2
.db $3
+ dw $4
#endmacro
; define an actor without state
act_equipment_empty
act_effects_empty
act_st_def NULL, NULL, st_unit_player_update, st_unit_idle
- act_def_draw unit_draw, 0x84, 0
+ act_def_meta unit_draw, 0x84, 0, NULL
st_unit_player_update:
st_def 0x00, unit_player_update, st_unit_player_update
act_equipment_empty
act_effects_empty
act_st_def NULL, NULL, st_unit_demo_1_cpu_update_idle, st_unit_idle
- act_def_draw unit_draw, 0x84, 0
+ act_def_meta unit_draw, 0x84, 0, NULL
unit_demo_3:
st_def 0x00, unit_demo_1_init, st_unit_demo_1_cpu_update
act_equipment_empty
act_effects_empty
act_st_def NULL, NULL, st_unit_demo_1_cpu_update, st_unit_idle
- act_def_draw unit_draw, 0x84, 0
+ act_def_meta unit_draw, 0x84, 0, NULL
st_unit_demo_1_cpu_update: