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.

Reply
 
Thread Tools
  #1    
Old October 28th, 2009 (09:00 PM). Edited April 15th, 2010 by hashtag.
Gl!tch's Avatar
Gl!tch
AFK
 
Join Date: Aug 2009
Location: California
Age: 25
Gender: Male
Nature: Quiet
Send a message via AIM to Gl!tch
In this tutorial I will teach you all to create new trainers.

You will need:
Spoiler:

Hackmew's Advance Trainer
PKSV
Advance Map


Step 1:
Spoiler:

Open your rom in advance trainer.
once it is open you will see next to file "trainer"
click trainer and then click "advanced - edit trainer amount"
for 1- extra trainers, put 2c0 as the new amount.
then for the new offset, put the suggested one.

after you hit ok, scroll down to the bottom of your trainers.
you will notice all of them are blank, and the names can't be edited.
go to the trainer above those and click on him. his name is "EUGINE"
on the top right where it says choose action, choose "export"
then click ok. save as whatever.

go to your first blank slot and click "import" and then ok.
then click on the "-->pokemon data"
and click the "repoint" button
use the suggested offset for your new offset.
now edit his name and give him pokemon, and your done.


step 2:
Spoiler:

open PKSV and then open your rom in it.
then go to "tools - script generator - trainer battle"
for the number of trainer, make it one of the new ones from
advance trainer. (such as 2B6)
you will place it in there as "0x2B6"
after you change the text on there to say what you want it to,
look up at the top of PKSV and click the gear next to the play button
"compile"
it will then give you two windows. look for the one that says "dynamic offsets"

look for where it says @begin and look at that last number
if this is a fresh rom, then your number should be "740001"

jot that number down or just remember it. and your finished with this prog.


Step 3:
Spoiler:

open advance map. then open your rom.
Im going to use the starter town in this example.
click "normalemaps" then click "LITTLEROOT TOWN"
once it opens, click the events tab. then on your right down on the bottom where it says "event manager" add one more "people" then click
"change events"

you will notice a person or a "p" box just appeared in the top left corner,
drag them to your desired location.

then using the input areas on the right, give him/her a
Sprite no:
Move Type:
click the trainer box
give them a view range. (i suggest 0003)

and for the script offset, use the number you jotted down.
just put a "$" symbol before it.
and click save. now run your rom and try it out.


If there are any problems or things I forgot to mention, please let me know and I will fix it.

Known bugs
Spoiler:

There is a problem with the new trainers name. it is only 1 letter long.
no clue how to fix this. any help would be greatly appreciated.
Reply With Quote
  #2    
Old December 11th, 2009 (02:46 AM).
Black Goat's Avatar
Black Goat
Beginning Trainer
 
Join Date: Mar 2008
Gender:
How do I change the picture of the trainer??
Reply With Quote
  #3    
Old December 11th, 2009 (02:56 AM).
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Black Goat View Post
How do I change the picture of the trainer??
You need to make the sprite yourself and insert it over the old trainer in UNLZ Gba
__________________
gone.
Reply With Quote
  #4    
Old December 12th, 2009 (12:50 PM).
Banjora Marxvile's Avatar
Banjora Marxvile
Oui Oui Si Si Ja Ja Da Da
 
Join Date: May 2008
Age: 20
Gender: Male
Nature: Lonely
He hasn't been on for over a month, so unless someone makes a new one with pics, you have to just follow the tut without visualisations, unless he returns.
__________________

Man of Steel
He harbors no shame
Got cut a raw deal
But he holds no blame
Gone and forgot to feel
Numb for pretentious pain
As he spins the wheel
There's no loss nor no gain...


Nerves o
f Steel
He must remain
Even if it kills
To remember my name
A view to a thrill
Like Campari and Champagne
I'm on the rocks
Please tell me, What Is My Name?

Reply With Quote
  #5    
Old December 13th, 2009 (09:54 PM).
12345's Avatar
12345
Sky
 
