Added back GBA sprites via config (#5206)

* Add back older sprites

* Graphics config

* Added GBA most graphical data to gSpeciesInfo

* Footprints are now affected by P_GBA_SPECIES_GFX + removed duplicated files

* GBA mon icons

* Split GBA footprints into separate config

* Separated GBA icons into their own config

* Fixed GBA icons depending on P_GBA_SPECIES_GFX instead of P_GBA_ICONS

* Moved GBA sprites to regular folder with prefix

* Renamed configs

* Temporarely disabled shadows when GBA sprites are enabled

* Removed remaining files from pokemon_old folder
This commit is contained in:
Eduardo Quezada 2024-10-18 08:37:00 -03:00 committed by GitHub
parent f88046b1c3
commit 358c0d0699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1945 changed files with 20365 additions and 1437 deletions

View file

@ -0,0 +1,21 @@
import glob
import re
import json
import os
import subprocess
# THIS IS A TEMPORARY SCRIPT MADE TO DELETE FILES WITH THE "footprint.png" NAME
# FROM THE "graphics/pokemon_old" folder, AS MOST OF THEM ALREADY EXISTED IN "graphics/pokemon".
#
# I'M SAVING IT HERE IN CASE IT'S NEEDED SOMEWHERE IN THE FUTURE, THOUGH TWEAKING MIGHT BE NEEDED.
# - AsparagusEduardo
def rename_files(dir, filename):
for root, dirs, files in os.walk(dir):
for name in files:
if name.endswith(filename):
fullName = os.path.join(root, name)
print(fullName + " deleted.")
os.remove(fullName)
rename_files("graphics/pokemon_old", 'footprint.png')

View file

@ -0,0 +1,22 @@
import glob
import re
import json
import os
import subprocess
def rename_files(dirOld, dirNew, old, new):
for root, dirs, files in os.walk(dirOld):
for name in files:
if name.endswith(old):
originalName = os.path.join(root, name)
newName = originalName.replace(old, new)
newName = newName.replace(dirOld, dirNew)
print(originalName + " -> " + newName)
os.rename(originalName, newName)
rename_files("graphics/pokemon_old", "graphics/pokemon", 'anim_front.png', "anim_front_gba.png")
rename_files("graphics/pokemon_old", "graphics/pokemon", 'normal.pal', "normal_gba.pal")
rename_files("graphics/pokemon_old", "graphics/pokemon", 'shiny.pal', "shiny_gba.pal")
rename_files("graphics/pokemon_old", "graphics/pokemon", 'back.png', "back_gba.png")
rename_files("graphics/pokemon_old", "graphics/pokemon", 'icon.png', "icon_gba.png")
rename_files("graphics/pokemon_old", "graphics/pokemon", 'footprint.png', "footprint_gba.png")

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
246 246 246
255 0 255
255 0 255
255 0 255
255 0 255
213 180 82
172 131 41
148 106 16
98 49 0
255 0 255
255 0 255
255 255 123
255 238 41
213 180 0
139 98 0
16 16 16

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
246 246 246
255 0 255
255 0 255
255 0 255
255 0 255
205 180 180
172 148 148
148 115 123
106 49 123
255 0 255
255 0 255
255 255 222
255 255 115
246 180 41
164 82 0
16 16 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
123 156 180
255 255 255
222 222 238
197 197 213
148 148 172
255 123 115
205 41 32
123 41 49
172 172 205
131 131 172
90 90 131
41 57 57
148 164 164
115 131 131
82 98 98
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
123 156 180
255 255 255
238 222 230
222 189 213
197 156 189
49 180 255
0 115 189
123 41 49
172 172 205
131 131 172
90 90 131
41 57 57
205 115 98
172 82 65
131 41 24
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 189
255 0 255
255 0 255
255 0 255
197 139 205
148 98 180
115 65 148
65 16 98
222 98 98
139 49 49
16 16 16
238 246 255
205 213 222
148 172 180
49 82 90
255 255 255

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 189
255 0 255
255 0 255
255 0 255
98 148 255
65 115 230
16 65 180
24 24 106
222 98 98
139 49 49
16 16 16
255 222 255
238 180 230
180 123 180
123 57 131
255 255 255

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
148 172 156
74 74 65
106 106 106
139 139 139
172 172 172
57 57 65
123 106 106
156 139 139
189 172 172
222 205 205
255 255 255
172 57 74
222 106 106
255 131 131
106 189 255
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
148 172 156
32 90 90
65 123 115
90 156 148
148 197 205
74 41 24
123 123 90
156 156 123
189 189 156
222 222 197
255 255 255
172 57 74
222 106 106
255 131 131
255 123 82
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
213 131 255
180 98 230
139 57 180
82 32 106
255 246 197
255 238 164
238 197 90
197 156 82
139 106 65
255 0 255
213 213 213
123 123 123
90 90 90
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
255 131 164
230 98 139
189 57 106
115 32 65
255 238 230
255 222 213
238 189 180
222 123 131
189 82 90
255 0 255
213 213 213
123 123 123
90 90 90
16 16 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
230 230 230
255 255 255
222 222 222
180 180 180
90 90 90
213 180 82
172 131 41
139 98 16
98 49 0
255 0 255
255 0 255
255 255 123
255 238 41
213 180 0
139 98 0
16 16 16

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
230 230 230
255 255 255
222 222 222
180 180 180
90 90 90
230 123 189
189 82 148
131 41 106
82 0 41
255 0 255
255 0 255
255 205 74
213 172 0
172 115 0
123 32 0
16 16 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
115 205 139
255 255 255
131 131 148
197 197 213
255 164 131
255 98 65
131 32 8
172 213 255
115 180 238
98 139 197
65 106 156
238 246 255
222 222 238
172 180 197
41 57 90
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
115 205 139
255 255 255
131 131 148
197 197 213
255 164 131
255 98 65
131 32 8
255 238 131
255 205 98
222 172 65
156 106 0
238 246 255
222 222 238
172 180 197
123 74 0
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
255 238 74
255 197 16
213 148 0
148 74 0
255 0 255
230 230 230
172 172 172
98 106 106
16 16 16
255 98 0
197 65 0
139 32 0
90 0 0
255 0 255

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
246 180 213
213 148 180
189 115 156
139 82 106
255 0 255
230 230 230
172 172 172
98 106 106
16 16 16
131 205 246
65 106 205
32 65 156
49 74 139
255 0 255

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
172 205 172
139 172 139
115 139 115
90 115 90
246 238 197
230 205 148
197 164 98
148 82 74
255 123 82
222 82 32
222 222 222
180 180 189
106 106 123
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
255 213 172
230 180 139
197 148 106
164 115 74
246 238 197
230 205 148
197 164 98
131 90 32
255 82 74
222 82 32
222 222 222
180 180 189
106 106 123
41 41 57

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 180
255 255 74
238 222 24
189 172 16
255 172 131
246 115 74
197 65 24
156 16 0
16 16 16
222 164 197
189 115 164
156 74 131
106 32 90
255 0 255
205 205 205
255 255 255

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 180
255 255 74
238 222 24
189 172 16
180 197 230
148 164 197
106 123 156
49 65 98
16 16 16
222 180 65
180 139 24
139 98 24
98 57 0
255 0 255
205 205 205
255 255 255

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
230 230 230
255 255 246
222 222 213
90 90 90
255 98 65
197 49 32
82 16 16
255 246 172
255 246 148
246 189 106
172 98 32
255 139 82
238 115 49
197 82 49
98 16 0
16 16 16

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
230 230 230
255 255 246
222 222 213
90 90 90
255 98 65
197 49 32
82 16 16
255 246 238
255 238 197
230 197 156
148 115 82
255 230 115
222 189 74
180 148 32
115 82 0
16 16 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
255 172 57
255 123 41
205 82 0
139 32 0
74 0 0
255 238 90
222 180 74
148 115 49
189 148 255
148 90 238
106 49 172
189 189 189
106 106 106
16 16 16

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
238 139 189
205 106 164
139 65 123
115 16 82
82 8 49
255 238 90
222 180 74
148 115 49
148 213 255
98 164 230
32 82 180
189 189 189
106 106 106
16 16 16

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
189 189 222
139 139 189
115 115 172
90 90 139
246 238 197
255 222 106
222 180 98
57 65 82
255 98 74
189 57 0
222 222 222
180 180 189
106 106 123
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
246 197 189
213 164 156
180 131 123
148 98 90
246 238 197
255 222 106
222 180 98
115 65 57
255 98 74
189 57 0
222 222 222
222 98 82
180 57 41
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
148 172 156
74 74 65
106 106 106
139 139 139
172 172 172
57 57 65
123 106 106
156 139 139
189 172 172
222 205 205
255 255 255
172 57 74
222 106 106
255 131 131
106 189 255
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
148 172 156
32 90 90
65 123 115
90 156 148
148 197 205
74 41 24
123 123 90
156 156 123
189 189 156
222 222 197
255 255 255
172 57 74
222 106 106
255 131 131
255 123 82
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 189
213 238 255
172 213 255
139 180 230
98 148 205
57 106 164
65 65 90
255 0 255
255 0 255
139 164 213
90 115 164
74 74 106
189 41 57
230 98 115
16 16 16
255 255 255

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
213 213 189
255 255 255
238 246 255
205 230 255
156 189 246
98 131 238
57 74 148
255 0 255
255 0 255
139 164 213
90 115 164
74 74 106
189 41 57
230 98 115
16 16 16
255 255 255

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
205 205 205
156 156 156
106 106 106
16 16 16
131 205 255
90 172 230
49 131 197
74 74 131
255 0 255
255 0 255
230 82 0
197 41 0
123 0 0
255 0 255

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
205 205 172
255 255 255
205 205 205
156 156 156
106 106 106
16 16 16
255 238 82
255 213 57
213 172 24
131 90 41
255 0 255
255 0 255
238 74 65
197 24 57
123 0 0
255 0 255

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
255 255 255
49 65 90
106 148 255
74 115 255
156 189 255
123 123 148
238 123 115
189 74 65
57 90 189
222 98 90
222 238 255
90 131 246
57 90 148
255 255 255
255 255 255
0 0 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
156 189 255
32 106 82
148 230 148
90 180 123
205 255 172
255 0 255
222 98 49
180 65 49
65 156 98
222 98 90
222 238 255
123 205 131
255 0 255
255 255 255
255 255 255
0 0 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
197 197 98
74 74 98
123 115 148
123 123 222
172 172 255
197 131 98
255 148 98
255 148 98
131 148 148
172 164 189
222 213 238
255 255 255
0 0 0
0 0 0
255 255 255
24 24 24

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
197 197 98
16 98 32
98 156 106
98 197 98
148 230 148
197 131 98
255 148 98
255 148 98
131 148 148
172 164 189
222 213 238
255 255 255
0 0 0
0 0 0
255 255 255
41 41 41

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
255 255 255
98 82 82
131 131 98
255 255 255
156 164 65
197 197 98
230 230 172
222 65 98
246 148 82
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 255 0

View file

@ -0,0 +1,19 @@
JASC-PAL
0100
16
255 255 255
98 82 82
131 131 98
255 255 255
205 180 57
246 222 98
230 230 172
90 172 106
115 189 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 255 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Some files were not shown because too many files have changed in this diff Show more