Notices
For all updates, view the main page.

 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.

#1
July 25th, 2008 (7:26 PM). Edited April 15th, 2010 by Spherical Ice.
 KhaosKnight The 1 and only Khaotic Hacker Join Date: Dec 2007 Nature: Relaxed Posts: 355
Welcome to my Tutorial you may already know me but for those of you who don’t I am Khaosknight1, this tut may not be needed but I have seen allot of questions in the Help threads regarding what the pokes numbers are for their scripts...so lets begin.

ToC
1. Hex Explanation
2. Hex's usage in Scripting
3. Simple Conversion
-----3.2 Manual Converion
4. List of Pokes
5. Binary Explanation
6. Closing Statements

1. Hex Explanation

Ok let me start off by explaining what Hexadecimal Numbers are:

Hex (for short) is a method of counting numbers with a base of 16.
Code:
`0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F....`
There are Decimal numbers (which is what most are accustomed to using) then there are Hexadecimal numbers, Hex numbers are commonly used in electronic and computer programing. Since each hexadecimal digit represents four binary digits it is a compact and easily translated shorthand to express values The symbol A in hex has the same value as 10 in Dec., but in Hex the value 10 is the same value as 16, many programs and programmers use hexadecimal numbers.

So here is the basic Dec. numbers with their Hex equivalents

Code:
```Dec - Hex

0  -  0
1  -  1
2  -  2
3  -  3
4  -  4
5  -  5
6  -  6
7  -  7
8  -  8
9  -  9
10 - A
11 - B
12 - C
13 - D
14 - E
15 - F
16 - 10
17 - 11
18 - 12
19 - 13
20 - 14
21 - 15
22 - 16
23 - 17
24 - 18
25 - 19
26 - 1A
27 - 1B

and so on...```

2. Hex's Usage in Scripting

Ok almost every value you imput when scripting wil be in Hex. (Though you can imput values in Dec but i cant remember how). But anyway do you remember when you first scripted a givepokemon script. Course ya do! Lets say you want a level 15 Vulpix. So you imputed it like this:

