shithub: pokered

Download patch

ref: 1b19d68671542dbd1b0d0ca76aae4b0cc3a9b2d2
parent: 52e7b42e892357d4bd31027581d61823ebe2fc94
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Fri Sep 6 14:26:20 EDT 2013

Add bank 1C palette packets

--- a/main.asm
+++ b/main.asm
@@ -102327,10 +102327,10 @@
 	ld de, Func_72156 ; $6156
 	push de
 	jp [hl]
-	ld hl, Unknown_72448 ; $6448
+	ld hl, PalPacket_72448 ; $6448
 	ld de, Unknown_721b5 ; $61b5
 	ret
-	ld hl, Unknown_72428 ; $6428
+	ld hl, PalPacket_72428 ; $6428
 	ld de, $cf2d
 	ld bc, $10
 	call CopyData
@@ -102363,10 +102363,10 @@
 	ld a, $1
 	ld [$cf1c], a
 	ret
-	ld hl, Unknown_72458 ; $6458
+	ld hl, PalPacket_72458 ; $6458
 	ld de, Unknown_7219e ; $619e
 	ret
-	ld hl, Unknown_72428 ; $6428
+	ld hl, PalPacket_72428 ; $6428
 	ld de, $cf2d
 	ld bc, $10
 	call CopyData
@@ -102387,10 +102387,10 @@
 	ld hl, $cf2d
 	ld de, Unknown_721fa ; $61fa
 	ret
-	ld hl, Unknown_72438 ; $6438
+	ld hl, PalPacket_72438 ; $6438
 	ld de, $cf2e
 	ret
-	ld hl, Unknown_72468 ; $6468
+	ld hl, PalPacket_72468 ; $6468
 	ld de, $cf2d
 	ld bc, $10
 	call CopyData
@@ -102403,21 +102403,21 @@
 	ret
 
 INCBIN "baserom.gbc",$71e9f,$71ea6 - $71e9f
-	ld hl, Unknown_72488 ; $6488
+	ld hl, PalPacket_72488 ; $6488
 	ld de, Unknown_7228e ; $628e
 	ret
-	ld hl, Unknown_724a8 ; $64a8
+	ld hl, PalPacket_724a8 ; $64a8
 	ld de, Unknown_7219e ; $619e
 	ret
-	ld hl, Unknown_724b8 ; $64b8
+	ld hl, PalPacket_724b8 ; $64b8
 	ld de, Unknown_722c1 ; $62c1
 	ret
-	ld hl, Unknown_724c8 ; $64c8
+	ld hl, PalPacket_724c8 ; $64c8
 	ld de, Unknown_723dd ; $63dd
 	ld a, $8
 	ld [$cf1c], a
 	ret
-	ld hl, Unknown_72428 ; $6428
+	ld hl, PalPacket_72428 ; $6428
 	ld de, $cf2d
 	ld bc, $10
 	call CopyData
@@ -102461,7 +102461,7 @@
 	xor a
 	jr .asm_71efe
 	push bc
-	ld hl, Unknown_72428 ; $6428
+	ld hl, PalPacket_72428 ; $6428
 	ld de, $cf2d
 	ld bc, $10
 	call CopyData
@@ -102510,7 +102510,7 @@
 	inc de
 	dec c
 	jr nz, .asm_71f52
-	ld hl, Unknown_72498 ; $6498
+	ld hl, PalPacket_72498 ; $6498
 	ld de, $cc5b
 	ret
 
@@ -102661,21 +102661,21 @@
 	ei
 	ld a, $1
 	ld [$cf2d], a
-	ld de, Unknown_72508 ; $6508
+	ld de, PalPacket_72508 ; $6508
 	ld hl, SGBBorderGraphics ; $6fe8
 	call Func_7210b
 	xor a
 	ld [$cf2d], a
-	ld de, Unknown_72518 ; $6518
+	ld de, PalPacket_72518 ; $6518
 	ld hl, BorderPalettes ; $6788
 	call Func_7210b
 	xor a
 	ld [$cf2d], a
-	ld de, Unknown_724d8 ; $64d8
+	ld de, PalPacket_724d8 ; $64d8
 	ld hl, SuperPalettes ; $6660
 	call Func_7210b
 	call ZeroVram
-	ld hl, Unknown_72538 ; $6538
+	ld hl, PalPacket_72538 ; $6538
 	jp SendSGBPacket
 
 ; known jump sources: 72040 (1c:6040)
@@ -102701,7 +102701,7 @@
 
 ; known jump sources: 7202f (1c:602f)
 Func_7209b: ; 7209b (1c:609b)
-	ld hl, Unknown_724f8 ; $64f8
+	ld hl, PalPacket_724f8 ; $64f8
 	di
 	call SendSGBPacket
 	ld a, $1
