• 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 Trading Card Game 2 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.

[Eventing Question] Weather Encounters

  • 4
    Posts
    4
    Years
    • Seen Jun 21, 2020
    Hi everyone,

    First off I'd like to say that I've been playing with Pokémon Essentials and RPGmaker XP for about a week, and it's been super fun but I'm sorry if I ask anything obvious, or am posting in the wrong forum or anything like that.

    The issue I'm having is that I can't get an event to show up depending on the weather. I want it to be there when it rains, and not when it's dry. The route it's on has a 50% chance of rain.

    This is what I have so far.

    [PokeCommunity.com] Weather Encounters

    [PokeCommunity.com] Weather Encounters


    I already asked on a Discord server, where people gave me the following script, however, none of the options seemed to work. No matter if we called OnMapChange, or OnStepTaken, it wouldn't update the variable I had set.

    So that's why I figured I would ask here. I know these kinds of events are possible, and I have made an event before that checks if the weather is rain, and if yes it does one thing, and if no it does another. But having it kind of called when it's relevant, and not when it isn't is totally driving me crazy.

    I hope maybe somebody here can point out what's missing, or keeping it from working.

    Thanks in advance, and again sorry if I did anything dumb.
     
    You have == in your script which checks the value instead of setting it. you want just 1 =. that sets it
    Also I'm not so experienced with events, but that will show the Lotad when there's any weather. I think a second page that's blank if it's higher than rain would work, but once again, eventing isn't my strong suit.
     
    That worked! Yeah I'll probably add in that, as well as a self switch to make it dissappear once youve battled it.

    Thanks a lot for the help.
     
    Back
    Top