diff options
author | yenatch <yenatch@gmail.com> | 2015-10-19 09:42:57 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-10-19 09:42:57 -0700 |
commit | 8fb91c74b2df4134442b01fecaa5f91e3ce2e421 (patch) | |
tree | d15d67b24730c9ef33dc9a78fd9037073ead64c8 /asm/macros/ec.s | |
parent | e17df124ff5d5870b97406a934da1b275f4b710a (diff) |
add event script macros
Diffstat (limited to 'asm/macros/ec.s')
-rw-r--r-- | asm/macros/ec.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/asm/macros/ec.s b/asm/macros/ec.s new file mode 100644 index 000000000..a70b8e244 --- /dev/null +++ b/asm/macros/ec.s @@ -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 |