The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Changing Rival's Name? (https://www.pokecommunity.com/showthread.php?t=327784)

GreyBidoof May 31st, 2014 9:32 AM

Changing Rival's Name?
 
Is there a tool/way to change your rival's name in fr/lg later in the game? This would be extremely helpful for me.

Kenny1 May 31st, 2014 10:02 AM

Well, you can edit the default names, you can force a name change, you can just instead of:
Code:

[Rival]: Hi!


You can type:
Code:

Chris:Hi!



GreyBidoof May 31st, 2014 10:08 AM

Yes, but I want to change the default rival's name without editing any of the scripts.

Kenny1 May 31st, 2014 10:18 AM

So is it the default name, or the name that the player defined in the beginning, if it is the former one, and you want to change it to your own one, without editing scripts, then you should use A-Text, if it is the latter, I have a vague idea, but am not sure if it will work.

GreyBidoof May 31st, 2014 10:46 AM

The latter. I'm willing to try anything.

HidoranBlaze May 31st, 2014 11:22 AM

There is an ASM routine Jambo51 made that allows you to name your rival in the overworld. (link: http://www.pokemonhackersonline.com/showpost.php?p=126364) You could use this to change your rival's name midway.
If you don't know how to insert an ASM routine, there should be a tutorial floating around here somewhere.
EDIT: Since your rival is already named, you probably won't need the second routine Jambo51 posted.

GreyBidoof May 31st, 2014 11:30 AM

Quote:

Originally Posted by HidoranBlaze (Post 8278524)
There is an ASM routine Jambo51 made that allows you to name your rival in the overworld. (link: http://www.pokemonhackersonline.com/showpost.php?p=126364) You could use this to change your rival's name midway.
If you don't know how to insert an ASM routine, there should be a tutorial floating around here somewhere.
EDIT: Since your rival is already named, you probably won't need the second routine Jambo51 posted.

Thanks! Since I know absolutely nothing about ASM, I will try and look up some info on it. Even better, if someone would be willing to help me insert the routine...... send me a PM :)

HidoranBlaze May 31st, 2014 12:08 PM

Quote:

Originally Posted by GreyBidoof (Post 8278540)
Thanks! Since I know absolutely nothing about ASM, I will try and look up some info on it. Even better, if someone would be willing to help me insert the routine...... send me a PM :)

It'd be better if you try it by yourself. Don't rely on others to do things for you. Doing things yourself will help you learn. Here, I'll give you a tutorial.
1. Get Hackmew's compiler. Just search Hackmew ASM on google, find his tutorial, and download the thumb.zip file he put in his tutorial.
2. Copy Jambo51's routine into Notepad, and add an extra blank line at the bottom using Enter. (You don't have to do this, but it does prevent that error line from popping up.)
3. Save the file as an asm file. Basically, when your computer prompts you to save, change the file type to All files, and make sure your file's name is [filename].asm
EDIT: make sure your asm file is in the same folder where you put hackmew's compiler.
4. Drag your asm file into the thumb.bat file, and your bin file will be created.
5. Open your bin file using a hex editor. (I prefer HxD) Copy the content that shows up, and open up your Firered rom. Find free space (where there's a bunch of FF bytes, I'd recommend going to 0x800000 and searching from there), and paste your content into free space. If you're using HxD, make sure you use control B, not control V. Take note of the offset you pasted your content at.
When you're making your script to name your rival, use the command callasm 0x[offset of content +1]. And make sure you follow Jambo51's additional instructions in that link I gave you.

GreyBidoof May 31st, 2014 1:42 PM

Wow, thanks! I will try this and let you know if I can get it to work.


All times are GMT -8. The time now is 9:12 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.