summaryrefslogtreecommitdiff
path: root/asm/macros.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros.s')
-rw-r--r--asm/macros.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/macros.s b/asm/macros.s
index f2ef81a4f..807245d73 100644
--- a/asm/macros.s
+++ b/asm/macros.s
@@ -89,3 +89,7 @@
.macro ev_yield hp, attack, defense, speed, sp_attack, sp_defense
.2byte (\sp_defense << 10) | (\sp_attack << 8) | (\speed << 6) | (\defense << 4) | (\attack << 2) | \hp
.endm
+
+ .macro level_up_move level, move
+ .2byte (\level << 9) | \move
+ .endm