add event script macros

This commit is contained in:
yenatch
2015-10-19 09:42:57 -07:00
parent e17df124ff
commit 8fb91c74b2
6 changed files with 1658 additions and 127 deletions

19
asm/macros/ec.s Normal file
View File

@@ -0,0 +1,19 @@
.macro ec_word word
.2byte EC_WORD_\word
.endm
.macro ec_move1 name
.2byte (EC_GROUP_MOVE_1 << 9) | MOVE_\name
.endm
.macro ec_move2 name
.2byte (EC_GROUP_MOVE_2 << 9) | MOVE_\name
.endm
.macro ec_pokemon1 name
.2byte (EC_GROUP_POKEMON << 9) | SPECIES_\name
.endm
.macro ec_pokemon2 name
.2byte (EC_GROUP_POKEMON2 << 9) | SPECIES_\name
.endm