From 8583cc4724144e255d61a2c7ed7dd70036bcdb6e Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 20 Jan 2015 00:01:23 -0800 Subject: Stop using the preprocessor. --- macros/map.asm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 macros/map.asm (limited to 'macros/map.asm') 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 -- cgit v1.2.3