summaryrefslogtreecommitdiff
path: root/macros/map.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2015-01-20 12:14:38 -0600
committerBryan Bishop <kanzure@gmail.com>2015-01-20 12:14:38 -0600
commit567b576f60866f92eda1660ecd19bf3e6d7519c6 (patch)
tree37f64e9b8e11b410fc6e3723827571e16dd07e0d /macros/map.asm
parent4781d9a809565804a4b99024a69a51156fd2749e (diff)
parent0fa7b553bddeb4ba70b216c93eb09226b2674beb (diff)
Merge pull request #268 from yenatch/master
remove preprocessor
Diffstat (limited to 'macros/map.asm')
-rw-r--r--macros/map.asm40
1 files changed, 40 insertions, 0 deletions
diff --git a/macros/map.asm b/macros/map.asm
new file mode 100644
index 000000000..297646a79
--- /dev/null
+++ b/macros/map.asm
@@ -0,0 +1,40 @@
+person_event: macro
+ db \1 ; sprite
+ db \2 ; y
+ db \3 ; x
+ db \4 ; facing
+ db \5 ; movement
+ db \6 ; clock_hour
+ db \7 ; clock_daytime
+ db \8 ; color_function
+ db \9 ; sight_range
+ shift
+ dw \9 ; pointer
+ shift
+ dw \9 ; event flag
+ endm
+
+signpost: macro
+ db \1 ; y
+ db \2 ; x
+ db \3 ; function
+ dw \4 ; pointer
+ endm
+
+xy_trigger: macro
+ db \1 ; number
+ db \2 ; y
+ db \3 ; x
+ db \4 ; unknown1
+ dw \5 ; script
+ db \6 ; unknown2
+ db \7 ; unknown3
+ endm
+
+warp_def: macro
+ db \1 ; y
+ db \2 ; x
+ db \3 ; warp_to
+ db \4 ; map group
+ db \5 ; map number
+ endm