summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-01 17:59:10 -0700
committeryenatch <yenatch@gmail.com>2014-09-01 17:59:10 -0700
commit342791a001cecbfd8192ced7dd2478485d98fa45 (patch)
tree649035b5809de2b7c23712ba8bc65b1fd57edfa7 /macros.asm
parent8f49e37b82a90bbef8c7133c4adea8f82abf00e7 (diff)
Use a macro for move attributes.
The formatting was pretty bad, so that's fixed too.
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 8244c8c9..52518d47 100644
--- a/macros.asm
+++ b/macros.asm
@@ -11,6 +11,9 @@ page EQUS "db $49," ; Start a new Pokedex page.
dex EQUS "db $5f, $50" ; End a Pokedex entry.
+percent EQUS "* $ff / 100"
+
+
homecall: MACRO
ld a, [H_LOADEDROMBANK]
push af