• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

New Season + Weather (Add-on)

Would this also have the ability to change the map/tileset depending on the season?
 
Tried getting your script to work (not sure if its just for 17/17.2 so might be why) but it keeps crashing due to something about "opacity" in the day/season check script, im guessing the "def opacity" one.

---------------------------
Pokemon: Sacred Johto
---------------------------
Exception: NoMethodError

Message: undefined method `opacity' for nil:NilClass

Day/Season Checker:209:in `update'

Passability debug:275:in `cng_dayseason_map_main'

Passability debug:263:in `loop'

Passability debug:296:in `cng_dayseason_map_main'

Day/Season Checker:192:in `main'

Main:74:in `mainFunctionDebug'

Main:52:in `mainFunction'

Main:52:in `pbCriticalCode'

Main:52:in `mainFunction'

Main:84
 
Is script compatible with player flying, teleporting out of a map so to close the weather effects?
 
Any idea on how to do that? I want to use this script, but when I press, 'New Game', the season still pops up in front of the professor.

Yes!

2 ideas:
Spoiler:


Spoiler:



That's all.
 
Last edited:
Finally got the script to work (no idea why it wasn't last time)

However everytime i go into a battle i get an error;

Exception: NoMethodError
Message: undefined method `z' for nil:NilClass
EliteBattle_Animations:1441:in `initialize'
EliteBattle_Scene:234:in `new'
EliteBattle_Scene:234:in `pbStartBattle'
EliteBattle_Battle:67:in `pbStartBattleCore'
PokeBattle_Battle:2583:in `pbStartBattle'
PField_Field:952:in `pbWildBattle_ebs'
PField_Field:951:in `pbSceneStandby'
PField_Field:953:in `pbWildBattle_ebs'
PField_Field:950:in `pbBattleAnimation'
PField_Field:950:in `pbWildBattle_ebs'
 
Finally got the script to work (no idea why it wasn't last time)

However everytime i go into a battle i get an error;

Exception: NoMethodError
Message: undefined method `z' for nil:NilClass
EliteBattle_Animations:1441:in `initialize'
EliteBattle_Scene:234:in `new'
EliteBattle_Scene:234:in `pbStartBattle'
EliteBattle_Battle:67:in `pbStartBattleCore'
PokeBattle_Battle:2583:in `pbStartBattle'
PField_Field:952:in `pbWildBattle_ebs'
PField_Field:951:in `pbSceneStandby'
PField_Field:953:in `pbWildBattle_ebs'
PField_Field:950:in `pbBattleAnimation'
PField_Field:950:in `pbWildBattle_ebs'

Maybe, It's not compatible with EBS.
 
mine too, if anyone knows how to fix let me know

Yes!

2 ideas:
Spoiler:


Spoiler:



That's all.

???
 
Probably a necro post, but does anyone know how to get this working with EBS? I've been looking for a while, but I don't know how to call the animation on EBS.
 
Probably a necro post, but does anyone know how to get this working with EBS? I've been looking for a while, but I don't know how to call the animation on EBS.

Do you look in 'def getWeatherAnim(weather)' ?

And add this at the end of your Weather script or place your script on top of the EBS scripts.

#-------------------------------------------------------------------------------
# Spriteset_Map
#-------------------------------------------------------------------------------
class Spriteset_Map

alias maws_weather_variation_upd update
def update
if $game_screen.variation_update
@weather.dispose if @weather != nil
@weather = RPG::Weather.new(@@viewport1)
$game_screen.variation_update = false
end
maws_weather_variation_upd
end
end

module RPG
class Weather
alias initialize_ebs initialize unless self.method_defined?(:initialize_ebs)
alias dispose_ebs dispose unless self.method_defined?(:dispose_ebs)
end
class BattleWeather < Weather
attr_accessor :visible

def initialize(viewport = nil)
@disposed = false
@visible = true
initialize_ebs(viewport)
@viewport.z = @origviewport.z
end

def dispose
dispose_ebs
@disposed = true
end

def disposed?
return @disposed
end
def color
return @viewport.color
end
def color=(val)
@viewport.color=val
end
end
end

This should make the animation of the weather visible during battle.
 
Do you look in 'def getWeatherAnim(weather)' ?

I looked but I'm not really understanding where the animations are getting called from. Also, I put the script you had at the end of the weather script from the OP and I'm getting this error.
[PokeCommunity.com] New Season + Weather (Add-on)
 
Do you look in 'def getWeatherAnim(weather)' ?

I looked but I'm not really understanding where the animations are getting called from. Also, I put the script you had at the end of the weather script from the OP and I'm getting this error.
[PokeCommunity.com] New Season + Weather (Add-on)

Yes, the variation_update is missing.

I forgot this just above the previous one :

#-------------------------------------------------------------------------------
# Game_Screen
#-------------------------------------------------------------------------------
class Game_Screen

attr_accessor :weather_variation
attr_accessor :variation_update

alias maws_weather_color_init initialize
def initialize
maws_weather_color_init
@weather_variation = 0
@variation_update = false
end

def weather(type, power, duration, variation=0)
@variation_update = true if variation != @weather_variation
@weather_variation = variation
@weather_type_target = type
@weather_duration = duration
if @weather_type_target != 0
@weather_type = @weather_type_target
end
@weather_max_target = @weather_type_target == 0 ? 0.0 : (power + 1) * 4.0
if @weather_duration == 0
@weather_type = @weather_type_target
@weather_max = @weather_max_target
end
end
end
 
Yes, the variation_update is missing.

I forgot this just above the previous one :

sorry to keep bothering you, but I'm getting another error when entering battle.
[PokeCommunity.com] New Season + Weather (Add-on)


One small thing to note is that if I comment out the line with viewport.z the animation works in battle, but when the battle ends i get another error about 'color' being undefined.
[PokeCommunity.com] New Season + Weather (Add-on)
 
Back
Top