You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Prefix wram labels with w, part 1.
Handle edge cases first.
This commit is contained in:
@@ -135,7 +135,7 @@ AI_Redundant: ; 2c41a
|
||||
ret
|
||||
|
||||
.Sandstorm: ; 2c4f5
|
||||
ld a, [Weather]
|
||||
ld a, [wBattleWeather]
|
||||
cp WEATHER_SANDSTORM
|
||||
jr z, .Redundant
|
||||
jr .NotRedundant
|
||||
@@ -153,13 +153,13 @@ AI_Redundant: ; 2c41a
|
||||
ret
|
||||
|
||||
.RainDance: ; 2c512
|
||||
ld a, [Weather]
|
||||
ld a, [wBattleWeather]
|
||||
cp WEATHER_RAIN
|
||||
jr z, .Redundant
|
||||
jr .NotRedundant
|
||||
|
||||
.SunnyDay: ; 2c51b
|
||||
ld a, [Weather]
|
||||
ld a, [wBattleWeather]
|
||||
cp WEATHER_SUN
|
||||
jr z, .Redundant
|
||||
jr .NotRedundant
|
||||
|
@@ -2842,7 +2842,7 @@ AI_Smart_Solarbeam: ; 3920b
|
||||
; 80% chance to encourage this move when it's sunny.
|
||||
; 90% chance to discourage this move when it's raining.
|
||||
|
||||
ld a, [Weather]
|
||||
ld a, [wBattleWeather]
|
||||
cp WEATHER_SUN
|
||||
jr z, .asm_3921e
|
||||
|
||||
@@ -2870,7 +2870,7 @@ AI_Smart_Solarbeam: ; 3920b
|
||||
AI_Smart_Thunder: ; 39225
|
||||
; 90% chance to discourage this move when it's sunny.
|
||||
|
||||
ld a, [Weather]
|
||||
ld a, [wBattleWeather]
|
||||
cp WEATHER_SUN
|
||||
ret nz
|
||||
|
||||
|
Reference in New Issue
Block a user