summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-19 03:52:20 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-19 03:52:20 -0500
commit64b4cf624fe2175e2c7539b91bc41b6dae28a00e (patch)
tree971ea955f5d40af7612f7b69029b49db98064690 /macros.asm
parentea9cc86949cecc3508aeac06b807372b6b0134d8 (diff)
parentd0526c036210d2ee186a2a45feac91747ef6fb85 (diff)
Merge branch 'master' of https://github.com/YamaArashi/pokered
Conflicts: engine/evos_moves.asm engine/overworld/healing_machine.asm
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.asm b/macros.asm
index 5f1deaf6..ba83e73a 100644
--- a/macros.asm
+++ b/macros.asm
@@ -14,7 +14,7 @@ dex EQUS "db $5f, $50" ; End a Pokedex entry.
percent EQUS "* $ff / 100"
lb: MACRO ; r, hi, lo
- ld \1, (\2) << 8 + (\3)
+ ld \1, (\2) << 8 + ((\3) & $ff)
ENDM