shithub: pokecrystal

Download patch

ref: 60cdc65293705a0ce484167117c7c4505200ffbb
parent: 2fca32b6c8742c4accaf05a8bfc0377b59a76c6e
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Jan 30 14:46:45 EST 2019

wc7e8 -> wUnusedC7E8 (similar to wUnusedD102)

--- a/engine/overworld/warp_connection.asm
+++ b/engine/overworld/warp_connection.asm
@@ -1,6 +1,6 @@
 
 HandleNewMap:
-	call Clearwc7e8
+	call ClearUnusedC7E8
 	call ResetMapBufferEventFlags
 	call ResetFlashIfOutOfCave
 	call GetCurrentMapSceneID
--- a/home/map.asm
+++ b/home/map.asm
@@ -1,8 +1,8 @@
 ; Functions dealing with rendering and interacting with maps.
 
-Clearwc7e8::
-	ld hl, wc7e8
-	ld bc, wc7e8_End - wc7e8
+ClearUnusedC7E8::
+	ld hl, wUnusedC7E8
+	ld bc, wUnusedC7E8End - wUnusedC7E8
 	ld a, 0
 	call ByteFill
 	ret
--- a/wram.asm
+++ b/wram.asm
@@ -906,8 +906,8 @@
 wc7d4:: ds 1
 ENDU ; c7e8
 
-wc7e8:: ds 24
-wc7e8_End::
+wUnusedC7E8:: ds 24
+wUnusedC7E8End::
 
 
 SECTION "Overworld Map", WRAM0