The PokéCommunity Forums  

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

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #23401    
Old December 26th, 2012, 11:06 PM
Brane's Avatar
Brane
-
 
Join Date: May 2011
Location: Melbourne, Australia
Age: 20
Gender: Male
Quote:
Originally Posted by Jcool View Post
I have another question. The pickup ability gives a pokemon a 10% chance to be holding an item after a battle even if the pokemon is not used in the battle. The items it has a chance of holding are random but are defined, and are different between R/S and Fr/Lg. Is there any way to change what items the pickup ability can give?
I may not be entirely right. But considering there isn't a program that can do this for you, you'd have to find the HEX/ASM routines (whichever it be) that contain the information for this, and then you'd probably just have to change the item offsets for them to which ones you want. But unless the pick up ability is a major factor in your hack, I wouldn't really worry to much about it as it's not something people look into when playing a rom hack.
  #23402    
Old December 27th, 2012, 12:51 AM
SchokoInc
Unhatched Egg
 
Join Date: Nov 2012
@miksy91
Thanks for the ASM tutorial :D
It still doesn't help me how to change class-specific music though :(
  #23403    
Old December 27th, 2012, 01:05 AM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by SchokoInc View Post
@miksy91
Thanks for the ASM tutorial :D
It still doesn't help me how to change class-specific music though
It's just the thing that will help you achieve doing it. Once you handle the stuff explained in that site, you've got to experiment and look for the routine used for loading the music for different trainer classes.
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations
  #23404    
Old December 27th, 2012, 10:45 AM
Renegade's Avatar
Renegade
Time for real life...
 
Join Date: Nov 2011
Location: United States
Gender: Male
Nature: Careful
I have a question. Hope someone can answer.

Pokemon Ruby, Sappy: What sound track is the "Pokemon Center Healing Sound"?
  #23405    
Old December 27th, 2012, 01:50 PM
thescourgex2's Avatar
thescourgex2
Like a sir!
 
Join Date: Apr 2011
Location: Canada
Gender: Male
Nature: Relaxed
I was wondering if there is any way to change the tm that a gym leader gives you in pokemon fire red?
__________________



Go Habs Go!
  #23406    
Old December 27th, 2012, 02:00 PM
Gianlucca
Unhatched Egg
 
Join Date: Dec 2012
Gender: Male
I'm trying to give pokemon fire red the same start as pokemon yellow (professor oak battles a pikachu, catch it and leads you to his lab) is it possible? if so, can you provide me some commented code/tut? Thanks.
  #23407    
Old December 27th, 2012, 03:35 PM
Brane's Avatar
Brane
-
 
Join Date: May 2011
Location: Melbourne, Australia
Age: 20
Gender: Male
Quote:
Originally Posted by thescourgex2 View Post
I was wondering if there is any way to change the tm that a gym leader gives you in pokemon fire red?
You'd just have to edit the gym battle script and alter the line which has the item code by swapping out the item number of the TM they currently give you to a different one. I don't have the list on me right now, but you'd probably be able to find it by searching through one of the larger scripting tutorials. Google can also be your best friend.

Quote:
Originally Posted by Gianlucca View Post
I'm trying to give pokemon fire red the same start as pokemon yellow (professor oak battles a pikachu, catch it and leads you to his lab) is it possible? if so, can you provide me some commented code/tut? Thanks.
As far as I know, I don't think there is a way to implement your own AI battle scene. You could edit the man with the Weedle and change that to a Pikachu through ASM, or you could swap Weedle and Pikachu's sprites and stats and essentially all their data in the Pokedex for an easier way. But no one is going to write you a code for this.
  #23408    
Old December 28th, 2012, 08:36 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote:
Originally Posted by Jcool View Post
3. Does anyone know how to stop the PC from healing your Pokemon when you deposit them?

Thanks to anyone who can answer these.
I don't know anything about the first two you posted, but I just learned that it would require some serious ASM hacking to do #3.

From Bulbapedia:
Quote:
Location

A Trainer's team starts at the following addresses in the GBA's RAM (for US games?):
Ruby: 0x03004360
Sapphire: 0x03004360
Emerald: 0x02024190, 0x020244EC for US games
FireRed: 0x02024284
LeafGreen: 0x020241e4
Additionally, a wild Pokémon or an opponent's Pokémon will begin at:
Emerald: 0x02024744

There are 6 Pokémon per team, so the whole team continues for 600 bytes afterward.
This structure is used to save data on Pokémon stored in the player's team. The structure for Pokémon saved in the PC stops after the data field, making it only 80 bytes long.
This explains why Pokémon injured by status ailment will cure themselves when put in the PC. It also applies to stats and level, which are recalculated based on Experience.
Thus, there are also 33600 (14*30*80) bytes stored somewhere else in the GBA's RAM to save data on Pokémon in the PC.
When the GBA's saved state (including memory contents) are unzipped into a 740,000+ byte file and viewed, the 14 Boxes of 420 Pokémon are stored in the general region of $038000 $040000.
This just shows that the reason why your Pokémon heal is due to fact that the game just doesn't save those values for Pokémon in your PC.

