summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-01-11 02:16:25 -0500
committerGriffinR <griffin.g.richards@gmail.com>2022-01-11 02:16:25 -0500
commit3a6c633905c3fddb893aa6484a2cce4f0135ca26 (patch)
tree80586637590fc41f0b67baeefdbf0c70c4e65a22 /asm/macros
parent110fbc559cc658179e127117c68d9eea9474a61a (diff)
Add seteventmon
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index d85cfb975..58e37d0a6 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1931,3 +1931,11 @@
waitbuttonpress
closebraillemessage
.endm
+
+ @ Creates an "event legal" Pokémon for an encounter
+ .macro seteventmon species:req, level:req, item=ITEM_NONE
+ setvar VAR_0x8004, \species
+ setvar VAR_0x8005, \level
+ setvar VAR_0x8006, \item
+ special CreateEventLegalEnemyMon
+ .endm