shithub: pokered

Download patch

ref: 8f863e812acc5baa3a0e72ad24966153c7c8a771
parent: beec27ef52469df673b75cc327b1aafd6693507a
author: IIMarckus <iimarckus@gmail.com>
date: Sun Aug 1 05:13:02 EDT 2010

add banks for map header pointers

hg-commit-id: 9c450caf8ffb


--- a/pokered.asm
+++ b/pokered.asm
@@ -442,7 +442,7 @@
 Section "start",HOME[$150]
 Start:
 INCBIN "baserom.gbc",$150,$1AE - $150
-; map header pointers
+; see also MapHeaderBanks
 MapHeaderPointers: ; $01AE
 	dw $42a1
 	dw $4357
@@ -765,7 +765,260 @@
 INCBIN "baserom.gbc",$8000,$4000
 
 SECTION "bank3",DATA,BANK[$3]
-INCBIN "baserom.gbc",$C000,$EB8
+INCBIN "baserom.gbc",$C000,$C23D - $C000
+
+; see also MapHeaderPointers
+MapHeaderBanks: ; 423D
+	db $06
+	db $06
+	db $06
+	db $06
+	db $11
+	db $06
+	db $06
+	db $06
+	db $07
+	db $14
+	db $14
+	db $01
+	db $07
+	db $15
+	db $15
+	db $15
+	db $15
+	db $16
+	db $12
+	db $16
+	db $15
+	db $16
+	db $16
+	db $16
+	db $15
+	db $15
+	db $16
+	db $16
+	db $15
+	db $16
+	db $15
+	db $14
+	db $15
+	db $14
+	db $14
+	db $14
+	db $14
+	db $12
+	db $17
+	db $06
+	db $07
+	db $11
+	db $07
+	db $07
+	db $07
+	db $1D
+	db $07
+	db $17
+	db $07
+	db $17
+	db $17
+	db $18
+	db $17
+	db $17
+	db $17
+	db $07
+	db $1D
+	db $07
+	db $17
+	db $12
+	db $14
+	db $12
+	db $07
+	db $07
+	db $17
+	db $17
+	db $07
+	db $17
+	db $12
+	db $07
+	db $07
+	db $17
+	db $15
+	db $07
+	db $17
+	db $17
+	db $07
+	db $17
+	db $17
+	db $07
+	db $07
+	db $12
+	db $11
+	db $07
+	db $12
+	db $07
+	db $12
+	db $12
+	db $07
+	db $17
+	db $16
+	db $17
+	db $17
+	db $07
+	db $07
+	db $18
+	db $18
+	db $11
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $1D
+	db $1D
+	db $1D
+	db $17
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $16
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $16
+	db $18
+	db $1D
+	db $18
+	db $18
+	db $15
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $07
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $12
+	db $17
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $18
+	db $07
+	db $17
+	db $07
+	db $07
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $11
+	db $11
+	db $11
+	db $11
+	db $15
+	db $15
+	db $11
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $1D
+	db $06
+	db $1D
+	db $17
+	db $17
+	db $17
+	db $07
+	db $17
+	db $17
+	db $17
+	db $07
+	db $12
+	db $12
+	db $12
+	db $12
+	db $07
+	db $15
+	db $12
+	db $12
+	db $11
+	db $07
+	db $14
+	db $12
+	db $06
+	db $18
+	db $11
+	db $11
+	db $11
+	db $11
+	db $11
+	db $11
+	db $01
+	db $01
+	db $01
+	db $16
+	db $16
+	db $06
+	db $06
+	db $06
+	db $14
+	db $15
+	db $14
+	db $14
+	db $14
+	db $11
+	db $11
+	db $12
+	db $11
+	db $11
+	db $12
+	db $11
+	db $11
+	db $11
+	db $11
+	db $11
+	db $1D
+	db $07
+	db $1D
+	db $01
+	db $11
+	db $17
+	db $16
+	db $18
+	db $11
+	db $11
+	db $11
+	db $13
+	db $13
+	db $11
+	db $11
+	db $11
+	db $11
+	db $1D
+	db $1D
+	db $1D
+
+INCBIN "baserom.gbc",$C335,$CEB8 - $C335
 
 ; wild pokemon data: from 4EB8 to 55C7