From 99f26a60973b33185d46720edfad8067c35e1a5a Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Thu, 18 Jan 2018 01:28:51 -0500 Subject: [PATCH] Compute wc7e8 size --- home/map.asm | 4 ++-- wram.asm | 3 ++- 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