summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-12 22:13:13 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-12 22:13:13 -0400
commit029f690fc86ea82b8a4fa4b269e014bdea4e8b45 (patch)
tree45be1bd24c82027c12bdceeeee36534aeadf26b9 /home.asm
parentbb1fb44098aadec3154b82d1c91a565618e66c2f (diff)
Music? engine(s)
Diffstat (limited to 'home.asm')
-rwxr-xr-xhome.asm22
1 files changed, 21 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index bb79b3f..c8334d2 100755
--- a/home.asm
+++ b/home.asm
@@ -1210,4 +1210,24 @@ Func_377f: ; 377f (0:377f)
ret
; 0x3784
-INCBIN "baserom.gbc",$3784,$4000 - $3784 \ No newline at end of file
+INCBIN "baserom.gbc",$3784,$3fe0 - $3784
+
+; jumps to 3f:hl
+Bankswitch3dTo3f: ; 3fe0 (0:3fe0)
+ push af
+ ld a, $3f
+ ld [$ff80], a
+ ld [$2000], a
+ pop af
+ ld bc, Bankswitch3d
+ push bc
+ jp [hl]
+
+Bankswitch3d: ; 3fe0 (0:3fe0)
+ ld a, $3d
+ ld [$ff80], a
+ ld [$2000], a
+ ret
+; 0x3ff6
+
+INCBIN "baserom.gbc",$3ff6,$4000 - $3ff6 \ No newline at end of file