diff options
Diffstat (limited to 'engine/battle/move_effects/sandstorm.asm')
-rw-r--r-- | engine/battle/move_effects/sandstorm.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engine/battle/move_effects/sandstorm.asm b/engine/battle/move_effects/sandstorm.asm new file mode 100644 index 00000000..c88529fb --- /dev/null +++ b/engine/battle/move_effects/sandstorm.asm @@ -0,0 +1,18 @@ +BattleCommand_StartSandstorm: +; startsandstorm + + ld a, [wBattleWeather] + cp WEATHER_SANDSTORM + jr z, .failed + + ld a, WEATHER_SANDSTORM + ld [wBattleWeather], a + ld a, 5 + ld [wWeatherCount], a + call AnimateCurrentMove + ld hl, SandstormBrewedText + jp StdBattleTextbox + +.failed + call AnimateFailedMove + jp PrintButItFailed |