• 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.

[Other Question] Reapplying weather at end of round

  • 10
    Posts
    9
    Years
    • Seen Mar 14, 2025
    Trying to create a better Snow Warning ability that applies Hail at the end of the round if it isn't active. I copied the trigger of Ice Body and the ability of Snow Warning, but it just does absolutely nothing in game. I use Sunny Day to change to Sun to test it.

    Here's the code.

    Code:
    BattleHandlers::EORWeatherAbility.add(:ABOMINABLE,
      proc { |ability,weather,battler,battle|
        next unless weather == :Hail
        pbBattleWeatherAbility(:Hail, battler, battle)
      }
    )

    Any advice/comments on what I should be doing would be welcome! Thank you! :D
     
    Back
    Top