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 September 3rd, 2010, 02:49 AM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Hi guys, this is my first tutorial so sorry for mistakes Also I'm sorry for double posting, but when I first submitted this I found out that I was in the wrong forum So please delete my other post. So sorry :'(

Anyways, like the title says, it's about Pokemon Trainer Battle Scripting. So far I only know it works for HG/SS. If you want to use in Platinum or D/P, feel free to try and please tell me if it works.

On to the tutorial. Here are the tools you need:
Spoiler:
PPRE
A Pokemon HeartGold or SoulSilver Rom(not sure if it's workable in patched roms)
DeSmuME
A Lua Script. File at Attached Files.


Once you've downloaded the things needed, put your HG/SS rom into PPRE's folder. Then open up PPRE and click on choose rom. Select your rom and click Set Rom.



Then command prompt should appear. PPRE is extracting your rom now.



Once PPRE has finished, click on Trainers.



Once you opened up Trainers, select a random trainer from the list. Edit the Trainer's information now(Number of Pokemon he/she had and so on). Once you changed the number of Pokemon, click another trainer from the list and go back to the trainer you edited to see that the number of Pokemon had changed. NOTE: I can't seem to edit the Trainer's name, so I used an older version of PPRE, which worked. However, the Pokemon's level is maximum 99 and I cant save my scripts using that.

After you've edited the Trainer, TAKE NOTE OF THE NUMBER BESIDE HIS/HER NAME. IT'S VERY IMPORTANT. For me it's 24.



Save your changes afterwards.

Next, go to Maps and choose the map you want. For me I'm going to use Cianwood City Gym.

Go to the Events tab and click on Overworlds. See the number at the top right corner? That's the number of overworlds. Click on the up arrow to increase the number of overworlds.

You might see a new tab now. Type in the ID of the overworld, which is this:


Now type in the sprite. The values for them are here:
Spoiler:
000 = Soul Silver Hero Male
001 = Little Boy (Platinum)
002 = Little Girl (Platinum)
003 = Male School Kid (Platinum)
004 = Youngster (Platinum)
005 = Bug Catcher (Platinum)
006 = Lass (Platinum)
007 = Battle Girl (Platinum)
008 = School Girl (Platinum)
009 = Generic Male (Platinum)
00A = Rocker (Platinum)
00B = Ace Trainer Male (Platinum)
00C = Generic Female (Platinum)
00D = Beauty (Platinum)
00E = Ace Trainer Female (Platinum)
00F = Balding Male
010 = Barry's Mom (Platinum)
011 = Old Man (Platinum)
012 = Old Woman (Platinum)
013 = Fat Guy (Platinum)
014 = Hiker
015 = Biking Male Hero
016 = Reporter (Platinum)
017 = Camera Man (Platinum)
018 = Store clerk 1
019 = Store Clerk 2
01A = FREEZE
01B = FREEZE
01C = FREEZE
01D = Male Scientist (Platinum)
01E = Female Scientist (Platinum)
01F = Rough Neck (Platinum)
020 = FREEZE
021 = Female Skiier (Platinum)
022 = Officer (Platinum)
023 = Idol (Platinum)
024 = Gentleman (Platinum)
025 = Socialite (Platinum)
026 = Male Biker (Platinum)
027 = Female Biker (Platinum)
028 = Engineer (Platinum)
029 = Farmer (Platinum)
02A = Cowgirl (Platinum)
02B = Clown (Platinum)
02C = Artist (Platinum)
02D = Athlete Male (Platinum)
02E = FREEZE
02F = FREEZE
030 = FREEZE
031 = FREEZE
032 = Ruin Maniac (Platinum)
033 = Black Belt (Platinum)
034 = Picnic Boy (Platinum)
035 = Picnic Girl (Platinum)
036 = Fisherman
037 = Parasol Girl (Platinum)
038 = Sailor
039 = FREEZE
03A = FREEZE
03B = Waiter (Platinum)
03C = Waitress (Platinum)
03D = FREEZE
03E = Rich Boy (Platinum)
03F = Rich Girl (Platinum)
040 = FREEZE
041 = FREEZE
042 = FREEZE
043 = FREEZE
044 = Blizzard Ace Trainer Male (Platinum)
045 = Blizzard Ace Trainer Female (Platinum)
046 = Psychic Male (Platinum)
047 = Pikachu (Platinum)
048 = FREEZE
049 = FREEZE
04A = FREEZE
04B = FREEZE
04C = FREEZE
04D = FREEZE
04E = FREEZE
04F = FREEZE
050 = FREEZE
051 = FREEZE
052 = FREEZE
053 = FREEZE
054 = Strength Boulder (Platinum)
055 = Rock Smash Rock (Platinum)
056 = Cut Bush (Platinum)
057 = Item Pokeball
058 = FREEZE
059 = FREEZE
05A = FREEZE
05B = FREEZE
05C = FREEZE
05D = FREEZE
05E = FREEZE
05F = FREEZE
060 = FREEZE
061 = Soul Silver Hero Female
062 = Biking Soul Silver Hero Female
063 = Professor Elm
064 = FREEZE
065 = FREEZE
066 = FREEZE
067 = FREEZE
068 = FREEZE
069 = FREEZE
06A = FREEZE
06B = FREEZE
06C = FREEZE
06D = FREEZE
06E = FREEZE
06F = FREEZE
070 = FREEZE
071 = FREEZE
072 = FREEZE
073 = FREEZE
074 = FREEZE
075 = FREEZE
076 = FREEZE
077 = FREEZE
078 = FREEZE
079 = FREEZE
07A = FREEZE
07B = FREEZE
07C = FREEZE
07D = FREEZE
07E = Roark
07F = Gardenia
080 = Crasher Wake
081 = Maylene
082 = Fantina
083 = Candice
084 = Byron
085 = Volkner
086 = FREEZE
087 = FREEZE
088 = FREEZE
089 = FREEZE
08A = FREEZE
08B = FREEZE
08C = FREEZE08D = Cheryl
08E = Riley
08F = Marley
090 = Buck
091 = Mira
092 = School Boy (HG/SS)
093 = FREEZE
094 = Rival (Silver)
095 = FREEZE
096 = FREEZE
097 = FREEZE
098 = FREEZE
099 = FREEZE
09A = FREEZE
09B = FREEZE
09C = FREEZE
09D = FREEZE
09E = FREEZE
09F = FREEZE
0A0 = FREEZE
0A1 = FREEZE
0A2 = FREEZE
0A3 = FREEZE
0A4 = FREEZE
0A5 = FREEZE
0A6 = FREEZE
0A7 = FREEZE
0A8 = Gym Stalker Guy (HEYA FUTURE CHAMP!)
0A9 = Tower Tycoon Paulmer
0AA = FREEZE
0AB = FREEZE
0AC = FREEZE
0AD = FREEZE
0AE = FREEZE
0AF = Pokemon Mansion Maid (Platinum)
0B0 = Diamond/Pearl Hero Male Holding Up Pokeball
0B1 = Diamond/Pearl Hero Female Holding Up Pokeball
0B2 = Soul Silver Hero Male Kneeling
0B3 = Soul Silver Hero Female Kneeling
0B4 = Diamond/Pearl Hero Male Watering Berries
0B5 = Diamond/Pearl Hero Female Watering Berries
0B6 = FREEZE
0B7 = Book
0B8 = FREEZE
0B9 = FREEZE
0BA = FREEZE
0BB = FREEZE
0BC = Soul Silver Hero Male Fishing
0BD = Soul Silver Hero Female Fishing
0BE = FREEZE
0BF = FREEZE
0C0 = FREEZE
0C1 = Green Mystery Gift Man
0C2 = FREEZE
0C3 = FREEZE
0C4 = Diamond/Pearl Hero Male Checking Watch
0C5 = Diamond/Pearl Hero Female Checking Watch
0C6 = Soul Silver Hero Male Kneeling
0C7 = Soul Silver Hero Female Kneeling
0C8 = Soul Silver Hero Male Handing Pokeballs
0C9 = Soul Silver Hero Female Handing Pokeballs
0CA = FREEZE
0CB = FREEZE
0CC = FREEZE
0CD = FREEZE
0CE = FREEZE
0CF = FREEZE
0D0 = FREEZE
0D1 = FREEZE
0D2 = Ruins Of Alph Wall
0D3 = Red
0D4 = FREEZE
0D5 = FREEZE
0D6 = FREEZE
0D7 = FREEZE
0D8 = FREEZE
0D9 = FREEZE
0DA = Thief
0DB = Shrine Woman With Candles
0DC = Sprout Tower Monk
0DD = Female Rocket
0DE = Male Rocket
0DF = Rocket Executive Athena
0E0 = Rocket Leader Apollo
0E1 = Male Snowboarder
0E2 = FREEZE
0E3 = Pyro-Maniac
0E4 = FREEZE
0E5 = Biker
0E6 = FREEZE
0E7 = FREEZE
0E8 = Kimono Woman
0E9 = Kurt
0EA = Clefairy Doll
0EB = Bill
0EC = SS Aqua Captain
0ED = Red Gyarados
0EE = Diamond/Pearl Hero Male
0EF = Diamond/Pearl Hero Female
0F0 = FREEZE
0F1 = FREEZE
0F2 = FREEZE
0F3 = FREEZE
0F4 = FREEZE
0F5 = FREEZE
0F6 = FREEZE
0F7 = FREEZE
0F8 = Soul Silver Hero Dancing?
0F9 = Soul silver Female Dancing?
0FA = Shrine Woman Without Candles
0FB = Other Part of a Door (Left)
0FC = Other Part of a Door (Right)
0FD = Crate
0FE = Magnet Train Support Beam
0FF = Magnet Train Support Beam
100 = Part of a Door
101 = Part of another Door
102 = Rocket Soul Silver Hero Male
103 = Rocket Soul Silver Hero Female
104 = Rocket Male Hero Handing Pokeballs to Nurse Joy
105 = Rocket Female Hero Handing Pokeballs to Nurse Joy
106 = ??? Apricorn Tree
107 = Red Apricorn Tree
108 = Yellow Apricorn Tree
109 = Blue Apricorn Tree
10A = Green Apricorn Tree
10B = Pink Apricorn Tree
10C = White Apricorn Tree
10D = Black Apricorn Tree
10E = Red Apricorn
10F = Yellow Apricorn
110 = Blue Apricorn
111 = Green Apricorn
112 = Pink Apricorn
113 = White Apricorn
114 = Black Apricorn
115 = Factory Head Thorton
116 = Hall Matron Argenta
117 = Castle Valet Dirach
118 = Arcade Star Dahlia
119 = Lady Caitlin
11A = Green Colored Frontier Worker
11B = Maroon Colored Frontier Worker
11C = Battle Frontier Entrance Worker
11D = Male Wi-Fi Plaza Worker
11E = Female Wi-Fi Plaza Worker
11F = Persian Statue
120 = Golden Dresser Hiding Rocket's Secret Base
121 = Little Boy
122 = Door Of Some Kind
123 = Ruins Of Alph Podium
124 = Patch of Dirt
125 = Rocket Admin Lambda
126 = Rocket Admin Lance (Rocket)
127 = Platinum Hero Male
128 = Platinum Hero Female
129 = Kneeling Rocket Male Hero
12A = Kneeling Rocket Female Hero
12B = Orange Mystery Gift Man
12C = FREEZE
12D = FREEZE
12E = FREEZE
12F = FREEZE
130 = FREEZE
131 = FREEZE
132 = FREEZE
133 = FREEZE
134 = FREEZE
135 = FREEZE
136 = FREEZE
137 = FREEZE
138 = FREEZE
139 = FREEZE
13A = FREEZE13B = Little Boy (HG/SS)
13C = Little Girl (HG/SS)
13D = Youngster (HG/SS)
13E = Bug Catcher (HG/SS)
13F = Mini-Skirt
140 = Blonde Girl With Pig Tails
141 = Brown Haired School Girl
142 = Brown Haired Boy
143 = Rocker
144 = Elite Trainer Male
145 = Generic Woman
146 = Beauty (HG/SS)
147 = Elite Trainer Female
148 = Balding Man
149 = House Wife
14A = Old Man (Daycare Grandpa)
14B = Old Woman (Daycare Grandma)
14C = Fat Guy (HG/SS)
14D = Hiker
14E = Store Clerk 1
14F = Nurse Joy
150 = Downstairs Pokecenter Clerk
151 = HG/SS GTS Clerk
152 = Poke-Geek
153 = FREEZE
154 = FREEZE
155 = Gentleman (HG/SS)
156 = Male Swimmer
157 = Female Swimmer
158 = Black Belt (HG/SS)
159 = Picnic Boy
15A = Picnic Girl
15B = Fisherman
15C = Sailor
15D = MISSINGNO.
15E = Gold Trophy
15F = Psychic Male (HG/SS)
160 = Falkner
161 = Bugsy
162 = Whitney
163 = Morty
164 = Chuck
165 = Jasmine
166 = Pryce
167 = Clair
168 = Elite 4 Will
169 = Elite 4 Koga
16A = Elite 4 Bruno
16B = Elite 4 Karen
16C = Champion Lance
16D = Your Mother
16E = Professor Oak
16F = Kid Playing DS
170 = Lt. Surge
171 = Sabrina
172 = Misty
173 = Erika
174 = Janine
175 = Brock
176 = Blaine
177 = Green
178 = Silver Trophy
179 = PokeManiac
17A = Juggler
17B = Bronze Trophy
17C = Banette
17D = Sudowoodo Tree
17E = Eusine
17F = Kobushi (Pokethlon Champion)
180 = Hajime
181 = Giovanni
182 = Ruins Of Alph Researcher
183 = Sprout Tower Master
184 = FREEZE
185 = DJ Kurumi (DJ Mary? Pink haired DJ)
186 = Lapras
187 = FREEZE
188 = Daisy
189 = Red's Mom
18A = Bug Catching Contest Host
18B = ???????
18C = Pokethlon Medal
18D = Pokethlon Scroll
18E = Pokethlon Shoes
18F = Pokethlon Jacket
190 = Pokethlon Red Flag
191 = Pokethlon Pokegear
192 = Pokeball In a Glass Jar
193 = Pokethlon Self Statue Male
194 = Pokethlon Self Statue Female
195 = FREEZE
196 = Ice Block
197 = Soul Silver Hero Male Pokethlon Outfit
198 = Soul Silver Hero Female Pokethlon Outfit
199 = Rotom Microwave
19A = Rotom Fan
19B = Rotom Fridge
19C = Rotom Washer
19D = Rotom Mower
19E = Slowpoke
19F = Bulbasaur
1A0 = ???
1A1 = ???
1A2 = ???
1A3 = ???
1A4 = ???
1A5 = Steven Stone
1A6 = Cynthia
1A7 = Soul Silver Hero Male Checking Watch
1A8 = Soul Silver Hero Female Checking Watch
1A9 = Ho-oh
1AA = Lugia
1AB = Radio Station Attendant
1AC = Bulbasaur
1AD = Ivysaur
1AE = Venasaur
1AF = Venasaur
1B0 = Charmander
1B1 = Charmeleon
1B2 = Charizard
1B3 = Squirtle
1B4 = Wartortle
1B5 = Blastoise
1B6 = Caterpie
1B7 = Metapod
1B8 = Butterfree
1B9 = Weedle
1BA = Kakuna
1BB = Beedrill
1BC = Pidgey
1BD = Pidgeotto
1BE = Pidgeot
1BF = Rattata
1C0 = Ratticate
1C1 = Spearow
1C2 = Fearow
1C3 = Ekans
1C4 = Arbok
1C5 = Pikachu
1C6 = Pikachu
1C7 = Raichu
1C8 = Sandhsrew
1C9 = Sandslash
1CA = Nidoran Female
1CB = Nidorina
1CC = Nidoqueen
1CD = Nidoran Male
1CE = Nidorino
1CF = Nidoking
1D0 = Clefairy
1D1 = Clefable
1D2 = Vulpix
1D3 = Ninetails
1D4 = Jigglypuff
1D5 = Wigglytuff
1D6 = Zubat
1D7 = Golbat
1D8 = Oddish
1D9 = Gloom
1DA = Vileplume
1DB = Paras
1DC = Parasect
1DD = Venonat
1DE = Venomoth
1DF = Diglett
1E0 = Dugtrio
1E1 = Meowth
1E2 = Persian
1E3 = Psyduck
1E4 = Golduck
1E5 = Mankey
1E6 = Primape
1E7 = Growlithe
1E8 = Arcanine
1E9 = Poliwag
1EA = Poliwhirl
1EB = Poliwrath
1EC = Abra
1ED = Kadabra
1EE = Alakazam
1EF = Machop
1F0 = Machoke
1F1 = Machamp
1F2 = Bellsprout
1F3 = Weepinbell
1F4 = Victreebel
1F5 = Tentacool
1F6 = Tentacruel
1F7 = Geodude
1F8 = Graveler
1F9 = Golem
1FA = Ponyta
1FB = Rapidash
1FC = Slowpoke
1FD = Slowbro
1FE = Magnemite
1FF = Magneton
200 = Farfetch'd
201 = Doduo
202 = Dotrio
203 = Seel
204 = Dewgong
205 = Grimer
206 = Muk
207 = Shellder
208 = Cloyster
209 = Ghastly
20A = Haunter
20B = Gengar
20C = Onix
20D = Drowzee
20E = Hypno
20F = Krabby
210 = Kingler
211 = Voltorb
212 = Electrode
213 = Exeggcute
214 = Exeggutor
215 = Cubone
216 = Marowak
217 = Hitmonlee
218 = Hitmonchan
219 = Lickitung
21A = Koffing
21B = Weezing
21C = Rhyhorn
21D = Rhydon
21E = Chansey
21F = Tangela
220 = Kangaskhan
221 = Horsea
222 = Seadra
223 = Goldeen
224 = Seaking
225 = Staryu
226 = Starmie
227 = Mr. Mime
228 = Scyther
229 = Jynx
22A = Electabuzz
22B = Magmar
22C = Pinsir
22D = Tauros
22E = Magikarp
22F = Gyarados
230 = Lapras
231 = Ditto
232 = Eevee
233 = Vaporeon
234 = Jolteon
235 = Flareon
236 = Porygon
237 = Omanyte
238 = Omastar
239 = Kabuto
23A = Kabutops
23B = Aerodactyl
23C = Snorlax
23D = Articuno
23E = Zapdos
23F = Moltres
240 = Dratini
241 = Dragonair
242 = Dragonite
243 = Mewtwo
244 = Mew

FREEZE freezes the game when you use it.


However, PPRE can read only Dec numbers, but these are Hex numbers. So open up Calculator, and go to the Scientific Mode for XP. I don't know what to press for the other computers so you have to figure out yourself. Go to Hex and type in the number for the sprite. Click on Dec next to get the Dec number. Write this in PPRE.

Next for the movement. I don't really have the list for the movements(I'm too lazy to figure out :'( So if you got the list, please tell me and I will give credit.) However I do know that 15 is facing down and 20 is facing up.) Type it in the box.

Flag... I don't really know what's that but I will figure it out sometime, probably after B/W is released.. I'm just too busy

Script we will come to it later.

Line of Sight, by the name, you probably know what's it. It's use for detection for normal trainers, like when you're walking along Viridan Forest when a trainer spot you.

X-, Y- and Z- coordinate, pretty simple. I don't know bout Z though. Anyway, you might ask, how do we find the X and Y coordinate? Simple! Using the Lua Script, open it in DeSmuME and activate the script! Move to the spot where you want your trainer to be at and he will stand there! However the Lua Script doesn't work on Patched Roms.



After finding out the X and Y coordinate, type it in the boxes.

Once you've done all these, take note of the ID of your overworld.

Next, go to the Text tab. You will see that there's already a lot of text. Write your trainer's beginning and losing text like this:
text_[continued number]="[text]"
So for example I want to write this:
Yo! This is a guide!
And the text number is 5, I will write in PPRE this:
text_5="Yo! This is a guide!"
Just remember, \n is for line break and \r is for new box.
After writing your text, note down the text numbers - both beginning and lose text. I don't know how to make the winning text activate, sorry



Now go to the Scripts text and go to Scripts. Press add script and go to the new script. Now we can begin writing our script.
Example of Script:
Spoiler:
Lockall
Faceplayer
Message 15
WaitButton
CloseMsgOnKeyPress
TrainerBattle 24 0 1
Message 16
WaitButton
CloseMsgOnKeyPress
Releaseall
End


Lockall starts your script. Lockall is basically the same as the script starter you use when hacking GBA games.

Faceplayer, too, exists in GBA hacking. Just let the trainer turn to you when you talk to him/her.

Message [number] is the text you wrote just now. [number] is the text number which I told you to note.

WaitButton and CloseMsgOnKeyPress works together. The trainer battle will begin after you pressed A or B(WaitButton). The message will then close(CloseMsgOnKeyPress).

TrainerBattle [number] 0 1 starts your trainer battle. [number] is the trainer number I told you to note just now. You can see why it's important now.

Message [number] is the losing text.

Releaseall MUST be present if you wrote Lockall. It releases the NPCs around.

End is the ending of the script. VERY IMPORTANT.

Now that you finished your script, save your changes.

Go back to PPRE and type in your rom name, also remember to write in the ".nds" without the quotient marks.



After your rom has finished creating, open your rom and enjoy! Also if you want to edit the sprite of your trainer, I might write a tutorial on it, but it's best if you follow KazoWAR's on Youtube.

Thanks for reading my tutorial! This is my first tutorial so I hope you would rate my skills on writing tutorials.
Attached Files
File Type: zip LUA Script.zip‎ (264 Bytes, 97 views) (Save to Dropbox)
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke

Last edited by shadowwalke; September 4th, 2010 at 07:12 PM.
Reply With Quote
  #2    
Old September 4th, 2010, 07:46 PM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Here's a completely optional part: Removing people.
Basically, after you've finished your battle, you can make the trainer disappear.
Here's an example of the script:
Spoiler:
Lockall
Faceplayer
Message 15
WaitButton
CloseMsgOnKeyPress
TrainerBattle 82 0 1
Message 16
WaitButton
CloseMsgOnKeyPress
Applymovement 5 mov_1
Waitmovement
Removepeople 5
Releaseall
End

The new part edited, as you can see, is
Applymovement 5 mov_1
Waitmovement
Removepeople 5

Before I go into explaining, go to Maps, choose your map and Scripts, before finally going to Movements.

Choose Add Movement. A new tab should form.
Now, you have to write your movement. The movement format must be like this:
[movement_name] [number_of_times]
Movement_name is the type of movement you want your OW to move, such as the 1 I used, WalkDownNormal.
Here's a list of the movements:
Spoiler:
Exclamation mark on top of OW(Like when trainer spots you)
Exclaim
Looks at a specific direction
SeeUp
SeeRight
SeeDown
SeeLeft
Walks in a direction with fast/normal/slow speed
WalkUpFast/Normal/Slow
WalkRightFast/Normal/Slow
WalkDownFast/Normal/Slow
WalkLeftFast/Normal/Slow
*Change accordingly*
Does nothing, useful if you want to wait a little before the next movement command executes(I don't really know what's this, my friend got it for me
003F
However, according to DPP Script Commands, PPRE uses Waitfor ____
I seriously don't know this.
Runs in a direction
RunUp
RunRight
RunDown
RunLeft
Jump in a direction the OW is facing.
JumpFacingUp
JumpFacingRight
JumpFacingDown
JumpFacingLeft
Jumps one/two step in a specific direction(Don't really know if it works for HGSS)
JumpUpOne/Two
JumpRightOne/Two
JumpDownOne/Two
JumpLeftOne/Two
*Change accordingly*
Pause for a while before walking in a specific direction in fast/normal/slow
PauseWalkUpFast/Normal/Slow
PauseWalkRightFast/Normal/Slow
PauseWalkDownFast/Normal/Slow
PauseWalkLeftFast/Normal/Slow
*Change accordingly*


Number of times is the number of steps you want your OW to move. Pretty simple, you should understand.

Now to explain the script.
Applymovement [OW ID] [mov_[id]] is put into your script.
Applymovement is to apply a movement on [OW ID] which is your OW's ID, which I explained earlier at the previous post, and [mov_[id]] is the ID of your movement.

For me it's mov_1.

Waitmovement is to wait for the movement to be finished before the OWs can be released.

Removepeople [OW ID] is to remove the OW you assigned to. By now you should know what's [OW ID].

So now that your movement script is finished, save your changes, write your rom and begin playing!

~Hope this helps!~
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke

Last edited by shadowwalke; September 4th, 2010 at 08:24 PM.
Reply With Quote
  #3    
Old September 9th, 2010, 03: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
This is actually kinda cool :D
__________________
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
Reply With Quote
  #4    
Old September 15th, 2010, 12:22 PM
Sora's Nobody's Avatar
Sora's Nobody
The Official Roxas
 
Join Date: Jun 2009
Location: Destiny Island
Gender: Male
Nature: Brave
Send a message via Windows Live Messenger to Sora's Nobody
Wow! Sad only one posted! I didnt know a tool like this excisted! I'll be sure to trst it out very soon!
__________________

Sora's Nobody ★ Nothing Yet!
♠The Official Roxas♠ My Stuff:


Reply With Quote
  #5    
Old October 8th, 2010, 03:52 PM
sesshomaru13's Avatar
sesshomaru13
Azuril Trainer
 
Join Date: Apr 2010
Location: Michigan!!!
Gender: Male
Nature: Adamant
Great tutorial!
I just started using PPRE and I've been trying to figure out how this worked, Thanks!
__________________
Marching Azuril!!!
White Name: Sai, FC: 2451 3927 0257
Reply With Quote
  #6    
Old October 9th, 2010, 03:36 AM
jota_rdk's Avatar
jota_rdk
Spanish hacker [Javi4315]
 
Join Date: Jul 2010
Location: Spain
Gender: Male
Nature: Timid
Wow, very good tutorial. In spanish forums don't seen tools and his tutorials for ds roms.

I prove it for see his functioning. Great tutorial and great tool.

I think it will serve me. Greetings!
__________________
Pokémon Golden Legend // Pokémon Silver Legend


My tutorials:

__________________
My english is very bad, I know. Sorry! xD
Reply With Quote
  #7    
Old October 9th, 2010, 04:35 AM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Thanks guys for the comments xD

Quote:
Originally Posted by jota_rdk View Post
Wow, very good tutorial. In spanish forums don't seen tools and his tutorials for ds roms.

I prove it for see his functioning. Great tutorial and great tool.

I think it will serve me. Greetings!
Are you referring to me? If so, I'm not Spanish :/
I just happened to find the scripts needed. My real life friend helped me a bit too.
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke
Reply With Quote
  #8    
Old October 9th, 2010, 05:31 AM
jota_rdk's Avatar
jota_rdk
Spanish hacker [Javi4315]
 
Join Date: Jul 2010
Location: Spain
Gender: Male
Nature: Timid
Quote:
Originally Posted by shadowwalke View Post
Thanks guys for the comments xD


Are you referring to me? If so, I'm not Spanish :/
I just happened to find the scripts needed. My real life friend helped me a bit too.
(?) haha, I tell you that in spanish forums (because I am spanish), don't publish tutorials for NDS tools. Sorry if you don't understand me xD

finaly, great tutorial! :D
__________________
Pokémon Golden Legend // Pokémon Silver Legend


My tutorials:

__________________
My english is very bad, I know. Sorry! xD
Reply With Quote
  #9    
Old October 17th, 2010, 07:40 PM
KibaLG8
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
It does work for Platinum!=D I like the Trainer Pokemon Editor on this one better then some other one I use.

BTW, I wanted to add a trainer, lets say if I get my hands on a Ash DP Overworld Sprite and battle sprite, how can I add it in???

ps: thanks for the tools.
Reply With Quote
  #10    
Old October 17th, 2010, 09:27 PM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Quote:
Originally Posted by KibaLG8 View Post
It does work for Platinum!=D I like the Trainer Pokemon Editor on this one better then some other one I use.

BTW, I wanted to add a trainer, lets say if I get my hands on a Ash DP Overworld Sprite and battle sprite, how can I add it in???

ps: thanks for the tools.
KazoWAR has made videos of these.
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke
Reply With Quote
  #11    
Old October 17th, 2010, 10:04 PM
KibaLG8
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Quote:
Originally Posted by shadowwalke View Post
KazoWAR has made videos of these.
Is it for Heartgold/Soulsilver or Platinum?? I wanted to add a trainer in Platinum, is his/her tutorials for HGSS or Plat? I'll check it out though.
Reply With Quote
  #12    
Old October 17th, 2010, 10:18 PM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Quote:
Originally Posted by KibaLG8 View Post
Is it for Heartgold/Soulsilver or Platinum?? I wanted to add a trainer in Platinum, is his/her tutorials for HGSS or Plat? I'll check it out though.
I don't know. But I'm sure the overworld sprite is for HGSS, since KazoWAR hasn't found the narc file for Platinum.
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke
Reply With Quote
  #13    
Old November 29th, 2010, 11:47 AM
KibaLG8
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
I am having a bit of a problem with scripting. I am playing SoulSilver, I added a Dawn DP Overworld sprite in the Cherrygrove City Pokemon Center. So here is what I did.

Script:

Lockall
Faceplayer
Message 6
WaitButton
CloseMsgOnKeyPress
TrainerBattle 136 0 1
Message 7
WaitButton
CloseMsgOnKeyPress
Applymovement 9 mov_1
Waitmovement
Releaseall
Removepeople 9
End

Text:

text_6="???: Hello. Oh, my name’s Dawn.\nMy hometown is located in Twinleaf Town.\rDawn: Well, it’s in the Sinnoh Region.\nCool, you have a starter, let’s battle!"
text_7="Dawn: Wow you’re really strong!!\nLet’s battle again sometime..."

Movement:

WalkLeftNormal 3
WalkDownNormal 2
WalkLeftNormal 4
WalkDownFast 6

After I have battled her, she says text_7 and then the textbox disappears, she doesn't do her movements, nor can I do anything, its like it froze. Any help?
Reply With Quote
  #14    
Old November 29th, 2010, 07:01 PM
shadowwalke's Avatar
shadowwalke
Beginning Trainer
 
Join Date: Feb 2010
Gender: Male
Quote:
Originally Posted by KibaLG8 View Post
I am having a bit of a problem with scripting. I am playing SoulSilver, I added a Dawn DP Overworld sprite in the Cherrygrove City Pokemon Center. So here is what I did.

Script:

Lockall
Faceplayer
Message 6
WaitButton
CloseMsgOnKeyPress
TrainerBattle 136 0 1
Message 7
WaitButton
CloseMsgOnKeyPress
Applymovement 9 mov_1
Waitmovement
Releaseall
Removepeople 9
End

Text:

text_6="???: Hello. Oh, my name’s Dawn.\nMy hometown is located in Twinleaf Town.\rDawn: Well, it’s in the Sinnoh Region.\nCool, you have a starter, let’s battle!"
text_7="Dawn: Wow you’re really strong!!\nLet’s battle again sometime..."

Movement:

WalkLeftNormal 3
WalkDownNormal 2
WalkLeftNormal 4
WalkDownFast 6

After I have battled her, she says text_7 and then the textbox disappears, she doesn't do her movements, nor can I do anything, its like it froze. Any help?
I'm not sure, but I guess it's this part:
Releaseall
Removepeople 9

Try changing their positions(Removepeople 9 up and vice versa), it might help. I havn't ROM Hack in a few months
__________________
Please help!




Youtube account:

http://www.youtube.com/user/TheShadowWalke
Reply With Quote
  #15    
Old November 29th, 2010, 10:46 PM
KibaLG8
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Quote:
Originally Posted by shadowwalke View Post
I'm not sure, but I guess it's this part:
Releaseall
Removepeople 9

Try changing their positions(Removepeople 9 up and vice versa), it might help. I havn't ROM Hack in a few months
I tried and still the same result.....X( Thanks anyway. I guess I'm going to have to mix it around to see if it works.
Reply With Quote
  #16    
Old July 6th, 2011, 09:00 AM
moohoomoo1
Beginning Trainer
 
Join Date: Jul 2010
Gender: Male
Quote:
Originally Posted by KibaLG8 View Post
I tried and still the same result.....X( Thanks anyway. I guess I'm going to have to mix it around to see if it works.
Try removing Lockall and Releaseall
Thats what worked for me!
__________________
My youtube Channel:
http://www.youtube.com/user/MooHooMoo1
My website:
http://www.awesomenessgamez.weebly.com

Please Check them out!!
Reply With Quote
  #17    
Old July 21st, 2011, 02:30 PM
superjesus's Avatar
superjesus
Beginning Trainer
 
Join Date: Mar 2010
Gender: Male
great tutorial. one question though: Im trying to replace overworld sprites for gym leaders and having no luck. every time I input the new hex sprite number and try to save, I get an error message. for example, I try to replace falkner (hex 352) with bugsy (353) in the gym. is there anyway to make this work?
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 05:20 PM.


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.