summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-06 23:26:53 -0800
committeryenatch <yenatch@gmail.com>2015-02-06 23:26:53 -0800
commit307706e679cb37de0a15e362bd3b6bd75c707727 (patch)
tree300d4e024034209a2ff2516122d7c0c3c839a49d /main.asm
parent47d25da38aa418387a775a141a18e0ffcd33efdb (diff)
There were actually 3 mobile chunks!
In retrospect these aren't saves at all--the mobile adapter does something funky with sram bank 6.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm33
1 files changed, 30 insertions, 3 deletions
diff --git a/main.asm b/main.asm
index 1807e44eb..a4ab37ff8 100644
--- a/main.asm
+++ b/main.asm
@@ -145813,7 +145813,7 @@ INCBIN "baserom.gbc",$1f4000,$1f4003 - $1f4000
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 @@ Function1f4003: ; 1f4003
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]