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

Weather Script Problem

Status
Not open for further replies.

Fallingcowdude

Getting bye!
  • 4
    Posts
    16
    Years
    Code:
    setweather 0xD
    doweather

    Thats all I have to work with.
    I have no clue how to get it to work.
    I don't even know where to place it!
    But I wan't to use it!

    Its to get weather to change.
    Any Idea's?

    It's being used in Ruby
     
    This is the wrong forum, so it's 100% gonna get locked.
    Fallingcowdude:

    If you use XSE as a script editor, just put in a dynamic offset of your choice(look at some tuts to find out what it is if you dont already know), and just use this

    #dynamic 0xoffset here
    #org @begin
    setweather 0xD
    doweather
    end


    On another script editor:
    #org 0xoffsethere
    setweather 0xD
    doweather
    end


    you need to add the #dynamic, #org, doweather, and end. Without doweather, the weather change wont happen, and you need end to end the script.

    On your map editor(I use a-map, so I'll explain it that way), and go to events view, and change the number of scripts on the map to whatever you had increased by one and go on change events. Paste the offset you got to XSE(or whatever offset you used on another that didnt use a dynamic offset) and paste it where on the new script it said $000000, and save. Now, when you walk over wherever you placed that script in the game, the weather will change, and will stay that way until you leave the map, or step on another script to change the weather again.


    Masterge77: To do random weather just look around on some tutorials on dialogue randomization, and use weather scripts instead(not sure about it, thats what i would guess) and put it in the map scripts section on header view on amap. A good example of random weather you could see probably would be in Liquid Crystal. If you haven't heard of it or played it, it's in the Hacks Showcase
     
    Status
    Not open for further replies.
    Back
    Top