In order to have it work like in Red where the Pokémon in you box would not heal upon deposit, you would have to completely change the way the game saves. I just started learning ASM and such so I can't help you any more.

Good luck on you other ones though!
  #23409    
Old December 28th, 2012, 09:06 AM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
Quote:
Originally Posted by Jcool View Post
1. Does anyone know how to change the text that is displayed once you've captured a pokemon and if it's going to be sent to a PC? I don't know the exact text it says, but can you change the text that says something like "Your party is full! Pokemon was sent to Box number here in your PC instead."

2. Does anyone know how to change the events that happen if you black out?

3. Does anyone know how to stop the PC from healing your Pokemon when you deposit them?

Thanks to anyone who can answer these.
For number 1 you could use thingy and do some searching.[Link]

I don't know about number 2, but you could try to look into it with VBA-SDL-H. Very complicated though. You'd basically need to set a bunch of break points and trace things back through the rom.

Number 3 could would require (as stated above) a good amount asm.
You could fake it however by copying those hundred or so bytes into an unused part of the ram and then copying them back out.
__________________
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #23410    
Old December 28th, 2012, 10:19 AM
Andrut's Avatar
Andrut
Collecting dust since 1898
 
Join Date: Dec 2009
Location: Warsaw, Poland
Age: 16
Does anyone have a list of ACTUAL cry pointers for Gen. III Pokémon in Fire Red, the ones that would play correctly in the ROM when given to another species?
The pointers that are in the Pokémon Game Editor and Cry Pointer Repointer play different cries, for example when I give Pidgeot Wurmple's cry it plays as Carvanha's.
  #23411    
Old December 28th, 2012, 11:08 AM
Slike's Avatar
Slike
Unhatched Egg
 
Join Date: Sep 2011
Gender: Male
How does one edit trainer and item sprites in Emerald? The plug-ins for NSE don't support Emerald, so I'm at a loss on how to put some sprites into the game.
  #23412    
Old December 28th, 2012, 12:34 PM
Eveveelution's Avatar
Eveveelution
Unhatched Egg
 
Join Date: Dec 2012
Gender: Male
Hi I was wondering what software would I use to edit the intro to the game like where it says fire red, and there is a charizard.

Also how do you edit the script of a trainer after you finish the battle.
  #23413    
Old December 28th, 2012, 12:44 PM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
Quote:
Originally Posted by Slike View Post
How does one edit trainer and item sprites in Emerald? The plug-ins for NSE don't support Emerald, so I'm at a loss on how to put some sprites into the game.
Use (U)NLZ-GBA. It's pretty much a universal tool that can find almost any image.
__________________
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #23414    
Old December 28th, 2012, 05:17 PM
shinyabsol1's Avatar
shinyabsol1
Pokemon DarkJasper!?
 
Join Date: Aug 2010
Gender: Male
Nature: Calm
I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.

There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.

Any help would be appreciated.
  #23415    
Old December 28th, 2012, 07:41 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
I am working on a set of ASM routines that will be able to check what species your lead Pokemon is. I'm pretty new to it, so I need a little help. I dissected the Pokemon data and found how to unencrypt it, with the help of Bulbapedia, but I need a way to find the modular 24 of a reverse dword (the PID).

Let's say my Pokemon's PID is written out in the RAM as 23 45 67 34. I need a way to find the modular 18 (the 24 needs to be in hexadecimal) of 34 67 45 23 while starting out with 23 45 67 34.

So, I basically want to load the original PID into r0, reverse it, find the modular 18, and then write that to LASTRESULT. Any help would be greatly appreciated.


edit: I've seen in different places the command "bswap". Would this work?
  #23416    
Old December 28th, 2012, 07:49 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by karatekid552 View Post
I am working on a set of ASM routines that will be able to check what species your lead Pokemon is. I'm pretty new to it, so I need a little help. I dissected the Pokemon data and found how to unencrypt it, with the help of Bulbapedia, but I need a way to find the modular 24 of a reverse dword (the PID).

Let's say my Pokemon's PID is written out in the RAM as 23 45 67 34. I need a way to find the modular 18 (the 24 needs to be in hexadecimal) of 34 67 45 23 while starting out with 23 45 67 34.

So, I basically want to load the original PID into r0, reverse it, find the modular 18, and then write that to LASTRESULT. Any help would be greatly appreciated.


edit: I've seen in different places the command "bswap". Would this work?
There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?
__________________
あなた は しきしゃ です
わたし は ばか です
  #23417    
Old December 28th, 2012, 10:49 PM
annikaprue's Avatar
annikaprue
Unhatched Egg
 
