shithub: pokecrystal

Download patch

ref: d6ac5407e76558d28111be1d1bb478de4f99db62
parent: 1d4158057e5ad64a78fdb9b472d3fd2c16c196ad
author: yenatch <[email protected]>
date: Fri Aug 22 16:48:58 EDT 2014

Add the initial mobile adapter save data.

The contents of the save and the rest of the bank are unknown.

--- a/main.asm
+++ b/main.asm
@@ -117787,7 +117787,7 @@
 Function1f4003: ; 1f4003
 	ld a, $6
 	call GetSRAMBank
-	ld hl, $4018
+	ld hl, MobileSave
 	ld de, $a000
 	ld bc, $1000
 	call CopyBytes
@@ -117795,7 +117795,9 @@
 	ret
 ; 1f4018
 
-INCBIN "baserom.gbc",$1f4018,$1f636a - $1f4018
+MobileSave: INCBIN "misc/mobile_save.bin"
+
+INCBIN "baserom.gbc",$1f5018,$1f636a - $1f5018
 
 
 SECTION "bank7E", ROMX, BANK[$7E]
binary files /dev/null b/misc/mobile_save.bin differ