summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-25 14:56:02 -0600
committerMarcus Huderle <huderlem@gmail.com>2017-12-26 16:08:39 -0600
commit6000e19e94c36b5d4b8c45b829b0506191282b44 (patch)
tree46fd27e466e21ebf4125479e1dad21a6961d1544 /asm/macros
parente3078400bbdb3e8416806127290b9a2d68cfb3b8 (diff)
Add coord_weather_event macro, and define COORD_EVENT_WEATHER_* constants
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/map.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc
index 9c68e8414..a80a662b4 100644
--- a/asm/macros/map.inc
+++ b/asm/macros/map.inc
@@ -40,6 +40,10 @@
inc _num_traps
.endm
+ .macro coord_weather_event x, y, height, weather
+ coord_event \x, \y, \height, 0, \weather, 0, 0, 0x0
+ .endm
+
.macro bg_event x, y, byte, kind, word, arg6, arg7, arg8
.2byte \x, \y
.byte \byte, \kind