Join Date: Aug 2007
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to 12345
Quote:
no pictures ? please edit picture (
It's easy. Use A-Trainer lastest version, ==>Trainer==> advanced - edit trainer amount
Input your amount you want ( hex number), and search free space A-trainer Gave you (use FSF...)
__________________


Favorite Pokemon Game: GBA-Emerald, DS-Platinum, Dungeon-Red/Blue, Ranger - Guardian Signs
Reply With Quote
  #6    
Old May 16th, 2010 (10:52 AM).
Elite Trainer Red's Avatar
Elite Trainer Red
Beginning Trainer
 
Join Date: Apr 2010
Location: Mt.Silver
Gender: Male
Nature: Adamant
thanks this tut really helped,
who needs pictures?
it was really simple and well explained keep up the good work
__________________
This signature has been disabled.
Reason: Spoilers in signature
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #7    
Old June 5th, 2010 (02:52 AM).
haack16's Avatar
haack16
MYTHBUSTER!
 
Join Date: May 2010
Location: Norway, Europe
Gender: Male
Nature: Relaxed
Does this work on Fire red?
Reply With Quote
  #8    
Old June 5th, 2010 (08:54 AM).
Shiny Quagsire's Avatar
Shiny Quagsire
I like .short's because they're comfy and easy to wear.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Quote:
Originally Posted by haack16 View Post
Does this work on Fire red?
Most likely. They probably just used ruby for this tutorial.
__________________



Reply With Quote
  #9    
Old June 15th, 2010 (01:57 PM). Edited June 20th, 2010 by Juggis.
Juggis
Beginning Trainer
 
Join Date: Jun 2010
Gender: Male
Hi, having trouble on making a trainer who battles you when he spots you. If the "trainer" (click the trainer box) check box is checkd it doesnt work and bugs, if not checkd the trainer works but i have to speak to it if i want to battle.
Using fire red, advance map 1.9.2 and A-trainer.

script incase you want to check it

#org $routetobeta1
lock
faceplayer
trainerbattle 0x00 0x01 $see $win
$see 1 = Yo Dog, lets fight!
$win 1 = Your too good!
message $after
$after 1 = Someday ill beat you!
boxset 6
release
end

Thanks :D

Edit:
If i get close to the trainer so that he doesnt notice me and talk to him (trainer box checkd) the battle starts normally but after the battle when hes facing me he suddenly gets the bubble with a ! over his hed and he starts bugging and gliching. He doesent say what hes suppousd to say, its some cind of gibberish, and it never stops D:

Edit 2:
Finally i got the problem solved! I tought that my script was perfect, but i didnt know that i souldnt have "lock" and "faceplayer" commands when making a battle like that.
Script should be:
#org $routetobeta1
trainerbattle 0x00 0x01 $see $win
$see 1 = Yo Dog, lets fight!
$win 1 = Your too good!
message $after
$after 1 = Someday ill beat you!
boxset 6
release
end
Reply With Quote
  #10    
Old July 28th, 2010 (02:45 PM).
keenan887's Avatar
keenan887
The Omnipotent
 
Join Date: Mar 2008
Location: The depths of The Abyss
Gender: Male
Nature: Timid
for the suggested one, it says N/A and i cant click OK help please.
__________________
Reply With Quote
  #11    
Old August 6th, 2010 (08:54 AM).
ibringdoom's Avatar
ibringdoom
Beginning Trainer
 
Join Date: Jul 2010
Gender: Male
Quote:
Originally Posted by keenan887 View Post
for the suggested one, it says N/A and i cant click OK help please.
I have the exact same problem
Reply With Quote
  #12    
Old August 6th, 2010 (02:33 PM).
Mr. X's Avatar
Mr. X
For Money
Community Supporter
 
Join Date: Oct 2006
Location: London
Age: 21
Gender: Male
Nature: Quiet
Eh, i get new trainer and script but battle starts and i just get a red screen.
__________________
Follower of Carlinism since 2008.

Come play Runescape
Reply With Quote
  #13    
Old August 10th, 2010 (02:19 PM). Edited August 11th, 2010 by timaeus222.
timaeus222's Avatar
timaeus222
MegaMan/Pokemon ROM Hacker
 
Join Date: Aug 2010
Gender: Male
Nature: Relaxed
Is this tutorial just for Pokemon Ruby, or would it also work for games such as Sapphire/Emerald/FireRed/Leafgreen?

FYI, I'm not a "noob". It's an honest question.

EDIT: Yes, someone did ask if it worked for FireRed. My question can be considered a expansion, I guess.

EDIT 2: No answer needed, I tried it on FireRed and it works perfectly fine. In fact it should work for all GBA Pokemon games!
__________________
~Timaeus.EXE

http://m-pcr.co.cc/
http://youtube.com/timaeus22222

Working on FireRed eXtreme Patch [hard mode with tile edits and extras]

Reply With Quote
  #14    
Old August 10th, 2010 (02:31 PM).
Magby's Avatar
Magby
Beginning Trainer
 
Join Date: Aug 2010
Location: Chicago Suburbs
Gender: Male
Nature: Calm
Quote:
Originally Posted by timaeus222 View Post
Is this tutorial just for Pokemon Ruby, or would it also work for games such as Sapphire/Emerald/FireRed/Leafgreen?

FYI, I'm not a "noob". It's an honest question.

EDIT: Yes, someone did ask if it worked for FireRed. My question can be considered a expansion, I guess.
Not sure about Emerald, but I'm pretty sure it will work with the rest.
__________________
Reply With Quote
  #15    
Old August 11th, 2010 (08:59 PM).
timaeus222's Avatar
timaeus222
MegaMan/Pokemon ROM Hacker
 
Join Date: Aug 2010
Gender: Male
Nature: Relaxed
Thanks for answering, although I finished my hack of FireRed now :D
__________________
~Timaeus.EXE

http://m-pcr.co.cc/
http://youtube.com/timaeus22222

Working on FireRed eXtreme Patch [hard mode with tile edits and extras]

Reply With Quote
  #16    
Old June 28th, 2011 (04:22 AM).
Xz.exe
Beginning Trainer
 
Join Date: Jun 2011
Gender: Male
hey i finish it all and it work but there one bug when i battle other trainer i got bug, the bug is when i battle he/her give me bugging talk, do anyone know how to fix this? im using pokemon emerald
Reply With Quote
  #17    
Old October 22nd, 2011 (10:05 AM).
ManInTheMask's Avatar
ManInTheMask
Pro Hacker
 
Join Date: Aug 2011
Gender: Male
Believe it or not, the bug that states that the trainer's name must be one letter didn't happen to me at all in advance trainer.
Reply With Quote
  #18    
Old November 25th, 2011 (01:57 PM).
swiftgallade46's Avatar
swiftgallade46
Legend
 
Join Date: Nov 2011
Location: Baltimore, MD
Gender: Male
Nature: Naive
how could this be applied to change an already existing NPC into a trainer?
__________________
GALLADE FTW FOREVER!
and ever
and ever
and ever
...
Reply With Quote
  #19    
Old March 1st, 2012 (03:03 AM).
someone from tk 6D's Avatar
someone from tk 6D
Beginning Trainer
 
Join Date: Feb 2012
Gender: Male
Does this work with emerald?
__________________
Never,never,never,give up.
It doesn't matter if you try and fail, and try again. It does matter if you try and try, and fail to try again.
By charles kettering

Visit gamemakers:www.gamemakers.longluntan.net!
Reply With Quote
  #20    
Old March 3rd, 2012 (05:21 PM).
bwburke94's Avatar
bwburke94
NEW RUN STARTS AUGUST 1! 000/721
 
Join Date: Mar 2010
Location: Massachusetts
Age: 20
Gender: Male
Nature: Relaxed
Hooray for unnecessary bump!
__________________
YouTube | Twitter | Facebook | ??? (Coming soon!)

3DS Friend Code: 0645-5804-7602

I'm just a little crazy sometimes.
OK, a lot crazy all the time.

My romhacks and Essentials games are on hold until Essentials is updated.
Reply With Quote
  #21    
Old March 22nd, 2012 (08:06 AM).
nf878810
Beginning Trainer
 
Join Date: Dec 2011
Gender: Male
Hey guys, got a question, if this isnt the right place, sorry

anyways, when i go to generate the script, i use $0x2E7 (created trainers ID) and then compile, copy, paste to advancemap

when i test the rom, the trainer that appears, is an unnamed trainer with the class swimmer (ID: 010)

any idea on how to get 2E7 to work?
I'm using Firered by the way, and thanks!
Reply With Quote
  #22    
Old July 10th, 2013 (04:36 PM).
Criminon's Avatar
Criminon
 
Join Date: Aug 2012
Gender: Male
LOL! Here I was looking for a guide for this, and I wrote one... Man, I need to get my head on straight. Thanks me for the awesome guide.
Reply With Quote
  #23    
Old January 31st, 2014 (09:01 PM).
madmaz
 
Join Date: Jan 2014
Gender: Male
The issue with "one letter trainer name"
I had this, turns out you just gotta press backspace and delete all the spaces that are in the name

Such a simple thing, but it took me 15 minutes to figure out
Reply With Quote
  #24    
Old March 17th, 2014 (07:17 PM).
CyanCerulean's Avatar
CyanCerulean
Adorables
 
Join Date: Mar 2014
Location: Coloradder
Gender: Male
Nature: Lax
Okay, so I hate to bump this, but I have a problem that I honestly ddo not understand at all.

So here's the deal, the first time I went through this, it worked perfectly fine, unfortunately I could not change the sprite, but I fixed that.

Now that I try again, with a fixed sprite, it just doesn't work for some reason. I get as far as entering in "2c0" into the box and then entering in the old offset, since a new one isn't given, (this shouldn't be the problem, I did this same thing with the original copy) and then hit OK. All is well, but when I scroll down to the bottom, EUGENE isn't copied, it's just 2B6 with a blank space next to it.

Can somebody please, PLEASE figure this out? I have tried loading it up in a brand new ROM, and it just does the same thing! It might be the program, I'm not sure, but help!
__________________
Tom Baker was the best one.


ROM Hacks I've worked on:

Reply With Quote
  #25    
Old June 22nd, 2014 (05:23 PM).
TNTftw21
 
Join Date: Jun 2014
Location: Ellesméra, Du Weldenvarden
Gender: Male
Can this be updated to AdvanceMap 1.0.9? The Trainer ID is to long for AdvanceMap.
Reply With Quote
Reply
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 04:07 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.