Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Hacks Studio
Notices

Hacks Studio Hacks Studio is the go-to destination for browsing our curated collection of ROM hacks, all made by PokéCommunity members! Patch, play and enjoy!
(Made a bit of progress on a ROM hack already? Post your projects in the Progressing Hacks forum!)
ROM Hacks are to subject to moderator approval before they are displayed.

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #951    
Old October 4th, 2009, 09:23 PM
awesome761
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male

Advertise here
Quote:
Originally Posted by Hiroshi Sotomura View Post
Try trashing the save file. Oh, and do a reset WITHOUT loading a save state.
Well here is the whole story, i am on my ipod touch and am using the emulator gpsphone,
more info about my problem here: ipodtouchfans.com/forums/showthread.php?t=251118

Thanks,

Awesome761
  #952    
Old October 5th, 2009, 09:18 AM
martauros's Avatar
martauros
Now I'm back!. HG&SS&SGforever
 
Join Date: Mar 2007
Location: I can't tell, I'm not sure :-P
Age: 19
Nature: Quiet
Quote:
Originally Posted by Colorful Summer View Post
It looks nice, but I guess you could include a bit more houses...
And are those trainers on the beach?

I wonder why the house on the beach doesn't have a door?
It's only my speculation, but:
I think that in the city no trainers appear, so those are just "citizens":)
House on the beach can have no door, coz it can be like the house on the beach on Route 109 near Slateport
Registered...sent 12 posts...DISAPPEARED..and...after...eee...uh-some time...Finally BACK!

Niech KAŻDY kto zna polski wyśle mi prywatną wiadomość, PROSZĘ
  #953    
Old October 5th, 2009, 02:26 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
No, he's right; they're trainers. :P
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.
  #954    
Old October 5th, 2009, 10:46 PM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by Hiroshi Sotomura View Post
No, he's right; they're trainers.
Of course I'm right.
I'm always right.

Anyways, good luck on your hack, can't wait to play a new beta!
  #955    
