PDA

View Full Version : [Tutorial] HEX editing Pokemon in Advance Gen Games!


Darthatron
January 15th, 2008, 05:28 AM
Hello all, Darthatron here. You might know me from my fantastic programs, or maybe my well know modesty. :D Anyway, today I'll be teaching you all how to

HEX Edit the Pokemon Data in the Advance Gen series of Pokemon! :D Excited? I know I am.

In this part of the guide, you will be editing the Base HP, Attack, Defense, Speed, Special Attack, Special Defense, The Types of the Pokemon and the

possible Items it could be holding when its caught!!!

Ok, to use this guide to its full extent, you'll need...

A HEX Editor (I will use HEX Workshop)
A Pokemon Advance ROM (I will use Leaf Green [English])
A GBA Emulator (I will use Visual Boy Advance)


Alright, let's begin...

.::Step 1::.
Open up your HEX Editor and load the ROM you will be editing. That bit should have been easy.

.::Step 2::.
Press Ctrl + F (or find the Find button in the menus). A window should come up that looks something like this:
http://img257.imageshack.us/img257/4305/findje4.jpg

In the 'Value:' text-box put this data: "2D31312D41410C032D400001000000001F1446030107410000030000" without the quotation marks (That data is for

Bulbasaur). And then click the 'Search', or 'OK', Button.

.::Step 3::.
Your HEX Editor should have found that Data and highlighted it. Like this:
http://img402.imageshack.us/img402/6025/highlightedzd8.jpg

Now, I will explain what every byte means, well at least what I've been able to learn, then we will start editing! :D

2D=HP
31=ATTACK
31=DEFENCE
2D=SPEED
41=SPECIAL ATTACK
41=SPECIAL DEFENSE
0C=TYPE 1
03=TYPE 2
2D=CATCH RATE
40=BASE XP
00=??
01=??
00=ITEM 1
00=ITEM 1
00=ITEM 2
00=ITEM 2
1F=GENDER CHANCE (7F = 50/50. Less than 7F has a high chance of being male. 00 = 100% Male. More than 7F has a high chance of being female. 00 = 100% Female)
14=STEPS FOR EGG TO HATCH (eg. 5,120 steps would be: 1400. Only the first part is used, '14'. Then '00' is discarded.)
46=??
03=??
01=EGG TYPE 1 (For a list of Egg Types go down.)
07=EGG TYPE 2 (For a list of Egg Types go down.)
41=SPECIAL ABILITY 1 (For a list of Abilities go down.)
00=SPECIAL ABILITY 2 (For a list of Abilities go down.)
00=SAFARI ZONE RUN AWAY CHANCE (00 - AF. Anything over AF may glitch the game)
03=??
00=??
00=??

Alright, I hope you got all that... I'm not saying it again! Anyway, editing certain values in there will make the Pokemon Change in certain ways,

obviously.

