Added constant for NUM_SNOWFLAKE_SPRITES
This commit is contained in:
parent
502eedaed8
commit
91b48a10d4
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue