blob: c88529fb1b73b73d50584e14f0b89603b4be7c31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|