Here is a list of the Egg Types:
01 - Monster
02 - Water 1
03 - Virus
04 - Bird
05 - Field
06 - ??? (Didn't research this.)
07 - Grass
08 - Water 3
09 - Mineral
0A - Chaos
0B - Water 2
0C - Ditto (Can breed with anything.)
0D - Dragon
0E - No Type


And here is a list of the Special Abilities: 00 -------
01 STENCH
02 DRIZZLE
03 SPEED BOOST
04 BATTLE ARMOR
05 STURDY
06 DAMP
07 LIMBER
08 SAND VEIL
09 STATIC
0A VOLT ABSORB
0B WATER ABSORB
0C OBLIVIOUS
0D CLOUD NINE
0E COMPOUNDEYES
0F INSOMNIA
10 COLOR CHANGE
11 IMMUNITY
12 FLASH FIRE
13 SHIELD DUST
14 OWN TEMPO
15 SUCTION CUPS
16 INTIMIDATE
17 SHADOW TAG
18 ROUGH SKIN
19 WONDER GUARD
1A LEVITATE
1B EFFECT SPORE
1C SYNCHRONIZE
1D CLEAR BODY
1E NATURAL CURE
1F LIGHTNINGROD
20 SERENE GRACE
21 SWIFT SWIM
22 CHLOROPHYLL
23 ILLUMINATE
24 TRACE
25 HUGE POWER
26 POISON POINT
27 INNER FOCUS
28 MAGMA ARMOR
29 WATER VEIL
2A MAGNET PULL
2B SOUNDPROOF
2C RAIN DISH
2D SAND STREAM
2E PRESSURE
2F THICK FAT
30 EARLY BIRD
31 FLAME BODY
32 RUN AWAY
33 KEEN EYE
34 HYPER CUTTER
35 PICKUP
36 TRUANT
37 HUSTLE
38 CUTE CHARM
39 PLUS
3A MINUS
3B FORECAST
3C STICKY HOLD
3D SHED SKIN
3E GUTS
3F MARVEL SCALE
40 LIQUID OOZE
41 OVERGROW
42 BLAZE
43 TORRENT
44 SWARM
45 ROCK HEAD
46 DROUGHT
47 ARENA TRAP
48 VITAL SPIRIT
49 WHITE SMOKE
4A PURE POWER
4B SHELL ARMOR
4C CACOPHONY
4D AIR LOCK

.::Step 4::.
Finally you can save your work. Open your Emulator and test the game. :)

This guide was made in memory of my cat, who I have not seen in 2 months. I'm sure he'll be back soon. :)

zaayid
January 24th, 2008, 07:57 AM
In the 'Value:' text-box put this data: "2D31312D41410C032D400001000000001F144603010741000 0030000" without the quotation marks (That data is for

Bulbasaur).
How do you find the data for other Pokemon?

Darthatron
January 24th, 2008, 07:34 PM
Each Pokemons Data is after Bulbasaurs, you just have to skip ahead a few Bytes and then you'll be at Ivysaur, then Venasaur, etc...

Vegeta™
March 15th, 2008, 03:19 AM
So what does this really do to the rom?

Does it change the gym leaders pokemons?

mechu95
April 1st, 2008, 12:43 PM
I think he means changing actual data for Pokemon, not Pokemon themselves...right? Like Their stats and abilities...

DarkFear
April 1st, 2008, 11:46 PM
It means it changes every Bulbasaur in the game. Sadly hex editing is drastically shadowed by programs. Nice informative tutorial though, cleared up alot of stuff for me.

Darthatron
April 2nd, 2008, 12:05 AM
It means it changes every Bulbasaur in the game. Sadly hex editing is drastically shadowed by programs. Nice informative tutorial though, cleared up alot of stuff for me.
I'll just ignore that...

This tutorial shows you how to edit a Pokemon's Base Stats. For example... It's HP, Attack and Defense.

FireFlame
April 21st, 2008, 06:18 AM
This help me a lot Thank you...:)

anyway why Bulbasaur only?... Could you put more???....

is this able with ruby?

anyway good tutorial;)

Master_Track
April 21st, 2008, 06:42 AM
yes you can, he wrote: Gba series^^

nemesish
May 18th, 2008, 08:11 PM
long time since i HEX edited this way... nice memories.
Very useful if you want to hack base EXP, catch rate and steps to hatch eggs (mewtwo to hatch at 1 step... hehehe)

Sir Spanky
August 14th, 2008, 08:09 AM
(sorry if this is a bit of a thread necro!)

This is a decent guide thanks! I was wondering if it was possible to do either of two things this way:

1. Edit the TM's. For example, can I make TM 22 Meteor Mash using a hex editor?
2. Is it possible to actually edit what the special abilities do? (e.g a Special Attack version of Intimidate)

Thanks if you can help.

Christos
August 14th, 2008, 08:53 AM
Do not revive threads that are over a month old, please.♥