Added constant for NUM_SNOWFLAKE_SPRITES
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#define NUM_FOG_DIAGONAL_SPRITES 20
|
#define NUM_FOG_DIAGONAL_SPRITES 20
|
||||||
#define NUM_SANDSTORM_SPRITES 20
|
#define NUM_SANDSTORM_SPRITES 20
|
||||||
#define NUM_SWIRL_SANDSTORM_SPRITES 5
|
#define NUM_SWIRL_SANDSTORM_SPRITES 5
|
||||||
|
#define NUM_SNOWFLAKE_SPRITES 16
|
||||||
|
|
||||||
// Controls how the weather should be changing the screen palettes.
|
// Controls how the weather should be changing the screen palettes.
|
||||||
#define WEATHER_PAL_STATE_CHANGING_WEATHER 0
|
#define WEATHER_PAL_STATE_CHANGING_WEATHER 0
|
||||||
|
|||||||
@@ -770,7 +770,7 @@ void Snow_InitVars(void)
|
|||||||
gWeatherPtr->weatherGfxLoaded = FALSE;
|
gWeatherPtr->weatherGfxLoaded = FALSE;
|
||||||
gWeatherPtr->targetColorMapIndex = 3;
|
gWeatherPtr->targetColorMapIndex = 3;
|
||||||
gWeatherPtr->colorMapStepDelay = 20;
|
gWeatherPtr->colorMapStepDelay = 20;
|
||||||
gWeatherPtr->targetSnowflakeSpriteCount = 16;
|
gWeatherPtr->targetSnowflakeSpriteCount = NUM_SNOWFLAKE_SPRITES;
|
||||||
gWeatherPtr->snowflakeVisibleCounter = 0;
|
gWeatherPtr->snowflakeVisibleCounter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user