summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-18 01:28:51 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-18 01:28:51 -0500
commit99f26a60973b33185d46720edfad8067c35e1a5a (patch)
tree6aa9cba26de5f5de305b59efb54e4685d55744a9
parent95c0c31c8ff8e1149a9b959e04ea27e337e929b4 (diff)
Compute wc7e8 size
-rw-r--r--home/map.asm4
-rw-r--r--wram.asm3
2 files changed, 4 insertions, 3 deletions
diff --git a/home/map.asm b/home/map.asm
index 735d638ad..bb0718899 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -2,8 +2,8 @@
Clearwc7e8:: ; 210f
ld hl, wc7e8
- ld bc, 24
- ld a, $0
+ ld bc, wc7e8_End - wc7e8
+ ld a, 0
call ByteFill
ret
; 211b
diff --git a/wram.asm b/wram.asm
index 61b8c5f87..5990ba49c 100644
--- a/wram.asm
+++ b/wram.asm
@@ -877,7 +877,8 @@ wc7d4:: ds 1
ENDU ; c7e8
ENDU ; c7e8
-wc7e8:: ds 24 ; ????
+wc7e8:: ds 24
+wc7e8_End::
SECTION "Overworld Map", WRAM0