Merge pull request #260 from GriffinRichards/doc-connection

Split connection field from graphics id in object events
This commit is contained in:
PikalaxALT
2020-02-19 14:49:14 -05:00
committed by GitHub
11 changed files with 26 additions and 15 deletions
+3 -2
View File
@@ -14,9 +14,10 @@
.4byte \address
.endm
.macro object_event index:req, gfx:req, x:req, y:req, elevation:req, movement_type:req, x_radius:req, y_radius:req, trainer_type:req, sight_radius_tree_etc:req, script:req, event_flag:req
.macro object_event index:req, gfx:req, in_connection:req x:req, y:req, elevation:req, movement_type:req, x_radius:req, y_radius:req, trainer_type:req, sight_radius_tree_etc:req, script:req, event_flag:req
.byte \index
.2byte \gfx
.byte \gfx
.byte \in_connection
.byte 0
.2byte \x, \y
.byte \elevation, \movement_type, ((\y_radius << 4) | \x_radius), 0