Join Date: Dec 2012
Location: Verdanturf Town, Hoenn
Gender: Female
Nature: Lonely
I'm a beginner on hacking here, and I've been searching for a solution everywhere for my Advance Mart, PokeTronic, A-Tack problem. I've downloaded like four or three of each from different websites and links and it still says I'm missing or having an invalid file. I found out that Windows7 isn't compatible with some hacking tools, but is there a way I can fix this? Advance Map worked fine for me and so did some others, yet I can't continue hacking until this problem has a solution. If there's no possible way out of this, I can just use another computer, but I can't do that until I find out that this dead end is really a dead end. Thanks.
  #23418    
Old December 28th, 2012, 10:54 PM
TM87's Avatar
TM87
Unhatched Egg
 
Join Date: Dec 2012
Gender: Male
I'm having issues connecting soul silver to wifi any suggestions
  #23419    
Old December 29th, 2012, 01:18 AM
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Quote:
Originally Posted by shinyabsol1 View Post
I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.

There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.

Any help would be appreciated.
JPAN's hacked engine disables all behaviour byte ASM/scripts. You need to manually re-add the necessary scripts or ASM.
__________________
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
  #23420    
Old December 29th, 2012, 07:17 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote:
Originally Posted by TM87 View Post
I'm having issues connecting soul silver to wifi any suggestions
You do realize this is a Rom hacking simple question thread, right? So, next time, try a different thread, but I guess everyone does deserve an answer. If you're on an original DS, I've found that only basic WEP security works. If you're on a newer DS, I can't help you. If your on an emulator, which makes sense as Rom Hacking is a category of emulation, I don't believe there is a way to connect to wifi, not yet at least. I've been seeing different GBA servers and such, but none for DS.



Quote:
Originally Posted by Darthatron View Post
There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?

The way I was planning on doing it, it could be ported to any game just by changing the offsets. However, I had first wanted to implement it into Ruby.

Last edited by karatekid552; December 29th, 2012 at 02:36 PM.
  #23421    
Old December 29th, 2012, 03:00 PM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by shinyabsol1 View Post
I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.

There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.

Any help would be appreciated.
Maybe those are script in behavior bytes... :/ Maybe this could help; http://www.pokecommunity.com/showthread.php?t=211598 ;)
__________________
  #23422    
Old December 29th, 2012, 03:42 PM
shinyabsol1's Avatar
shinyabsol1
Pokemon DarkJasper!?
 
Join Date: Aug 2010
Gender: Male
Nature: Calm
Quote:
Originally Posted by Jambo51
JPAN's hacked engine disables all behaviour byte ASM/scripts. You need to manually re-add the necessary scripts or ASM.
I suspected that this might be the case. Adding the surf script back in wasn't hard, but there is one annoying thing. If you click on a water tile with the re-inserted surf script, but DON'T have a pokemon with surf in your party, it still makes the clicking noise. Is there a way to stop this?

Thanks.
  #23423    
Old December 30th, 2012, 03:41 PM
Herpahermaderp's Avatar
Herpahermaderp
I liek Mudkipz
 
Join Date: Jul 2012
Location: USA
Age: 16
Gender: Male
Nature: Relaxed
Send a message via Skype™ to Herpahermaderp
Quote:
Originally Posted by Eveveelution View Post
Hi I was wondering what software would I use to edit the intro to the game like where it says fire red, and there is a charizard.

Also how do you edit the script of a trainer after you finish the battle.
You use unLZ, there are plenty tutorials on how to change the Charizard in the Tutorials section.
__________________
Y: Roak || 1177-8023-4387
  #23424    
Old December 30th, 2012, 08:54 PM
Rain Dancer's Avatar
Rain Dancer
Wanderer
 
Join Date: Dec 2012
Location: Norway
Age: 23
Gender: Female
Nature: Calm
I've been all day at this one..


Anyone know how to edit RLCN pallete files form a pokemon BW/B2W2 rom? It's just a few color lines out of the 256 colors that it has. Some colors are supposed to stay as they are.

Some programs just screw with the color order. Others, like Console tool 3.0, can't seem to save the edits, even though they display well.. And I don't think I have the time to go hex and surf through all those 256 colors.


And my second question.. I want to change some textures and palletes in BMD0 3D files from BW. Any program out there that can do this?

That's all.. x)
  #23425    
Old December 31st, 2012, 07:52 AM
BlueOverRed
Unhatched Egg
 
Join Date: Dec 2012
Gender: Male
Hello everyone. I'm recently interested in just one aspect of editing a Pokemon Blue ROM. Ever since I was a kid I thought that the character sprite for Blue (Gary, your Rival, etc.) was always a lot cooler than Red (your default character). I would like to know if it is possible for me to swap these characters' sprites so that I can play the game as the sprite of Blue and my rival will be the sprite of Red?

I hope I explained what I am looking to do well enough. Your time is appreciated. Any details would be helpful as I am new to ROM hacking.
Closed Thread
Quick Reply

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



All times are UTC -8. The time now is 01:50 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.