Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

TrollandToad.com
Reply
 
Thread Tools
  #51    
Old January 15th, 2010 (3:45 PM).
interdpth interdpth is offline
I've seen things, man.
     
    Join Date: Jul 2004
    Posts: 275
    Quote:
    Originally Posted by Powerflare View Post
    A level script, okay. So I have to put it on a level script for each map I want this random weather to be on?
    So, uh, have you read the thread at all? And have you read the rules for this sub-forum?
    __________________
    yes, this is doge.

    potato is not here.

    bye
    Reply With Quote

    Relevant Advertising!

      #52    
    Old January 15th, 2010 (5:49 PM).
    Powerflare's Avatar
    Powerflare Powerflare is offline
    • Silver Tier
     
    Join Date: May 2008
    Age: 20
    Gender: Male
    Nature: Rash
    Posts: 112
    Quote:
    Originally Posted by interdpth View Post
    So, uh, have you read the thread at all? And have you read the rules for this sub-forum?
    I have. Have you read my post? ^.^ I'm a n00b at this kinda stuff. xD I didn't fully understand it.
    Reply With Quote
      #53    
    Old January 16th, 2010 (2:10 PM).
    colcolstyles's Avatar
    colcolstyles colcolstyles is offline
    Yours truly
    • Crystal Tier
     
    Join Date: May 2008
    Location: The Bay Area
    Gender: Male
    Nature: Lonely
    Posts: 1,590
    Quote:
    Originally Posted by Powerflare View Post
    I'm a n00b at this kinda stuff. xD I didn't fully understand it. :|
    Makes no difference to me.

    Anyways, all you need to know is that this isn't finished yet. It's nearing completion but it's not ready for public release yet. Try to be patient, please.
    __________________

    Brother of Vrai
    Reply With Quote
      #54    
    Old January 17th, 2010 (12:23 PM).
    Powerflare's Avatar
    Powerflare Powerflare is offline
    • Silver Tier
     
    Join Date: May 2008
    Age: 20
    Gender: Male
    Nature: Rash
    Posts: 112
    Quote:
    Originally Posted by colcolstyles View Post
    Makes no difference to me.

    Anyways, all you need to know is that this isn't finished yet. It's nearing completion but it's not ready for public release yet. Try to be patient, please.
    Sorry if I was impatient, I have a tendency to to that. Anyways, I can wait. For me, the more complicated stuff can wait till later; since I'm starting a new hack, I want to get some of the essentials out of the way.
    Reply With Quote
      #55    
    Old January 19th, 2010 (9:40 PM).
    interdpth interdpth is offline
    I've seen things, man.
       
      Join Date: Jul 2004
      Posts: 275
      Okay, so I take it we now have a set script to use? :)
      *didn't read most of the thread*
      __________________
      yes, this is doge.

      potato is not here.

      bye
      Reply With Quote
        #56    
      Old January 19th, 2010 (10:16 PM).
      colcolstyles's Avatar
      colcolstyles colcolstyles is offline
      Yours truly
      • Crystal Tier
       
      Join Date: May 2008
      Location: The Bay Area
      Gender: Male
      Nature: Lonely
      Posts: 1,590
      Quote:
      Originally Posted by interdpth View Post
      Okay, so I take it we now have a set script to use? :)
      *didn't read most of the thread*
      This post has the final script. And if you don't want the "only run if map type is 0xF" part, then use the script in Darthatron's post a couple posts down the page.
      __________________

      Brother of Vrai
      Reply With Quote
        #57    
      Old January 26th, 2010 (11:30 AM).
      HackMew's Avatar
      HackMew HackMew is offline
      Mewtwo Strikes Back
      • Crystal Tier
       
      Join Date: Jun 2006
      Posts: 1,314
      For those interested, I'll briefly explain how I made it in my hack. First of all, the weather-based seasons are enabled only on maps where the weather byte is set to 0xF. This is useful to provide a manual override for particular maps and, at the same point, to avoid weather changes inside buildings, caves etc. So, let's suppose the player has just entered a 0xF map. If the old weather value (stored elsewhere from the actual map weather) is set to 0x0, and the weather timer is 0x0 as well, a new weather type would be randomly selected from the weather-season tables, one for each season and 32 byte each. This gives a 3.125% chance for each item in the table. Then the weather would be applied and stored in the extra memory area I talked about earlier. Finally, the timer would be randomly set to a certain amount of seconds, representing a few hours. Whenever the timer elapses, a new weather is randomly chosen and the timer is reinitialized. Saving the weather byte is important, as when going to another 0xF map (as long as the timer is not 0x0) the same weather would be applied.
      __________________
      Reply With Quote
        #58    
      Old January 26th, 2010 (7:58 PM).
      0m3GA ARS3NAL's Avatar
      0m3GA ARS3NAL 0m3GA ARS3NAL is offline
      Im comin' home...
      • Silver Tier
       
      Join Date: Jan 2008
      Location: Superjail Penitentiary
      Age: 25
      Gender: Male
      Nature: Gentle
      Posts: 1,816
      Interesting, a timer system is a good idea, but it seems a little impractical.
      So far as I can tell all that is needed now is an ASM routine to get the weather to run whenever you enter the maps you want. (This script also used 0xF as the weather byte for this to work.)
      __________________
      >Boot Jailbot
      >Pass *****
      .
      .
      Jailbot OS Ver 1.1.2
      Greetings Warden
      of Superjail Penitentiary
      Awaiting user input...

      >Display User_Info
      ╠══User Info══╣
      Username:
      0m3GA ARS3NAL
      Age: 18
      Sex: Male ♂
      Race: Caucasian
      Quote:
      "What is this
      I don't even..."

      M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
      ╠══End of File══╣
      Awaiting user input...

      >
      Reply With Quote
        #59    
      Old January 28th, 2010 (4:23 PM).
      HackMew's Avatar
      HackMew HackMew is offline
      Mewtwo Strikes Back
      • Crystal Tier
       
      Join Date: Jun 2006
      Posts: 1,314
      Quote:
      Originally Posted by 0m3GA ARS3NAL View Post
      Interesting, a timer system is a good idea, but it seems a little impractical.
      So far as I can tell all that is needed now is an ASM routine to get the weather to run whenever you enter the maps you want. (This script also used 0xF as the weather byte for this to work.)
      Why a timer would be impractical? I don't get it.
      __________________
      Reply With Quote
        #60    
      Old January 28th, 2010 (6:55 PM).
      Darthatron's Avatar
      Darthatron Darthatron is offline
      巨大なトロール。
      • Silver Tier
       
      Join Date: Jan 2006
      Location: Melbourne, Australia
      Age: 26
      Gender: Male
      Nature: Modest
      Posts: 1,152
      If anything it would be more practical. You could stand in one spot and the weather could change randomly. That makes much more sense then just when changing maps.
      __________________
      あなた は しきしゃ です
      わたし は ばか です
      Reply With Quote
        #61    
      Old January 28th, 2010 (8:13 PM).
      0m3GA ARS3NAL's Avatar
      0m3GA ARS3NAL 0m3GA ARS3NAL is offline
      Im comin' home...
      • Silver Tier
       
      Join Date: Jan 2008
      Location: Superjail Penitentiary
      Age: 25
      Gender: Male
      Nature: Gentle
      Posts: 1,816
      I was thinking it had a timer to the point where it would only change when changing maps, and if the timer went off. A Real-time timer would be even better.
      Sorry for the confusion.
      __________________
      >Boot Jailbot
      >Pass *****
      .
      .
      Jailbot OS Ver 1.1.2
      Greetings Warden
      of Superjail Penitentiary
      Awaiting user input...

      >Display User_Info
      ╠══User Info══╣
      Username:
      0m3GA ARS3NAL
      Age: 18
      Sex: Male ♂
      Race: Caucasian
      Quote:
      "What is this
      I don't even..."

      M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
      ╠══End of File══╣
      Awaiting user input...

      >
      Reply With Quote
        #62    
      Old January 29th, 2010 (4:48 AM).
      HackMew's Avatar
      HackMew HackMew is offline
      Mewtwo Strikes Back
      • Crystal Tier
       
      Join Date: Jun 2006
      Posts: 1,314
      Quote:
      Originally Posted by 0m3GA ARS3NAL View Post
      I was thinking it had a timer to the point where it would only change when changing maps, and if the timer went off. A Real-time timer would be even better.
      Sorry for the confusion.
      In fact, it would be "only change when changing maps, and/or if the timer went off."
      BTW, what do you mean by "real-time timer" ?
      __________________
      Reply With Quote
        #63    
      Old January 29th, 2010 (4:57 AM).
      0m3GA ARS3NAL's Avatar
      0m3GA ARS3NAL 0m3GA ARS3NAL is offline
      Im comin' home...
      • Silver Tier
       
      Join Date: Jan 2008
      Location: Superjail Penitentiary
      Age: 25
      Gender: Male
      Nature: Gentle
      Posts: 1,816
      I mean it happens as soon as the timer goes off, no need to change maps.

      I've set up a timer in a hack before, wasn't very helpful as the player could sit in the map forever and never have the event planned happen until they change map.
      Not exactly Real Time if you ask me...
      __________________
      >Boot Jailbot
      >Pass *****
      .
      .
      Jailbot OS Ver 1.1.2
      Greetings Warden
      of Superjail Penitentiary
      Awaiting user input...

      >Display User_Info
      ╠══User Info══╣
      Username:
      0m3GA ARS3NAL
      Age: 18
      Sex: Male ♂
      Race: Caucasian
      Quote:
      "What is this
      I don't even..."

      M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
      ╠══End of File══╣
      Awaiting user input...

      >
      Reply With Quote
        #64    
      Old January 29th, 2010 (6:25 AM).
      HackMew's Avatar
      HackMew HackMew is offline
      Mewtwo Strikes Back
      • Crystal Tier
       
      Join Date: Jun 2006
      Posts: 1,314
      Quote:
      Originally Posted by 0m3GA ARS3NAL View Post
      I mean it happens as soon as the timer goes off, no need to change maps.
      Maybe I didn't express myself correctly, but that's exactly what would happen. There's no need to change map. But if you do, the same weather is applied (assuming the weather byte is set to 0xF).
      __________________
      Reply With Quote
        #65    
      Old January 29th, 2010 (5:25 PM).
      ZodiacDaGreat's Avatar
      ZodiacDaGreat ZodiacDaGreat is offline
      Working on a Mobile System
         
        Join Date: Feb 2007
        Location: South Pacific
        Age: 25
        Gender: Male
        Nature: Relaxed
        Posts: 429
        Quote:
        Originally Posted by HackMew
        Maybe I didn't express myself correctly, but that's exactly what would happen. There's no need to change map. But if you do, the same weather is applied (assuming the weather byte is set to 0xF).
        The timer updates a lot so theres no need to change maps As it refreshes and then there's script execution as well when the timer hits max/min.
        __________________
        Reply With Quote
          #66    
        Old January 30th, 2010 (1:35 AM).
        HackMew's Avatar
        HackMew HackMew is offline
        Mewtwo Strikes Back
        • Crystal Tier
         
        Join Date: Jun 2006
        Posts: 1,314
        Quote:
        Originally Posted by ZodiacDaGreat View Post
        The timer updates a lot so theres no need to change maps ^^ As it refreshes and then there's script execution as well when the timer hits max/min.
        Well, the timer updates, but only once some hours. So it's perfectly understandable the player might change map in the meanwhile. Anyway, I never said you need to change map. I only said then when you enter/exit a map, if the map weather is 0xF, then the same weather as the old map is going to be applied. The weather actually changes, from 0xF to whatever, but the result in-game is not noticeable.
        __________________
        Reply With Quote
          #67    
        Old October 4th, 2014 (8:36 AM).
        PokeBunny's Avatar
        PokeBunny PokeBunny is offline
        Pokemon Game Maker
           
          Join Date: Aug 2012
          Location: South Africa
          Age: 17
          Gender: Male
          Nature: Serious
          Posts: 34
          Why don't you make an automatic ASM function?
          __________________
          special POKeBUNNY

          The Pokemon Game Developer
          If you are wondering why I'm taking long to make Pokemon Hot Red and Cold Blue... It's because I barely get computer time. Be patient (I'm not!.

          My SoundCloud!!!!!!!!!
          Reply With Quote
            #68    
          Old October 4th, 2014 (5:25 PM).
          Danny0317's Avatar
          Danny0317 Danny0317 is offline
          Fluorite's back, brah
          • Gold Tier
           
          Join Date: Jun 2013
          Location: Miami, FL
          Age: 17
          Gender: Male
          Nature: Hasty
          Posts: 1,075
          Quote:
          Originally Posted by PokeBunny View Post
          Why don't you make an automatic ASM function?
          Well, for one because nobody has posted in this thread for four years and this was very forgotten.
          __________________
          Reply With Quote
            #69    
          Old May 18th, 2015 (12:29 AM).
          Criminon's Avatar
          Criminon Criminon is offline
          Pokemon: Aqua Blue
             
            Join Date: Aug 2012
            Gender: Male
            Posts: 243
            Quote:
            Originally Posted by Danny0317 View Post
            Well, for one because nobody has posted in this thread for four years and this was very forgotten.
            Hoping it gets remembered now.
            __________________
            FC: 3582 - 9598 - 9978. Add me!
            Reply With Quote
            Reply

            Quick Reply

            Join the conversation!

            Create an account to post a reply in this thread, participate in other discussions, and more!

            Create a PokéCommunity Account

            Sponsored Links
            Thread Tools

            Posting Rules
            You may not post new threads
            You may not post replies
            You may not post attachments
            You may not edit your posts

            BB code is On
            Smilies are On
            [IMG] code is On
            HTML code is Off

            Forum Jump


            All times are GMT -8. The time now is 11:53 AM.