The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Reply
 
Thread Tools
  #1    
Old September 4th, 2011, 03:52 PM
♀ Eevee - Hacker's Avatar
♀ Eevee - Hacker
Lazy Hacker N00b
 
Join Date: Apr 2011
Location: Outside my girlfriends' window :3
Gender: Female
Nature: Bold

Advertise here
Hello all, and welcome to my slightly fail scripting guide to change the starter Pokémon in FR/LG. I'm quite the 'n00b' myself, so these guides will be brief, simple ways to fully hack/edit a rom into your own creation!


This guide is for the first pokemon you encounter: your starter.


First off, you’ll need a few tools. I use the following for this guide:

Advance Map (LU-HO's working on 1.95, I use 1.92 in the mean time)
A-Starter (hackmew's. technically all it does is change the picture and the Pokémon, not the script)
and I use pksvui (because it's so much faster to generate the "player found ____!")
-----------------------------------------------------------------------------------------------------------------------------------
To start off, find a clean rom you want to use and make a copy of it. In case you make a mistake, you'll always have a clean copy. Now, open up A-Starter and set the 3 Pokémon you want to be the starters on the rom you want to use. Make sure the rival gets changed too. You can set the level and what the Pokémon holds, I typically leave it at level 5 and give it an Oran berry.
This will just change the picture and give you the chosen Pokémon, but the script still says it's bulbasaur/squirtle/charmander!

Now, sure, you can leave it at that, but it doesn’t look very professional, or give players the idea that your hack will be very good.

So, to fix that, you open up A-Map. To edit the script through A-Map click the settings and click "Choose Script Editor". Find the folder for pksvui and when it asks about a colon or semicolon, or whatever, click "no".

Now, open up the rom you edited and go to Oak’s lab. Click on one of the pokèballs (any, it doesn’t matter) and click on “Open Script” in the right hand column.

All you need to do is scroll down to where Oak is talking about the 3 Pokémon and change the name and type. You can completely edit what he says if you really want to.
To make it say Pokémon (with the accent) put a “\” (backslash) before the e.
To say the player’s name, put in /v/h01
To say the Pokémon species is /v/h06
(Example: /v/h01 received the /v/h06!)
Now, you click “compile”. sometimes a little box will pop up. just scroll the little box that pops up all the way down. Find where it says something like this:
“#ORG: data
-> @start <-> 0x740001 (0x13 bytes)”

COPY THE NUMBERS AFTER THE “0x” and BEFORE THE PARENTHESES!
In this example it would be: 740001

Now, go back to A-Map and copy the script in the “Script Offset” after the ‘$’ sign.

If not, then you’ve successfully changed the starters. Test the rom to make sure it worked.

Any questions or problems? Reply to the thread
__________________

I am Eevee! Hear me meow :3
Reply With Quote
  #2    
Old September 18th, 2011, 06:57 AM
SupahNinja's Avatar
SupahNinja
Scripting Ninja
 
Join Date: Mar 2011
Gender: Male
Quote:
Originally Posted by ♀ Eevee - Hacker View Post
Hello all, and welcome to my slightly fail scripting guide to change the starter Pokémon in FR/LG. I'm quite the 'n00b' myself, so these guides will be brief, simple ways to fully hack/edit a rom into your own creation!


This guide is for the first pokemon you encounter: your starter.


First off, you’ll need a few tools. I use the following for this guide:

Advance Map (LU-HO's working on 1.95, I use 1.92 in the mean time)
A-Starter (hackmew's. technically all it does is change the picture and the Pokémon, not the script)
and I use pksvui (because it's so much faster to generate the "player found ____!")
-----------------------------------------------------------------------------------------------------------------------------------
To start off, find a clean rom you want to use and make a copy of it. In case you make a mistake, you'll always have a clean copy. Now, open up A-Starter and set the 3 Pokémon you want to be the starters on the rom you want to use. Make sure the rival gets changed too. You can set the level and what the Pokémon holds, I typically leave it at level 5 and give it an Oran berry.
This will just change the picture and give you the chosen Pokémon, but the script still says it's bulbasaur/squirtle/charmander!

Now, sure, you can leave it at that, but it doesn’t look very professional, or give players the idea that your hack will be very good.

So, to fix that, you open up A-Map. To edit the script through A-Map click the settings and click "Choose Script Editor". Find the folder for pksvui and when it asks about a colon or semicolon, or whatever, click "no".

Now, open up the rom you edited and go to Oak’s lab. Click on one of the pokèballs (any, it doesn’t matter) and click on “Open Script” in the right hand column.
All you need to do is scroll down to where Oak is talking about the 3 Pokémon and change the name and type. You can completely edit what he says if you really want to.
To make it say Pokémon (with the accent) put a “\” (backslash) before the e.
To say the player’s name, put in /v/h01
To say the Pokémon species is /v/h06
(Example: /v/h01 received the /v/h06!)
Now, you click “compile”. sometimes a little box will pop up. just scroll the little box that pops up all the way down. Find where it says something like this:
“#ORG: data
-> @start <-> 0x740001 (0x13 bytes)”

COPY THE NUMBERS AFTER THE “0x” and BEFORE THE PARENTHESES!
In this example it would be: 740001

Now, go back to A-Map and copy the script in the “Script Offset” after the ‘$’ sign.

If not, then you’ve successfully changed the starters. Test the rom to make sure it worked.

Any questions or problems? Reply to the thread
Pretty useful, but I suspect many people know how to do this already.

Also, I think people prefer to read tutorials that have some pictures, although you did a good job of explaining things without those.

And to say the player's name, you could do /v/h01, or you could just do [player].
Either way, it would display the player's name in-game, but [player] makes the script a bit more readable.
(But [player] might only be in XSE).
__________________
SupahNinja

My feelings on
ROM hacking:

-I like scripting a lot.
-Mapping is almost as fun.
-Hex editing isn't bad at all.
-I do NOT enjoy spriting.
-I've been meaning to start learning ASM for a while, but I don't ever seem to have enough time.

Favorites:

-My favorite color is green.
-My favorite type is fire.
-My favorite Pokémon are:
Growlithe, Charizard, Mew,
Giratina, Haxorus, and Aggron.
SupahNinja
Reply With Quote
  #3    
Old September 23rd, 2011, 08:41 AM
RomHacker23's Avatar
RomHacker23
Beginning Trainer
 
Join Date: Sep 2011
Gender: Male
This is a very good tutorial. But, I also agree with ^...pictures are always nice.

My question is...couldn't you do this same thing with A-Text, by changing the text so it matches the Pokemon you changed the starters to? Or would that just be the "topping on the cake" so-to-speak?
__________________
Pikachu - I'm hungry.
Raichu - What would you like to eat?
Pikachu - An Oran Berry please.
Raichu - Oh...
Pikachu - What?
Raichu - If you want an Oran Berry then you'll have to ask Snorlax for
one.
Pikachu - On second thought, I'm not hungry anymore.

Reply With Quote
  #4    
Old December 20th, 2012, 05:05 PM
pokemon21223's Avatar
pokemon21223
Unhatched Egg
 
Join Date: Nov 2012
Gender: Male
too dumb you can just use advance text
__________________
Eeveelution Team
UNBEATABLE
Reply With Quote
  #5    
Old December 21st, 2012, 04:37 PM
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Why would someone who's just starting out and needs this tutorial want to use A-Text? They'll have to learn how to script sometime, and looking at one that would be super daunting to a beginner is just the trial by fire many need.

This tutorial is fine, but I'm certain that all this can be done with just XSE and editing the script. My one suggestion would be to format it a bit better so it's easier to read. Using the default text color would help for starters (pun!). It was very clear and concise though, so awesome job!
Reply With Quote
  #6    
Old December 27th, 2012, 05:00 AM
vitamurmillo's Avatar
vitamurmillo
Unhatched Egg
 
Join Date: Mar 2012
I used A-starter and PKSV through A-map to edit everything and it was simple for someone with no scripting experience.
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 10:29 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.