diff options
author | YamaArashi <shadow962@live.com> | 2016-01-23 12:25:42 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-23 12:25:42 -0800 |
commit | 1362b60f3467f0894d55e82f3294980b6373021d (patch) | |
tree | c53b76333cbb099df9e12dfe7ebfc56bd258b707 /asm/macros/ec.s |
Initial commit
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 |