Skip to content

Commit b23f9d2

Browse files
committed
Merge pull request #99 from Withoutatrace/master
ORAS Weather
2 parents 40b1cde + 326f1e0 commit b23f9d2

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

src/com/podevs/android/pokemononline/ColorEnums.java

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public TypeForWeatherColor(int weather) {
7474
case Rain: color = TypeColor.Water.toString(); break;
7575
case SandStorm: color = TypeColor.Rock.toString(); break;
7676
case Sunny: color = TypeColor.Fire.toString(); break;
77+
case HeavyRain: color = TypeColor.Water.toString(); break;
78+
case HeavySun: color = TypeColor.Fire.toString(); break;
7779
default: color = TypeColor.Normal.toString(); break;
7880
}
7981
}

src/com/podevs/android/pokemononline/battle/SpectatingBattle.java

+4
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,8 @@ public void dealWithCommand(BattleCommand bc, byte player, Bais msg) {
494494
case SandStorm: message = "The sandstorm subsided!"; break;
495495
case Sunny: message = "The sunlight faded!"; break;
496496
case Rain: message = "The rain stopped!"; break;
497+
case HeavySun: message = "The intense sunlight faded!"; break;
498+
case HeavyRain: message = "The heavy downpour stopped!"; break;
497499
default: message = "";
498500
}
499501
writeToHist(Html.fromHtml("<br><font color=" + color + message + "</font>"));
@@ -513,6 +515,8 @@ public void dealWithCommand(BattleCommand bc, byte player, Bais msg) {
513515
case SandStorm: message = "The sandstorm rages!"; break;
514516
case Sunny: message = "The sunlight is strong!"; break;
515517
case Rain: message = "Rain continues to fall!"; break;
518+
case HeavySun: message = "The intense sunlight continues to shine!"; break;
519+
case HeavyRain: message = "The heavy downpour continues!"; break;
516520
default: message = "";
517521
}
518522
writeToHist(Html.fromHtml("<br><font color=" + color + message + "</font>"));

src/com/podevs/android/pokemononline/poke/PokeEnums.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ public enum Weather {
120120
Hail,
121121
Rain,
122122
SandStorm,
123-
Sunny
123+
Sunny,
124+
HeavySun,
125+
HeavyRain
124126
}
125127

126128
public enum WeatherState {

0 commit comments

Comments
 (0)