begin module PBFieldWeather None = 0 # None must be 0 (preset RMXP weather) Rain = 1 # Rain must be 1 (preset RMXP weather) Storm = 2 # Storm must be 2 (preset RMXP weather) Snow = 3 # Snow must be 3 (preset RMXP weather) Blizzard = 4 Sandstorm = 5 HeavyRain = 6 Sun = Sunny = 7 def PBFieldWeather.maxValue; return 7; end end rescue Exception if $!.is_a?(SystemExit) || "#{$!.class}"=="Reset" raise $! end end