Old October 8th, 2009, 06:34 AM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Post destroyed by accident. :(

See original here:
http://www.rijon.com/2009/10/gym-leader-campaign-again/
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.
  #956    
Old October 8th, 2009, 08:29 AM
NatureKeeper
No longer active here.
 
Join Date: Jun 2008
Location: Somewhere.
Age: 16
Gender: Male
Nature: Hasty
Send a message via Windows Live Messenger to NatureKeeper Send a message via Skype™ to NatureKeeper
100+? Wow that is crazier than Luminous Yellow, Gary Round 2.... It is 100, not 100+.
  #957    
Old October 8th, 2009, 02:15 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Quote:
Originally Posted by NatureKeeper View Post
100+? Wow that is crazier than Luminous Yellow, Gary Round 2.... It is 100, not 100+.
Typos like these happen when people stay awake for too long. :(
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.
  #958    
Old October 8th, 2009, 02:53 PM
Evilpkmn's Avatar
Evilpkmn
Evilmad says Bonjour
 
Join Date: Jun 2007
Location: France
Age: 22
Gender: Male
Nature: Lonely
Send a message via Windows Live Messenger to Evilpkmn
We CAN finish this game , by playing 300+ hours XD !
I look foward fight against this champion !
I wanted to create games...i failed...whatever...
  #959    
Old October 8th, 2009, 03:03 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
I'm sure that with your optional, complimentary Level 60 starter Sceptile/Blaziken/Swampert that it won't be so terribly hard to train up. :P

(That's a HINT.)
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.
  #960    
Old October 9th, 2009, 11:55 PM
Steeldude's Avatar
Steeldude
Ace Trainer
 
Join Date: Jul 2009
Location: Czech Republic
Gender: Male
Nature: Calm
Interesting idea XD. That's gonna be tough.
So, can we look forward to South Rijon or Naljo as well?

btw after I've finished 1st beta my team is:
Speerine (speed/marine - Seadra) lv. 63
Steeltress (steel/fortress - Metagross) lv. 64
Crustroy (crush/destroy - Tyranitar) lv. 58
Dewil (devil - Crobat) lv. 62
Flagon (flame/dragon - Charizard) lv. 61
Buzzeptric (buzz/zap/electric - Ampharos) lv. 63
Ressurection of justice
  #961    
Old October 17th, 2009, 03:57 AM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Warning: wall of text. This is about development and might help you other hackers out in formulating things (but this isn't source code). This is the next feature I'm going to implement soon.

http://www.rijon.com/2009/10/rng-and-weather/
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.
  #962    
Old October 17th, 2009, 06:36 AM
Trigger's Avatar
Trigger
Beginning Trainer
 
Join Date: Oct 2009
Gender: Male
Nature: Quirky
That seems like a very detailed feature. While minor, it makes the game more interesting. Is there a day/night system implemented? If so could the pokemon that appear there change depending on the time of day and weather?
  #963    
Old October 17th, 2009, 04:10 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
I was intrigued reading about your weather system. So much, in fact, that I decided to go to work implementing it. This is what I got:
Code:
'----------------------------------------------------------------
' Natural Weather Script
' By colcolstyles
' 10/17/2009
' As the player moves from one map to the next, the weather has
' the possibility of changing. Both the type of weather that
' might begin and the odds of a change occurring depend on
' the current weather (actual odds given in script). This script
' also contains an available option for manual override; the
' hacker can (by setting the OVERRIDE flag) specify a particular
' weather to be used, thus deactivating the random weather.
'----------------------------------------------------------------

#erase 0x800000 0x100
#dynamic 0x800000

#define V_WEATHER 0x7000
#define V_RANDVAR 0x7001
#define F_OVERRIDE 0x500
#define W_SUNNY 0x2
#define W_CLOUDY 0xB
#define W_RAIN 0x3
#define W_THUNDER 0xD

'----------------------------------------------------------------

#org @main
compare F_OVERRIDE B_TRUE
if B_== goto @manual
random 0x14
copyvar V_RANDVAR LASTRESULT
compare V_WEATHER W_SUNNY
if B_== call @sunnyscript
compare V_WEATHER W_CLOUDY
if B_== call @cloudyscript
compare V_WEATHER W_RAIN
if B_== call @rainscript
compare V_WEATHER W_THUNDER
if B_== call @thunderscript
doweather
end

'----------------------------------------------------------------

#org @sunnyscript
compare V_RANDVAR 0x1 ' 2/20 chance of becoming cloudy
if B_<= goto @becomecloudy
compare V_RANDVAR 0x2 ' 1/20 chance of spontaneous rain
if B_<= goto @becomerainy
setweather W_SUNNY ' 17/20 chance of remaining the same
return

#org @cloudyscript
compare V_RANDVAR 0x4 ' 5/20 chance of becoming sunny
if B_<= goto @becomesunny
compare V_RANDVAR 0xE ' 10/20 chance of becoming rainy
if B_<= goto @becomerainy
compare V_RANDVAR 0x11 ' 3/20 chance of thunderstorm
if B_<= goto @becomethunder
setweather W_CLOUDY ' 2/20 chance of remaining the same
return

#org @rainscript
compare V_RANDVAR 0x2 ' 3/20 chance of thunderstorm
if B_<= goto @becomethunder
compare V_RANDVAR 0xA ' 8/20 chance of rain stopping but remaining cloudy
if B_<= goto @becomecloudy
compare V_RANDVAR 0xC ' 2/20 of rain cutting out completely
if B_<= goto @becomesunny
setweather W_RAIN ' 7/20 chance of remaining the same
return

#org @thunderscript
compare V_RANDVAR 0xC ' 13/20 chance of reducing to rain
if B_<= goto @becomerainy
compare V_RANDVAR 0xF ' 3/20 chance of suddenly reducing cloudy
if B_<= goto @becomecloudy
setweather W_RAIN ' 4/20 chance of remaining the same
return

'----------------------------------------------------------------

#org @becomesunny
setvar v_WEATHER W_SUNNY
setweather W_SUNNY
return

#org @becomecloudy
setvar V_WEATHER W_CLOUDY
setweather W_CLOUDY
return

#org @becomerainy
setvar V_WEATHER W_RAIN
setweather W_RAIN
return

#org @becomethunder
setvar V_WEATHER W_THUNDER
setweather W_THUNDER
return

'----------------------------------------------------------------

#org @manual
setweather V_WEATHER
doweather
end

'----------------------------------------------------------------
I thought this would be a lot easier until I realized that FR/LG's scripting language doesn't have elseif statements -_-'
So I made some changes to the control flow and I think I've got it working pretty well. And, as an added bonus, I threw in a few lines of code which allow the player to manually override the script and specify a particular weather that they want on every map. As I'm writing this, I'm thinking that maybe I should expand that feature to allow for people to shut down the script entirely, as in: let the weather be dictated by what is written in each map's header. And, as I was writing that, I think I' figured out how to do it: as I was experimenting with things early on, I found that the script wasn't working at first. I eventually realized that the variable 'V_WEATHER' has to be initialized (I set it to '0x2') for the script to activate. So I guess that's how the hacker can turn it off (and back on by setting it to one of those constants). One last thing: in your outlining of the system, you used 0x1, 0x2, etc. for the various weather effects but I decided to use the values I found in AdvanceMap for them so that I could double the effectiveness of my constants by using them in my 'setweather' statements.
OK I'll shut up now ^_^

By the way, I really like this idea and I was wondering if you would give me permission to use something similar to it if I changed up the odds (I was planning on doing that anyway because there are a few slight tweaks I'd like to make based on my observations while debugging the script)?

Brother of Vrai

Last edited by colcolstyles; October 17th, 2009 at 06:16 PM. Reason: Typos, et al.
  #964    
Old October 17th, 2009, 06:12 PM
Trigger's Avatar
Trigger
Beginning Trainer
 
Join Date: Oct 2009
Gender: Male
Nature: Quirky
You should be able to. Its not copyrighted or anything
[ URL="http://www.pokecommunity.com/showthread.php?t=157236"][ IMG]http://i37.tinypic.com/5k59xz.png[/IMG][/URL]
  #965    
Old October 17th, 2009, 06:18 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Trigger View Post
You should be able to. Its not copyrighted or anything
Yeah but I don't know if Hiroshi Sotomura would appreciate it if I stole his idea. Though it technically wasn't his idea to begin with, I still would like to ask for his permission first.

Brother of Vrai
  #966    
Old October 17th, 2009, 06:44 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Sure, go ahead - it's why I released the structure to begin with. Someone else had already done it and demoed it on video, so all I really did was put it into plain language.

By the way, you're awesome. Bonus points for (though I did expect someone to think of it) utilising variables to implement it.


Quote:
Originally Posted by colcolstyles View Post
Yeah but I don't know if Hiroshi Sotomura would appreciate it if I stole his idea. Though it technically wasn't his idea to begin with, I still would like to ask for his permission first.
Quite frankly, I'm the one who should be asking you if I can "steal" that script. :P
(And with this vague question-sentence, I'm indeed asking for permission.)
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.

Last edited by Hiroshi Sotomura; October 17th, 2009 at 06:50 PM.
  #967    
Old October 17th, 2009, 07:07 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Hiroshi Sotomura View Post
Quite frankly, I'm the one who should be asking you if I can "steal" that script. :P
(And with this vague question-sentence, I'm indeed asking for permission.)
Sure, knock yourself out. After all, you're the one who gave me the idea.
Quote:
Originally Posted by Hiroshi Sotomura View Post
Bonus points for (though I did expect someone to think of it) utilising variables to implement it.
What, exactly, were you planning on using then? Variables were the first and only thing that came to mind when I was writing the script and even looking back, I still can't think of any other way to do it :\
Quote:
Originally Posted by Hiroshi Sotomura View Post
By the way, you're awesome.
Thanks ^_^
That means a lot coming from you.

Brother of Vrai

Last edited by colcolstyles; October 17th, 2009 at 07:46 PM. Reason: forgot the [/font]
  #968    
Old October 17th, 2009, 07:34 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Well actually, I meant to say that it's great that you directly utiliised the already-provided variables from the game. Since I was actually thinking of pre-assigning existing weather conditions and creating variables for them when I wrote the structure, the code ends up being cleaner if you initialise existing variables instead (not to mention, familiar for those who know the weather codes).
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.

Last edited by Hiroshi Sotomura; October 17th, 2009 at 07:40 PM.
  #969    
Old October 17th, 2009, 07:49 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Hiroshi Sotomura View Post
Well actually, I meant to say that it's great that you directly utiliised the already-provided variables from the game. Since I was actually thinking of pre-assigning existing weather conditions and creating variables for them when I wrote the structure, the code ends up being cleaner if you initialise existing variables instead (not to mention, familiar for those who know the weather codes).
I'm a little lost now but at least I can take solace in the fact that I help in one way or another :P

Brother of Vrai
  #970    
Old October 17th, 2009, 10:58 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
Another wall of text on NPCs, cameras and stuff:
http://www.rijon.com/2009/10/observa...able-characte/

Also colcolstyles, can I get the exact things you did to get the script working to begin with? :P
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.

Last edited by Hiroshi Sotomura; October 18th, 2009 at 03:42 AM.
  #971    
Old October 18th, 2009, 08:30 AM
Masterge77's Avatar
Masterge77
Jacen The Robot Floatzel
 
Join Date: Dec 2007
Location: Sinnoh Region
Gender: Male
Nature: Serious
Wow, I'm enjoying this game, but it's been a long time since the last beta.....
My DA account
Avatar made by MelNathea on DeviantART

The Owner of Sea Weasels, the club for Buizel and Floatzel fans!
  #972    
Old October 18th, 2009, 10:35 AM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Hiroshi Sotomura View Post
Also colcolstyles, can I get the exact things you did to get the script working to begin with? :P
Just compile the script and then create a 'setmaptile' (0x01) level script on two maps (I used Pallet Town and Route 1 for convenience). The script will activate upon switching between the two.
Oh yes and you'll also have to initialize the "current weather" variable in order for any possible to changes to occur. For testing purposes, I just gave the guy outside Prof. Oak's lab a script which sets 0x7000 to 0x2 ('sunny').
By the way, I also tested the entering/leaving house functionality and it works :)

Brother of Vrai

Last edited by colcolstyles; October 18th, 2009 at 11:05 AM.
  #973    
Old October 18th, 2009, 11:42 AM
Masterge77's Avatar
Masterge77
Jacen The Robot Floatzel
 
Join Date: Dec 2007
Location: Sinnoh Region
Gender: Male
Nature: Serious
I keep getting the 00003 error, It keeps saying:

ERROR CODE: 00003
Cannot save the game
The required save memory is not in use.
Please refer to http://rijon.nintendo-net.com/errorcodes.html for more info

I tried what it said, but it did not work at all, I tried setting the save type to "Automatic" and the flash memory type to "Flash 128K" but I still keep getting the error, I need help here!
My DA account
Avatar made by MelNathea on DeviantART

The Owner of Sea Weasels, the club for Buizel and Floatzel fans!
  #974    
Old October 18th, 2009, 03:42 PM
Hiroshi Sotomura's Avatar
Hiroshi Sotomura
 
Join Date: Sep 2003
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Lax
If you're not using VisualBoyAdvance I don't exactly have a solution for you.

@colcolstyles: Ah, a setmaptile script. I should consider making special deviations with that script to allow setmaptile to… plant puddles in certain areas. :P (I was already considering this, but I forgot about it as I rewrote this.)
Hiroshi Sotomura

That's Our Switch.
Pre-Service Teacher. Tech Guy. Web Designer. PokéCommunity Administrator. Wanderer. Novice Hockey Player. rijonAdventures Developer. #westjournal. Views are my own.

Last edited by Hiroshi Sotomura; October 18th, 2009 at 03:58 PM.
  #975    
Old October 18th, 2009, 05:35 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Hiroshi Sotomura View Post
@colcolstyles: Ah, a setmaptile script. I should consider making special deviations with that script to allow setmaptile to… plant puddles in certain areas. :P (I was already considering this, but I forgot about it as I rewrote this.)
That's genius! Of course, the script would have to be different for every map as the locations of puddles would vary from map to map. But that's a really neat idea :)

Also, I looked over your latest entry and the idea looks pretty cool. Only, I can't seem to think of any useful function for it :\
There was an issue in the old RHN that demonstrated how one could use 'writebytetooffset' to change the pointer to the player's OW in the RAM to another OW. Using that method would eliminate some of the glitches present with the '0x0B' behavior method, leading me to believe that the '0x0B' method doesn't have any benefits.

Though if you're interested I found out that when the player switches control to the "0x0B NPC", their range of movement is limited. Upon closer inspection, I discovered that the available walking range is dependent on the value in the 'Movement' byte in AdvanceMap. As I'm sure you're already aware, that byte controls how many tiles a NPC can move vertically and horizontally. For example, a value of 21 would give the NPC a range like this (behold the amazing ASCII art):
______
|_|_|_|
|_|_|_|
|_|X|_|
|_|_|_|
|_|_|_|

...with the X representing the original location. Anyways, I found that when you switch control from the player to the NPC, the player is limited to only those tiles. Everything else acts as though it's movement permission is '1'. Once I discovered that the Movement byte was the controlling factor, I deducted that the maximum movement range would be 17x17 ('0xFF' (counting the original location)) but if you set the Movement byte to 0x00, then the NPC's range becomes unlimited :O
So I guess that might be useful if you plan on using this.

As a helpful tip, you can use the command 'spritebehave wPeople# bBehaviour#' to change a NPC's behavior byte to '0x0B' at any time.

One thing which I was very disappointed to discover was that 'special 0x8E' doesn't mimic the effect of, say, opening and closing the bag. Nor does 'fadescreen', though (unlike 'special 0x8E') I didn't expect that work in the first place. So unless you can think of some other 'special' (or anything that might emulate the opening and closing of the bag) then we can't control when and where the player switches control to the NPC :\

On a final note, I've been experimenting with the possibility of having two "0x0B NPCs" on the same map but I haven't been able to draw any conclusions so far. Please, let me know if you make any discoveries of your own.

Edit: Whoa, I just found out something more. If you open the Bag again (after you've already "morphed" into the "0x0B NPC" (do you mind if I just start calling them BNPCs?)), you will retain control over that NPC but the OW graphic will change back to that of the Player's default OW. Interesting...

Brother of Vrai

Last edited by colcolstyles; October 18th, 2009 at 05:41 PM. Reason: whoa
Closed Thread
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 08:31 AM.

About Us
© 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.

Copyright
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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.