diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-24 17:35:33 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-24 17:35:33 -0500 |
commit | 3e7f3bbeb6dd2d3cff6343dea2298502faa14185 (patch) | |
tree | 004b17f7b444c4bbc8bbb80e3b189a48287ed4b7 /macros | |
parent | b805d343f36019ae9fdf5d248d78a0d9b12f25d7 (diff) |
s/number/scene/, and correct some documentation
Diffstat (limited to 'macros')
-rw-r--r-- | macros/scripts/maps.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/scripts/maps.asm b/macros/scripts/maps.asm index 3f83740ca..8ef08ec49 100644 --- a/macros/scripts/maps.asm +++ b/macros/scripts/maps.asm @@ -19,7 +19,7 @@ warp_def: macro endm coord_event: macro -;\1: number: controlled by setscene/setmapscene +;\1: scene id: controlled by setscene/setmapscene ;\2: y: top to bottom, starts at 0 ;\3: x: left to right, starts at 0 ;\4: script pointer @@ -43,17 +43,17 @@ object_event: macro ;\3: x: left to right, starts at 0 ;\4: movement function: a SPRITEMOVEDATA_* constant ;\5, \6: movement radius: y, x -;\7, \8: hour1 and hour2: control the hours an object_event is visible (0-23) -; * if hour1 < hour2, the object_event will only appear from hour1 to hour2 -; * if hour1 > hour2, the object_event will not appear from hour2 to hour1 -; * if hour1 == hour2, the object_event will always appear -; * if hour1 == -1, hour2 is treated as a time-of-day value: +;\7, \8: hour limits: h1, h2 (0-23) +; * if h1 < h2, the object_event will only appear from h1 to h2 +; * if h1 > h2, the object_event will not appear from h2 to h1 +; * if h1 == h2, the object_event will always appear +; * if h1 == -1, h2 is treated as a time-of-day value: ; a combo of MORN, DAY, and/or NITE, or -1 to always appear ;\9: color: a PAL_NPC_* constant, or 0 for sprite default ;\10: function: a OBJECTTYPE_* constant ;\11: sight range: applies to OBJECTTYPE_TRAINER ;\12: script pointer -;\13: event flag: an EVENT_* constant, or 0 to always appear +;\13: event flag: an EVENT_* constant, or -1 to always appear db \1, \2 + 4, \3 + 4, \4 dn \5, \6 db \7, \8 |