summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
commitc5b2436daadbae47d6251052d62436afbaa91158 (patch)
tree5671f8d0e7368b736c8e85bdae277bf9eee09b40 /macros.asm
parent080bba1bd5ebca74eb155a21afa62b68400e4b93 (diff)
Rename spritestatedata structs.
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 b318c999..b854b25f 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) & $ff)
+ ld \1, ((\2) & $ff) << 8 + ((\3) & $ff)
ENDM
SHADE_BLACK EQU %11