summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-08-22 20:48:58 -0700
committeryenatch <yenatch@gmail.com>2014-08-22 20:48:58 -0700
commitd6ac5407e76558d28111be1d1bb478de4f99db62 (patch)
treeda904bf0fc8c0b43cdb24d84521e1b2bf6415718
parent1d4158057e5ad64a78fdb9b472d3fd2c16c196ad (diff)
Add the initial mobile adapter save data.
The contents of the save and the rest of the bank are unknown.
-rw-r--r--main.asm6
-rw-r--r--misc/mobile_save.binbin0 -> 4096 bytes
2 files changed, 4 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index 1ea152d83..407e034b2 100644
--- a/main.asm
+++ b/main.asm
@@ -117787,7 +117787,7 @@ INCBIN "baserom.gbc",$1f4000,$1f4003 - $1f4000
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 @@ Function1f4003: ; 1f4003
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]
diff --git a/misc/mobile_save.bin b/misc/mobile_save.bin
new file mode 100644
index 000000000..fc9afb13c
--- /dev/null
+++ b/misc/mobile_save.bin
Binary files differ