add event script macros

This commit is contained in:
yenatch committed 2015-10-19 09:42:57 -07:00
1 parent e17df124ff
commit 8fb91c74b2
6 files changed
+1658 -127

No files matched your search

+19
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