@@ -102753,7 +102753,7 @@
 
 ; known jump sources: 720f8 (1c:60f8), 720fd (1c:60fd)
 Func_72102: ; 72102 (1c:6102)
-	ld hl, Unknown_724e8 ; $64e8
+	ld hl, PalPacket_724e8 ; $64e8
 	call SendSGBPacket
 	jp Wait7000
 
@@ -102902,53 +102902,61 @@
 Unknown_723dd: ; 723dd (1c:63dd)
 INCBIN "baserom.gbc",$723dd,$72428 - $723dd
 
-Unknown_72428: ; 72428 (1c:6428)
-INCBIN "baserom.gbc",$72428,$72438 - $72428
+PalPacket_72428: ; 72428 (1c:6428)
+	db $51,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 
 
-Unknown_72438: ; 72438 (1c:6438)
-INCBIN "baserom.gbc",$72438,$72448 - $72438
+PalPacket_72438: ; 72438 (1c:6438)
+	db $51,$10,$00,$1F,$00,$20,$00,$21,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72448: ; 72448 (1c:6448)
-INCBIN "baserom.gbc",$72448,$72458 - $72448
+PalPacket_72448: ; 72448 (1c:6448)
+	db $51,$1E,$00,$1E,$00,$1E,$00,$1E,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72458: ; 72458 (1c:6458)
-INCBIN "baserom.gbc",$72458,$72468 - $72458
+PalPacket_72458: ; 72458 (1c:6458)
+	db $51,$0C,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72468: ; 72468 (1c:6468)
-INCBIN "baserom.gbc",$72468,$72488 - $72468
+PalPacket_72468: ; 72468 (1c:6468)
+	db $51,$15,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
+	
+PalPacket_72478: ; 72478 (1c:6478)
+	db $51,$1A,$00,$1B,$00,$1C,$00,$1D,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72488: ; 72488 (1c:6488)
-INCBIN "baserom.gbc",$72488,$72498 - $72488
+PalPacket_72488: ; 72488 (1c:6488)
+	db $51,$0E,$00,$0D,$00,$10,$00,$14,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72498: ; 72498 (1c:6498)
-INCBIN "baserom.gbc",$72498,$724a8 - $72498
+PalPacket_72498: ; 72498 (1c:6498)
+	db $51,$10,$00,$22,$00,$12,$00,$18,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724a8: ; 724a8 (1c:64a8)
-INCBIN "baserom.gbc",$724a8,$724b8 - $724a8
+PalPacket_724a8: ; 724a8 (1c:64a8)
+	db $51,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724b8: ; 724b8 (1c:64b8)
-INCBIN "baserom.gbc",$724b8,$724c8 - $724b8
+PalPacket_724b8: ; 724b8 (1c:64b8)
+	db $51,$14,$00,$1E,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724c8: ; 724c8 (1c:64c8)
-INCBIN "baserom.gbc",$724c8,$724d8 - $724c8
+PalPacket_724c8: ; 724c8 (1c:64c8)
+	db $51,$24,$00,$12,$00,$02,$00,$11,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724d8: ; 724d8 (1c:64d8)
-INCBIN "baserom.gbc",$724d8,$724e8 - $724d8
+PalPacket_724d8: ; 724d8 (1c:64d8)
+	db $59,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724e8: ; 724e8 (1c:64e8)
-INCBIN "baserom.gbc",$724e8,$724f8 - $724e8
+PalPacket_724e8: ; 724e8 (1c:64e8)
+	db $89,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_724f8: ; 724f8 (1c:64f8)
-INCBIN "baserom.gbc",$724f8,$72508 - $724f8
+PalPacket_724f8: ; 724f8 (1c:64f8)
+	db $89,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72508: ; 72508 (1c:6508)
-INCBIN "baserom.gbc",$72508,$72518 - $72508
+PalPacket_72508: ; 72508 (1c:6508)
+	db $99,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72518: ; 72518 (1c:6518)
-INCBIN "baserom.gbc",$72518,$72538 - $72518
+PalPacket_72518: ; 72518 (1c:6518)
+	db $A1,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
+	
+PalPacket_72528: ; 72528 (1c:6528)
+	db $B9,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
 
-Unknown_72538: ; 72538 (1c:6538)
-INCBIN "baserom.gbc",$72538,$725c8 - $72538
+PalPacket_72538: ; 72538 (1c:6538)
+	db $B9,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
+
+INCBIN "baserom.gbc",$72548,$725c8 - $72548
 
 MonsterPalettes: ; 725c8 (1c:65c8)
 	db PAL_MEWMON    ; MISSINGNO