shithub: pokecrystal

Download patch

ref: 307706e679cb37de0a15e362bd3b6bd75c707727
parent: 47d25da38aa418387a775a141a18e0ffcd33efdb
author: yenatch <yenatch@gmail.com>
date: Fri Feb 6 18:26:53 EST 2015

There were actually 3 mobile chunks!

In retrospect these aren't saves at all--the mobile adapter does something funky with sram bank 6.

--- a/main.asm
+++ b/main.asm
@@ -145813,7 +145813,7 @@
 Function1f4003: ; 1f4003
 	ld a, $6
 	call GetSRAMBank
-	ld hl, MobileSave
+	ld hl, Unknown_1f4018
 	ld de, $a000
 	ld bc, $1000
 	call CopyBytes
@@ -145821,9 +145821,36 @@
 	ret
 ; 1f4018
 
-MobileSave: INCBIN "misc/mobile_save.bin"
+Unknown_1f4018:
+INCBIN "baserom.gbc", $1f4018, $1f4dbe - $1f4018
 
-INCBIN "baserom.gbc",$1f5018,$1f636a - $1f5018
+Function1f4dbe: ; 1f4dbe
+	ld a, $6
+	call GetSRAMBank
+	ld hl, Unknown_1f4dd3
+	ld de, $a000
+	ld bc, $1000
+	call CopyBytes
+	call CloseSRAM
+	ret
+; 1f4dd3
+
+Unknown_1f4dd3:
+INCBIN "baserom.gbc", $1f4dd3, $1f5d9f - $1f4dd3
+
+Function1f5d9f: ; 1f5d9f
+	ld a, $6
+	call GetSRAMBank
+	ld hl, Unknown_1f5db4
+	ld de, $a000
+	ld bc, $1000
+	call CopyBytes
+	call CloseSRAM
+	ret
+; 1f5db4
+
+Unknown_1f5db4:
+INCBIN "baserom.gbc", $1f5db4, $1f636a - $1f5db4
 
 
 SECTION "bank7E", ROMX, BANK[$7E]
binary files a/misc/mobile_save.bin /dev/null differ