shithub: pokecrystal

Download patch

ref: 81eaf83cd7711a28dcd7a62a6e045dba50560f59
parent: 75a537ed1e9ac197f18ebca58707c1230b9e6a4c
author: Rangi <[email protected]>
date: Wed Feb 26 10:41:22 EST 2020

Identify gfx/unknown/4985a.asm as gfx/tilesets/forest-tree/unused.png

--- a/engine/events/celebi.asm
+++ b/engine/events/celebi.asm
@@ -1,5 +1,8 @@
 SPECIALCELEBIEVENT_CELEBI EQU $84
 
+UnusedForestTreeFrames:
+INCBIN "gfx/tilesets/forest-tree/unused.2bpp"
+
 CelebiShrineEvent:
 	call DelayFrame
 	ld a, [wVramState]
--- a/engine/gfx/crystal_layouts.asm
+++ b/engine/gfx/crystal_layouts.asm
@@ -299,6 +299,3 @@
 InitMG_Mobile_LinkTradePalMap:
 	call _InitMG_Mobile_LinkTradePalMap
 	ret
-
-; unused
-INCLUDE "gfx/unknown/4985a.asm"
--- a/engine/pokemon/mon_stats.asm
+++ b/engine/pokemon/mon_stats.asm
@@ -325,9 +325,9 @@
 
 Unreferenced_Function50cd0:
 .loop
-	ld [hl], $32
+	ld [hl], $32 ; typo for P?
 	inc hl
-	ld [hl], $3e
+	ld [hl], $3e ; P
 	dec hl
 	add hl, de
 	dec c
binary files /dev/null b/gfx/tilesets/forest-tree/unused.png differ
--- a/gfx/unknown/4985a.asm
+++ /dev/null
@@ -1,8 +1,0 @@
-	db $ab,$03, $57,$24, $ac,$0e, $13,$32
-	db $be,$30, $5b,$4c, $47,$60, $ed,$f2
-	db $ab,$03, $55,$26, $aa,$0a, $13,$3a
-	db $be,$28, $33,$24, $6e,$71, $df,$b0
-	db $a8,$00, $e5,$e0, $9a,$fc, $f4,$2c
-	db $fe,$4c, $a3,$5e, $c6,$3a, $ab,$4d
-	db $a8,$00, $b5,$b0, $de,$e8, $fc,$1c
-	db $ba,$66, $f7,$0e, $ba,$5e, $43,$bd