summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-09-24 03:27:12 -0400
committeryenatch <yenatch@gmail.com>2017-09-24 03:27:47 -0400
commita950b020cd60d6ecf487d4cbb4dc4cc1b31a15fb (patch)
treea34b1c3cfdb51a69b87fc9cf4eb793bdcdce6ed0
parentafe67ba1b4dbeee87372f76fae3457565cc08cd5 (diff)
Align "Sprites" section to $100 bytes.
The code expects this section to be aligned.
-rw-r--r--pokecrystal.ld1
-rw-r--r--wram.asm5
2 files changed, 5 insertions, 1 deletions
diff --git a/pokecrystal.ld b/pokecrystal.ld
index 289571659..462833f14 100644
--- a/pokecrystal.ld
+++ b/pokecrystal.ld
@@ -311,6 +311,7 @@ WRAM0
"Audio RAM"
"WRAM"
"wSpriteAnims"
+ align 8
"Sprites"
"Tilemap"
"Battle"
diff --git a/wram.asm b/wram.asm
index d80578e79..582ad30c0 100644
--- a/wram.asm
+++ b/wram.asm
@@ -299,6 +299,7 @@ wGlobalAnimXOffset:: ds 1
wSpriteAnimsEnd::
ds 11
+
wc3cc:: ds 1
wc3cd:: ds 31
wc3ec:: ds 1
@@ -317,7 +318,9 @@ wc3f8:: ds 1
wc3f9:: ds 1
wc3fa:: ds 1
wc3fb:: ds 1
-wc3fc:: ds 4
+wc3fc:: ds 1
+
+ ds 3
SECTION "Sprites", WRAM0