Code:
`givepokemon 0x37 0x15 0x0 0x0 0x0`
Ok no that it is compiled, you test it. Hmm? i didnt get a level 15 Vulpix, i got a level 21 Golduck. Why? in scripting that command took your values as hex values and Golducks number is 37 in Hex(#55 in Dec) and 21 is 15 in Hex. So to fix it you have to Hex Vulpix's value and the number 15, so we get...

Code:
`givepokemon 0x25 0xF 0x0 0x0 0x0`
kay now test that...Yay we got our Vulpix!!!

I may expand on this in the Future...

3. Simple Conversion

Ok so what if you are working a Give Kyogre script, his national number is 382, well you don’t want to have to count that high so here is a method of converting Dec. to Hex the almost everyone can do...

First open MS Calculator

it should look like this...

You can’t do any conversion with that so you want to click the "view" tab, then click "Scientific" and now you should have this...

Now to do the conversion all you have to do is punch in Kyogre's National Number which is 382...then click the empty circle next to the word "hex" it should convert 382 to 17E which is Kyogres National Dex number in hex.

3.2. Manual Conversion

Coming Soon!!!!

4. List of Pokes

Ok since some are too lazy to go find the National Numbers I will post them here. Just take the number to the corresponding poke then follow the method above.

1 - 151 (Bulbasaur - Mew) Kanto

Spoiler:

001 Bulbasaur
002 Ivysaur
003 Venusaur
004 Charmander
005 Charmeleon
006 Charizard
007 Squirtle
008 Wartortle
009 Blastoise
010 Caterpie
011 Metapod
012 Butterfree
013 Weedle
014 Kakuna
015 Beedrill
016 Pidgey
017 Pidgeotto
018 Pidgeot
019 Rattata
020 Raticate
021 Spearow
022 Fearow
023 Ekans
024 Arbok
025 Pikachu
026 Raichu
027 Sandshrew
028 Sandslash
029 Nidoran (f)
030 Nidorina
031 Nidoqueen
032 Nidoran (m)
033 Nidorino
034 Nidoking
035 Clefairy
036 Clefable
037 Vulpix
038 Ninetales
039 Jigglypuff
040 Wigglytuff
041 Zubat
042 Golbat
043 Oddish
044 Gloom
045 Vileplume
046 Paras
047 Parasect
048 Venonat
049 Venomoth
050 Diglett
051 Dugtrio
052 Meowth
053 Persian
054 Psyduck
055 Golduck
056 Mankey
057 Primeape
058 Growlithe
059 Arcanine
060 Poliwag
061 Poliwhirl
062 Poliwrath
063 Abra
065 Alakazam
066 Machop
067 Machoke
068 Machamp
069 Bellsprout
070 Weepinbell
071 Victreebel
072 Tentacool
073 Tentacruel
074 Geodude
075 Graveler
076 Golem
077 Ponyta
078 Rapidash
079 Slowpoke
080 Slowbro
081 Magnemite
082 Magneton
083 Farfetch'd
084 Doduo
085 Dodrio
086 Seel
087 Dewgong
088 Grimer
089 Muk
090 Shellder
091 Cloyster
092 Gastly
093 Haunter
094 Gengar
095 Onix
096 Drowzee
097 Hypno
098 Krabby
099 Kingler
100 Voltorb
101 Electrode
102 Exeggcute
103 Exeggutor
104 Cubone
105 Marowak
106 Hitmonlee
107 Hitmonchan
108 Lickitung
109 Koffing
110 Weezing
111 Rhyhorn
112 Rhydon
113 Chansey
114 Tangela
116 Horsea
118 Goldeen
119 Seaking
120 Staryu
121 Starmie
122 Mr. Mime
123 Scyther
124 Jynx
125 Electabuzz
126 Magmar
127 Pinsir
128 Tauros
129 Magikarp
131 Lapras
132 Ditto
133 Eevee
134 Vaporeon
135 Jolteon
136 Flareon
137 Porygon
138 Omanyte
139 Omastar
140 Kabuto
141 Kabutops
142 Aerodactyl
143 Snorlax
144 Articuno
145 Zapdos
146 Moltres
147 Dratini
148 Dragonair
149 Dragonite
150 Mewtwo
151 Mew

152 - 251(Chikorita - Celebi) Johto

Spoiler:

152 Chikorita
153 Bayleef
154 Meganium
155 Cyndaquil
156 Quilava
157 Typhlosion
158 Totodile
159 Croconaw
160 Feraligatr
161 Sentret
162 Furret
163 Hoothoot
164 Noctowl
165 Ledyba
166 Ledian
167 Spinarak
169 Crobat
170 Chinchou
171 Lanturn
172 Pichu
173 Cleffa
174 Igglybuff
175 Togepi
176 Togetic
177 Natu
178 Xatu
179 Mareep
180 Flaaffy
181 Ampharos
182 Bellossom
183 Marill
184 Azumarill
185 Sudowoodo
186 Politoed
187 Hoppip
188 Skiploom
189 Jumpluff
190 Aipom
191 Sunkern
192 Sunflora
193 Yanma
194 Wooper
195 Quagsire
196 Espeon
197 Umbreon
198 Murkrow
199 Slowking
200 Misdreavus
201 Unown
202 Wobbuffet
203 Girafarig
204 Pineco
205 Forretress
206 Dunsparce
207 Gligar
208 Steelix
209 Snubbull
210 Granbull
211 Qwilfish
212 Scizor
213 Shuckle
214 Heracross
215 Sneasel
216 Teddiursa
217 Ursaring
218 Slugma
219 Magcargo
220 Swinub
221 Piloswine
222 Corsola
223 Remoraid
224 Octillery
225 Delibird
226 Mantine
227 Skarmory
228 Houndour
229 Houndoom
230 Kingdra
231 Phanpy
232 Donphan
233 Porygon2
234 Stantler
235 Smeargle
236 Tyrogue
237 Hitmontop
238 Smoochum
239 Elekid
240 Magby
241 Miltank
242 Blissey
243 Raikou
244 Entei
245 Suicune
246 Larvitar
247 Pupitar
248 Tyranitar
249 Lugia
250 Ho-oh
251 Celebi

252 - 386(Treecko - Deoxys) Hoenn

Spoiler:

252 Treecko
253 Grovyle
254 Sceptile
255 Torchic
256 Combusken
257 Blaziken
258 Mudkip
259 Marshtomp
260 Swampert
261 Poochyena
262 Mightyena
263 Zigzagoon
264 Linoone
265 Wurmple
266 Silcoon
267 Beautifly
268 Cascoon
269 Dustox
271 Lombre
272 Ludicolo
273 Seedot
274 Nuzleaf
275 Shiftry
276 Taillow
277 Swellow
278 Wingull
279 Pelipper
280 Ralts
281 Kirlia
282 Gardevoir
283 Surskit
284 Masquerain
285 Shroomish
286 Breloom
287 Slakoth
288 Vigoroth
289 Slaking
292 Shedinja
293 Whismur
294 Loudred
295 Exploud
296 Makuhita
297 Hariyama
298 Azurill
299 Nosepass
300 Skitty
301 Delcatty
302 Sableye
303 Mawile
304 Aron
305 Lairon
306 Aggron
307 Meditite
308 Medicham
309 Electrike
310 Manectric
311 Plusle
312 Minun
313 Volbeat
314 Illumise
315 Roselia
316 Gulpin
317 Swalot
318 Carvanha
319 Sharpedo
320 Wailmer
321 Wailord
322 Numel
323 Camerupt
324 Torkoal
325 Spoink
326 Grumpig
327 Spinda
328 Trapinch
329 Vibrava
330 Flygon
331 Cacnea
332 Cacturne
333 Swablu
334 Altaria
335 Zangoose
336 Seviper
337 Lunatone
338 Solrock
339 Barboach
340 Whiscash
341 Corphish
342 Crawdaunt
343 Baltoy
344 Claydol
345 Lileep
347 Anorith
348 Armaldo
349 Feebas
350 Milotic
351 Castform
352 Kecleon
353 Shuppet
354 Banette
355 Duskull
356 Dusclops
357 Tropius
358 Chimecho
359 Absol
360 Wynaut
361 Snorunt
362 Glalie
363 Spheal
364 Sealeo
365 Walrein
366 Clamperl
367 Huntail
368 Gorebyss
369 Relicanth
370 Luvdisc
371 Bagon
372 Shelgon
373 Salamence
374 Beldum
375 Metang
376 Metagross
377 Regirock
378 Regice
379 Registeel
380 Latias
381 Latios
382 Kyogre
383 Groudon
384 Rayquaza
385 Jirachi
386 Deoxys

387 - 493(Turtwig - Arceus) Sinnoh

Spoiler:

387 Turtwig
388 Grotle
389 Torterra
390 Chimchar
391 Monferno
392 Infernape
393 Piplup
394 Prinplup
395 Empoleon
396 Starly
397 Staravia
398 Staraptor
399 Bidoof
400 Bibarel
401 Kricketot
402 Kricketune
403 Shinx
404 Luxio
405 Luxray
406 Budew
408 Cranidos
409 Rampardos
410 Shieldon
411 Bastiodon
412 Burmy
414 Mothim
415 Combee
416 Vespiquen
417 Pachirisu
418 Buizel
419 Floatzel
420 Cherubi
421 Cherrim
422 Shellos
423 Gastrodon
424 Ambipom
425 Drifloon
426 Drifblim
427 Buneary
428 Lopunny
429 Mismagius
430 Honchkrow
431 Glameow
432 Purugly
433 Chingling
434 Stunky
435 Skuntank
436 Bronzor
437 Bronzong
438 Bonsly
439 Mime Jr.
440 Happiny
441 Chatot
442 Spiritomb
443 Gible
444 Gabite
445 Garchomp
446 Munchlax
447 Riolu
448 Lucario
449 Hippopotas
450 Hippowdon
451 Skorupi
452 Drapion
453 Croagunk
454 Toxicroak
455 Carnivine
456 Finneon
457 Lumineon
458 Mantyke
459 Snover
460 Abomasnow
461 Weavile
462 Magnezone
463 Lickilicky
464 Rhyperior
465 Tangrowth
466 Electivire
467 Magmortar
468 Togekiss
469 Yanmega
470 Leafeon
471 Glaceon
472 Gliscor
473 Mamoswine
474 Porygon-Z
476 Probopass
477 Dusknoir
478 Froslass
479 Rotom
480 Uxie
481 Mesprit
482 Azelf
483 Dialga
484 Palkia
485 Heatran
486 Regigigas
487 Giratina
488 Cresselia
489 Phione
490 Manaphy
491 Darkrai
492 Shaymin
493 Arceus

5. Binary Explanation
Coming Soon!!!

6.Closing Statement
Ok there you go, i may update this in the future but for now it covers the basic concept. I plan to add an explanation on Binary numbers if needed. And if its really needed i will cover Octadecimal as well. Meh, just to cover all the conversions the MS Calculator can do, but i dont see that happening.
__________________

#2
July 26th, 2008 (6:30 AM).
 liuyanghejerry Join Date: Jan 2008 Location: China,Xi'an Nature: Calm Posts: 218
good job~
But it seems too simple...Hope more useful commands~
__________________

I did something that really bad.But made all Chinese can hack Pokemon, too.If you guys hate me, I totally understand,but cannot do anything but force to keep everything.
If there must be someone to undertake all spit and curse, it must be me.
#3
July 26th, 2008 (9:07 PM).
 Thrace @tion Gold Tier Join Date: Jun 2007 Age: 26 Gender: Male Posts: 1,048
Oh cool, this should be good for the beginner hackers. Those "what is celebi's number in hex?" questions are really annoying. :P

I agree with the above poster this is very basic. Maybe you could include manual decimal to hex conversion and vice versa. A more in-depth explanation on what hex is and how it is used in hacking would be good also.
__________________
#4
July 26th, 2008 (9:20 PM).
 KhaosKnight The 1 and only Khaotic Hacker Join Date: Dec 2007 Nature: Relaxed Posts: 355
Quote:
 Originally Posted by dshayabusa Oh cool, this should be good for the beginner hackers. Those "what is celebi's number in hex?" questions are really annoying. I agree with the above poster this is very basic. Maybe you could include manual decimal to hex conversion and vice versa. A more in-depth explanation on what hex is and how it is used in hacking would be good also.
That is the next step, but right now i have to learn the end-and-out of Hex too, i became familiar with Hex while i hacked the Action Replay. and after i made this tut i studied Binary.

But right now i just wanted to get this out there for the people taht cant read another tut or use the calculator
__________________

#5
July 29th, 2008 (4:53 PM).
 aggrononer612 Join Date: Jul 2008 Gender: Posts: 13
ooo, now i see thanks for the help
#6
July 29th, 2008 (5:16 PM).
 <~F.M.P~> I got you whistling Blue Box! Silver Tier Join Date: Jul 2006 Location: Germany Age: 24 Gender: Male Nature: Mild Posts: 640
Can you also hex edit the colors of the flames in fire red version on the title screen like this?
I also think this is a little off topic...sorry about that.
#7
September 1st, 2008 (1:26 PM).
 Ineffable~ DAT SNARKITUDE Crystal Tier Join Date: Aug 2008 Location: Any ol' place really Age: 22 Gender: Female Nature: Naive Posts: 2,742
You're the best! Now I know how to make a Jirachi event!
The dec->hex conversion will be an invaluable resource!
__________________

#077: Ponyta - The Fire Horse Pokémon
Fire ~ Field eggs
3'03" ~ 66.1lbs ~ 50/50

Its hooves are 10 times harder
than diamonds. It can trample
anything completely flat in moments.

Abilities: Run Away or Flash Fire or Flame Body
Moves: Growl, Flame Wheel, Stomp, Agility
Locations: Pokémon Mansion

Cry

Other names:

jp: ポニータ (Ponyta)
de: Ponita
fr: Ponyta
cn: 小火馬 (Xiǎohuǒmǎ)

#8
October 8th, 2008 (6:40 AM).
 KhaosKnight The 1 and only Khaotic Hacker Join Date: Dec 2007 Nature: Relaxed Posts: 355
Quote:
 Originally Posted by Floating monkey pirate Can you also hex edit the colors of the flames in fire red version on the title screen like this? I also think this is a little off topic...sorry about that.
Im not sure what you mean...sorry :D

Quote:
 Originally Posted by Lilbittygoat You're the best! Now I know how to make a Jirachi event! The dec->hex conversion will be an invaluable resource!
Glad i could be of assistance!
__________________

#9
October 8th, 2008 (8:37 AM).
 DriveUMad Join Date: Oct 2008 Gender: Posts: 4
Hey, do you know how can I find the trainer's in the Hex Editor? x_x i just can't find them, if you know could you tell me? XD thx ( in fire red )