summaryrefslogtreecommitdiff
path: root/include/field_weather.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-08 19:05:03 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-08 19:05:03 +0100
commit4c23adb5f53a61d0e7426376aba9a04de5c8f2b3 (patch)
treead1724af82923df0ca342036a50cfd981cc2c55b /include/field_weather.h
parent6068495619364c8e0ccae15ad036a1b5a9eef171 (diff)
Decompile field weather
Diffstat (limited to 'include/field_weather.h')
-rw-r--r--include/field_weather.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/field_weather.h b/include/field_weather.h
index a48361b8a..d4bc85afd 100644
--- a/include/field_weather.h
+++ b/include/field_weather.h
@@ -4,7 +4,8 @@
#include "sprite.h"
// Controls how the weather should be changing the screen palettes.
-enum {
+enum
+{
WEATHER_PAL_STATE_CHANGING_WEATHER,
WEATHER_PAL_STATE_SCREEN_FADING_IN,
WEATHER_PAL_STATE_SCREEN_FADING_OUT,
@@ -38,11 +39,11 @@ struct Weather
u8 gammaStepDelay;
u8 gammaStepFrameCounter;
u16 fadeDestColor;
- u8 palProcessingState;
- u8 fadeScreenCounter;
- bool8 readyForInit;
- u8 taskId;
- u8 unknown_6CA;
+ /*0x6C6*/ u8 palProcessingState;
+ /*0x6C7*/ u8 fadeScreenCounter;
+ /*0x6C8*/ bool8 readyForInit;
+ /*0x6C9*/ u8 taskId;
+ /*0x6CA*/ u8 unknown_6CA;
u8 unknown_6CB;
u16 initStep;
u16 finishStep;
@@ -168,6 +169,7 @@ void ResetDroughtWeatherPaletteLoading(void);
bool8 LoadDroughtWeatherPalettes(void);
u8 GetCurrentWeather(void);
void LoadCustomWeatherSpritePalette(const u16 *palette);
+void SetWeatherScreenFadeOut(void);
extern struct Weather gWeather;