The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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!
Research & Development programs in this forum are subject to moderator approval before they are displayed.


Advertise here

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old January 15th, 2010, 03:45 PM
interdpth
I've seen things, man.
 
Join Date: Jul 2004

Advertise here
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
  #52    
Old January 15th, 2010, 05:49 PM
Powerflare's Avatar
Powerflare
Pokémon Trainer N
 
Join Date: May 2008
Location: Unova
Age: 17
Gender: Male
Nature: Rash
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.
__________________
I like that face! Like to battle, do you?"-Crasher Wake

"... ... ... ... ... ... ... ... ... ... ... ..." -Red

Pokémon Black Version || Pokémon White Version

I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
Reply With Quote
  #53    
Old January 16th, 2010, 02:10 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
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
Pokémon Trainer N
 
Join Date: May 2008
Location: Unova
Age: 17
Gender: Male
Nature: Rash
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.
__________________
I like that face! Like to battle, do you?"-Crasher Wake

"... ... ... ... ... ... ... ... ... ... ... ..." -Red

Pokémon Black Version || Pokémon White Version

I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
Reply With Quote
  #55    
Old January 19th, 2010, 09:40 PM
interdpth
I've seen things, man.
 
Join Date: Jul 2004
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
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
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
Mewtwo Strikes Back
 
Join Date: Jun 2006
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, 07:58 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
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, 04:23 PM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
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, 06:55 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
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, 08:13 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
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, 04:48 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
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, 04:57 AM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
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, 06:25 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
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, 05:25 PM
ZodiacDaGreat's Avatar
ZodiacDaGreat
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 21
Gender: Male
Nature: Relaxed
Send a message via ICQ to ZodiacDaGreat
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, 01:35 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
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
Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:20 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.