shithub: pokecrystal

Download patch

ref: 76b284c8f03b01758f7c95ccadeb5b28b67c493d
parent: 70280c0c3f64e41edaed8d2726c6472bec395f55
author: yenatch <[email protected]>
date: Fri Feb 8 23:54:18 EST 2013

Dump and include trainer palettes

--- /dev/null
+++ b/gfx/trainers/000.pal
@@ -1,0 +1,1 @@
+;:�|
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/001.pal
@@ -1,0 +1,1 @@
+\&
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/002.pal
@@ -1,0 +1,1 @@
+Z>�
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/003.pal
@@ -1,0 +1,1 @@
+=2
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/004.pal
@@ -1,0 +1,1 @@
+_B,!
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/005.pal
@@ -1,0 +1,1 @@
+Z*0-
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/006.pal
@@ -1,0 +1,1 @@
+2!
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/007.pal
@@ -1,0 +1,1 @@
+[2hA
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/008.pal
@@ -1,0 +1,1 @@
+[�$
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/009.pal
@@ -1,0 +1,1 @@
+x.

\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/010.pal
@@ -1,0 +1,1 @@
+�%�
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/011.pal
@@ -1,0 +1,1 @@
+Y26
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/012.pal
@@ -1,0 +1,1 @@
+92H1
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/013.pal
@@ -1,0 +1,1 @@
+^:
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/014.pal
@@ -1,0 +1,1 @@
+[:
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/015.pal
@@ -1,0 +1,1 @@
+}>5
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/016.pal
@@ -1,0 +1,1 @@
+^:
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/017.pal
@@ -1,0 +1,1 @@
+}BT
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/018.pal
@@ -1,0 +1,1 @@
+9:�)
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/019.pal
@@ -1,0 +1,1 @@
+x.�E
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/020.pal
@@ -1,0 +1,1 @@
+_6
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/021.pal
@@ -1,0 +1,1 @@
+�&�]
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/022.pal
@@ -1,0 +1,1 @@
+.Ma
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/023.pal
@@ -1,0 +1,1 @@
+�F�i
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/024.pal
@@ -1,0 +1,1 @@
+9
e
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/025.pal
@@ -1,0 +1,1 @@
+^>]
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/026.pal
@@ -1,0 +1,1 @@
+Z>6
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/027.pal
@@ -1,0 +1,1 @@
+Z>6
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/028.pal
@@ -1,0 +1,1 @@
+8.(E
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/029.pal
@@ -1,0 +1,1 @@
+�6�H
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/030.pal
@@ -1,0 +1,1 @@
+=>
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/031.pal
@@ -1,0 +1,1 @@
+2)=
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/032.pal
@@ -1,0 +1,1 @@
+|>�8
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/033.pal
@@ -1,0 +1,1 @@
+�Bh
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/034.pal
@@ -1,0 +1,1 @@
+�F
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/035.pal
@@ -1,0 +1,1 @@
+;*FI
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/036.pal
@@ -1,0 +1,1 @@
+>6�=
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/037.pal
@@ -1,0 +1,1 @@
+�$�
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/038.pal
@@ -1,0 +1,1 @@
+�
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/039.pal
@@ -1,0 +1,1 @@
+�
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/040.pal
@@ -1,0 +1,1 @@
+�F+)
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/041.pal
@@ -1,0 +1,1 @@
+[�$
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/042.pal
@@ -1,0 +1,1 @@
+�N
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/043.pal
@@ -1,0 +1,1 @@
+�%
]
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/044.pal
@@ -1,0 +1,1 @@
+4&d(
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/045.pal
@@ -1,0 +1,1 @@
+�Bg1
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/046.pal
@@ -1,0 +1,1 @@
+&�\
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/047.pal
@@ -1,0 +1,1 @@
+;.�0
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/048.pal
@@ -1,0 +1,1 @@
+�)�|
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/049.pal
@@ -1,0 +1,1 @@
+�!M1
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/050.pal
@@ -1,0 +1,1 @@
+9�8
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/051.pal
@@ -1,0 +1,1 @@
+�F�M
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/052.pal
@@ -1,0 +1,1 @@
+"�
--- /dev/null
+++ b/gfx/trainers/053.pal
@@ -1,0 +1,1 @@
+"/
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/054.pal
@@ -1,0 +1,1 @@
+�F�0
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/055.pal
@@ -1,0 +1,1 @@
+�FQ
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/056.pal
@@ -1,0 +1,1 @@
+92)9
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/057.pal
@@ -1,0 +1,1 @@
+xMM
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/058.pal
@@ -1,0 +1,1 @@
+}6!
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/059.pal
@@ -1,0 +1,1 @@
+}>:
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/060.pal
@@ -1,0 +1,1 @@
+�"|T
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/061.pal
@@ -1,0 +1,1 @@
+>:�<
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/062.pal
@@ -1,0 +1,1 @@
+\F
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/063.pal
@@ -1,0 +1,1 @@
+#,M
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/064.pal
@@ -1,0 +1,1 @@
+#,M
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/065.pal
@@ -1,0 +1,1 @@
+6� 
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/066.pal
@@ -1,0 +1,1 @@
+�2
\ No newline at end of file
--- /dev/null
+++ b/gfx/trainers/palette_pointers.asm
@@ -1,0 +1,68 @@
+FalknerPalette:      INCBIN "gfx/trainers/000.pal"
+WhitneyPalette:      INCBIN "gfx/trainers/001.pal"
+BugsyPalette:        INCBIN "gfx/trainers/002.pal"
+MortyPalette:        INCBIN "gfx/trainers/003.pal"
+PrycePalette:        INCBIN "gfx/trainers/004.pal"
+JasminePalette:      INCBIN "gfx/trainers/005.pal"
+ChuckPalette:        INCBIN "gfx/trainers/006.pal"
+ClairPalette:        INCBIN "gfx/trainers/007.pal"
+Rival1Palette:       INCBIN "gfx/trainers/008.pal"
+PokemonProfPalette:  INCBIN "gfx/trainers/009.pal"
+WillPalette:         INCBIN "gfx/trainers/010.pal"
+CalPalette:          INCBIN "gfx/trainers/011.pal"
+BrunoPalette:        INCBIN "gfx/trainers/012.pal"
+KarenPalette:        INCBIN "gfx/trainers/013.pal"
+KogaPalette:         INCBIN "gfx/trainers/014.pal"
+ChampionPalette:     INCBIN "gfx/trainers/015.pal"
+BrockPalette:        INCBIN "gfx/trainers/016.pal"
+MistyPalette:        INCBIN "gfx/trainers/017.pal"
+LtSurgePalette:      INCBIN "gfx/trainers/018.pal"
+ScientistPalette:    INCBIN "gfx/trainers/019.pal"
+ErikaPalette:        INCBIN "gfx/trainers/020.pal"
+YoungsterPalette:    INCBIN "gfx/trainers/021.pal"
+SchoolboyPalette:    INCBIN "gfx/trainers/022.pal"
+BirdKeeperPalette:   INCBIN "gfx/trainers/023.pal"
+LassPalette:         INCBIN "gfx/trainers/024.pal"
+JaninePalette:       INCBIN "gfx/trainers/025.pal"
+CooltrainermPalette: INCBIN "gfx/trainers/026.pal"
+CooltrainerfPalette: INCBIN "gfx/trainers/027.pal"
+BeautyPalette:       INCBIN "gfx/trainers/028.pal"
+PokemaniacPalette:   INCBIN "gfx/trainers/029.pal"
+GruntmPalette:       INCBIN "gfx/trainers/030.pal"
+GentlemanPalette:    INCBIN "gfx/trainers/031.pal"
+SkierPalette:        INCBIN "gfx/trainers/032.pal"
+TeacherPalette:      INCBIN "gfx/trainers/033.pal"
+SabrinaPalette:      INCBIN "gfx/trainers/034.pal"
+BugCatcherPalette:   INCBIN "gfx/trainers/035.pal"
+FisherPalette:       INCBIN "gfx/trainers/036.pal"
+SwimmermPalette:     INCBIN "gfx/trainers/037.pal"
+SwimmerfPalette:     INCBIN "gfx/trainers/038.pal"
+SailorPalette:       INCBIN "gfx/trainers/039.pal"
+SuperNerdPalette:    INCBIN "gfx/trainers/040.pal"
+Rival2Palette:       INCBIN "gfx/trainers/041.pal"
+GuitaristPalette:    INCBIN "gfx/trainers/042.pal"
+HikerPalette:        INCBIN "gfx/trainers/043.pal"
+BikerPalette:        INCBIN "gfx/trainers/044.pal"
+BlainePalette:       INCBIN "gfx/trainers/045.pal"
+BurglarPalette:      INCBIN "gfx/trainers/046.pal"
+FirebreatherPalette: INCBIN "gfx/trainers/047.pal"
+JugglerPalette:      INCBIN "gfx/trainers/048.pal"
+BlackbeltTPalette:   INCBIN "gfx/trainers/049.pal"
+ExecutivemPalette:   INCBIN "gfx/trainers/050.pal"
+PsychicTPalette:     INCBIN "gfx/trainers/051.pal"
+PicnickerPalette:    INCBIN "gfx/trainers/052.pal"
+CamperPalette:       INCBIN "gfx/trainers/053.pal"
+ExecutivefPalette:   INCBIN "gfx/trainers/054.pal"
+SagePalette:         INCBIN "gfx/trainers/055.pal"
+MediumPalette:       INCBIN "gfx/trainers/056.pal"
+BoarderPalette:      INCBIN "gfx/trainers/057.pal"
+PokefanmPalette:     INCBIN "gfx/trainers/058.pal"
+KimonoGirlPalette:   INCBIN "gfx/trainers/059.pal"
+TwinsPalette:        INCBIN "gfx/trainers/060.pal"
+PokefanfPalette:     INCBIN "gfx/trainers/061.pal"
+RedPalette:          INCBIN "gfx/trainers/062.pal"
+BluePalette:         INCBIN "gfx/trainers/063.pal"
+OfficerPalette:      INCBIN "gfx/trainers/064.pal"
+GruntfPalette:       INCBIN "gfx/trainers/065.pal"
+MysticalmanPalette:  INCBIN "gfx/trainers/066.pal"
+
--- a/main.asm
+++ b/main.asm
@@ -4097,7 +4097,12 @@
 PokemonPalettes:
 INCLUDE "gfx/pics/palette_pointers.asm"
 
-INCBIN "baserom.gbc",$b0ae,$c000 - $b0ae
+INCBIN "baserom.gbc",$b0ae,$b0d2 - $b0ae
+
+TrainerPalettes:
+INCLUDE "gfx/trainers/palette_pointers.asm"
+
+INCBIN "baserom.gbc",$b1de,$bc3a - $b1de
 
 
 SECTION "bank3",DATA,BANK[$3]