From 8f832434e57a14a661d22b151d90af3bb55f463a Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Tue, 29 Jan 2019 13:08:46 -0600 Subject: [PATCH] Change drought colors table files to .bin --- graphics/weather/drought/{0.gbapal => colors_0.bin} | Bin graphics/weather/drought/{1.gbapal => colors_1.bin} | Bin graphics/weather/drought/{2.gbapal => colors_2.bin} | Bin graphics/weather/drought/{3.gbapal => colors_3.bin} | Bin graphics/weather/drought/{4.gbapal => colors_4.bin} | Bin graphics/weather/drought/{5.gbapal => colors_5.bin} | Bin src/field_weather.c | 12 ++++++------ 7 files changed, 6 insertions(+), 6 deletions(-) rename graphics/weather/drought/{0.gbapal => colors_0.bin} (100%) rename graphics/weather/drought/{1.gbapal => colors_1.bin} (100%) rename graphics/weather/drought/{2.gbapal => colors_2.bin} (100%) rename graphics/weather/drought/{3.gbapal => colors_3.bin} (100%) rename graphics/weather/drought/{4.gbapal => colors_4.bin} (100%) rename graphics/weather/drought/{5.gbapal => colors_5.bin} (100%) diff --git a/graphics/weather/drought/0.gbapal b/graphics/weather/drought/colors_0.bin similarity index 100% rename from graphics/weather/drought/0.gbapal rename to graphics/weather/drought/colors_0.bin diff --git a/graphics/weather/drought/1.gbapal b/graphics/weather/drought/colors_1.bin similarity index 100% rename from graphics/weather/drought/1.gbapal rename to graphics/weather/drought/colors_1.bin diff --git a/graphics/weather/drought/2.gbapal b/graphics/weather/drought/colors_2.bin similarity index 100% rename from graphics/weather/drought/2.gbapal rename to graphics/weather/drought/colors_2.bin diff --git a/graphics/weather/drought/3.gbapal b/graphics/weather/drought/colors_3.bin similarity index 100% rename from graphics/weather/drought/3.gbapal rename to graphics/weather/drought/colors_3.bin diff --git a/graphics/weather/drought/4.gbapal b/graphics/weather/drought/colors_4.bin similarity index 100% rename from graphics/weather/drought/4.gbapal rename to graphics/weather/drought/colors_4.bin diff --git a/graphics/weather/drought/5.gbapal b/graphics/weather/drought/colors_5.bin similarity index 100% rename from graphics/weather/drought/5.gbapal rename to graphics/weather/drought/colors_5.bin diff --git a/src/field_weather.c b/src/field_weather.c index 21168426ca..0db635c604 100644 --- a/src/field_weather.c +++ b/src/field_weather.c @@ -73,12 +73,12 @@ IWRAM_DATA static const u8 *sPaletteGammaTypes; // The drought weather effect uses a precalculated color lookup table. Presumably this // is because the underlying color shift calculation is slow. const u16 sDroughtWeatherColors[][0x1000] = { - INCBIN_U16("graphics/weather/drought/0.gbapal"), - INCBIN_U16("graphics/weather/drought/1.gbapal"), - INCBIN_U16("graphics/weather/drought/2.gbapal"), - INCBIN_U16("graphics/weather/drought/3.gbapal"), - INCBIN_U16("graphics/weather/drought/4.gbapal"), - INCBIN_U16("graphics/weather/drought/5.gbapal"), + INCBIN_U16("graphics/weather/drought/colors_0.bin"), + INCBIN_U16("graphics/weather/drought/colors_1.bin"), + INCBIN_U16("graphics/weather/drought/colors_2.bin"), + INCBIN_U16("graphics/weather/drought/colors_3.bin"), + INCBIN_U16("graphics/weather/drought/colors_4.bin"), + INCBIN_U16("graphics/weather/drought/colors_5.bin"), }; // This is a pointer to gWeather. All code in this file accesses gWeather directly,