blob: 27b8e8e2caa191bbed3aa97defe7b04c77b84b0f (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | BattleCommand_StartSandstorm: ; 376f8
; startsandstorm
	ld a, [Weather]
	cp WEATHER_SANDSTORM
	jr z, .failed
	ld a, WEATHER_SANDSTORM
	ld [Weather], a
	ld a, 5
	ld [WeatherCount], a
	call AnimateCurrentMove
	ld hl, SandstormBrewedText
	jp StdBattleTextBox
.failed
	call AnimateFailedMove
	jp PrintButItFailed
; 37718
 |