Thread: How to get a trainer's decimal value.

1. How to get a trainer's decimal value.

I know this question is probably stupid but how do you get someone's decimal value?

Quote from preston:
'Riley's decimal value is 2010'

Originates from here:
http://forum.pokesav.org/viewtopic.php?f=15&t=3292

2. Re: How to get a trainer's decimal value.

Originally Posted by Lucia77
I know this question is probably stupid but how do you get someone's decimal value?

Quote from preston:
'Riley's decimal value is 2010'

Originates from here:
http://forum.pokesav.org/viewtopic.php?f=15&t=3292
That is not the trainer's decimal values. It is the value for an egg received location. Here are all the possible values:

Spoiler
Code:
```<file id="435" change="false">
<text id="0">
Day-Care Couple
</text>
<text id="1">
</text>
<text id="2">
</text>
<text id="3">
Kanto
</text>
<text id="4">
Johto
</text>
<text id="5">
Hoenn
</text>
<text id="6">
Sinnoh
</text>
<text id="7">
----
</text>
<text id="8">
Distant land
</text>
<text id="9">
Traveling Man
</text>
<text id="10">
Riley
</text>
<text id="11">
Cynthia
</text>
<text id="12">
Mystery Zone
</text>
</file>```

3. Re: How to get a trainer's decimal value.

I aint too good with html. I use Pokesave.

So making the 44h value DA (decimal 10) and 45h value 07 (decimal 20) will change the Egg into an Egg that is traded from another game where it first has been received from the Daycare. Right? So you can add this to unhatched pokemon right? Afther that does the game auto create the 46h and 47h upon hatching? The 85h of course remains 00.

4. Re: How to get a trainer's decimal value.

Originally Posted by Lucia77
I aint too good with html. I use Pokesave.

So making the 44h value DA (decimal 10) and 45h value 07 (decimal 20) will change the Egg into an Egg that is traded from another game where it first has been received from the Daycare. Right? So you can add this to unhatched pokemon right? Afther that does the game auto create the 46h and 47h upon hatching? The 85h of course remains 00.
Well pokesav does not let you see this for what it is.

For every thing I posted the value in the game is: 2000+"text number in the file"

Riley is 10, so the value for egg received from Riley is 2010

in hex this is 0x7DA. It is stored in little endian. So stored as DA 07

If you wanted to make it received from Cynthia you would use DB 07

To make it received from the day car, you would use: 2000 = 0x7D0

so stored as D0 07. The game fill in 46h and 47h based on the location hatched.

5. Re: How to get a trainer's decimal value.

Ok but how to you find out that Riley is DA 07 and Cynthia is DB 07. How do you calculate that? From ID/HID?

6. Re: How to get a trainer's decimal value.

Originally Posted by Lucia77
Ok but how to you find out that Riley is DA 07 and Cynthia is DB 07. How do you calculate that? From ID/HID?
I already told you that its 2000 + number on the list I posted. Then its a matter of converting a decimal value to hex.

Here is a full list of location names:

Spoiler

<file id="433" change="false">
<text id="0">
Mystery Zone
</text>
<text id="1">
Twinleaf Town
</text>
<text id="2">
Sandgem Town
</text>
<text id="3">
Floaroma Town
</text>
<text id="4">
Solaceon Town
</text>
<text id="5">
Celestic Town
</text>
<text id="6">
Jubilife City
</text>
<text id="7">
Canalave City
</text>
<text id="8">
Oreburgh City
</text>
<text id="9">
Eterna City
</text>
<text id="10">
Hearthome City
</text>
<text id="11">
Pastoria City
</text>
<text id="12">
Veilstone City
</text>
<text id="13">
Sunyshore City
</text>
<text id="14">
Snowpoint City
</text>
<text id="15">
Pokémon League
</text>
<text id="16">
Route 201
</text>
<text id="17">
Route 202
</text>
<text id="18">
Route 203
</text>
<text id="19">
Route 204
</text>
<text id="20">
Route 205
</text>
<text id="21">
Route 206
</text>
<text id="22">
Route 207
</text>
<text id="23">
Route 208
</text>
<text id="24">
Route 209
</text>
<text id="25">
Route 210
</text>
<text id="26">
Route 211
</text>
<text id="27">
Route 212
</text>
<text id="28">
Route 213
</text>
<text id="29">
Route 214
</text>
<text id="30">
Route 215
</text>
<text id="31">
Route 216
</text>
<text id="32">
Route 217
</text>
<text id="33">
Route 218
</text>
<text id="34">
Route 219
</text>
<text id="35">
Route 220
</text>
<text id="36">
Route 221
</text>
<text id="37">
Route 222
</text>
<text id="38">
Route 223
</text>
<text id="39">
Route 224
</text>
<text id="40">
Route 225
</text>
<text id="41">
Route 226
</text>
<text id="42">
Route 227
</text>
<text id="43">
Route 228
</text>
<text id="44">
Route 229
</text>
<text id="45">
Route 230
</text>
<text id="46">
Oreburgh Mine
</text>
<text id="47">
Valley Windworks
</text>
<text id="48">
Eterna Forest
</text>
<text id="49">
Fuego Ironworks
</text>
<text id="50">
Mt. Coronet
</text>
<text id="51">
Spear Pillar
</text>
<text id="52">
Great Marsh
</text>
<text id="53">
Solaceon Ruins
</text>
<text id="54">
</text>
<text id="55">
Pal Park
</text>
<text id="56">
Amity Square
</text>
<text id="57">
Ravaged Path
</text>
<text id="58">
</text>
<text id="59">
Oreburgh Gate
</text>
<text id="60">
Fullmoon Island
</text>
<text id="61">
Sendoff Spring
</text>
<text id="62">
Turnback Cave
</text>
<text id="63">
</text>
<text id="64">
Snowpoint Temple
</text>
<text id="65">
Wayward Cave
</text>
<text id="66">
Ruin Maniac Cave
</text>
<text id="67">
Maniac Tunnel
</text>
<text id="68">
Trophy Garden
</text>
<text id="69">
Iron Island
</text>
<text id="70">
Old Chateau
</text>
<text id="71">
Galactic HQ
</text>
<text id="72">
Verity Lakefront
</text>
<text id="73">
Valor Lakefront
</text>
<text id="74">
Acuity Lakefront
</text>
<text id="75">
Spring Path
</text>
<text id="76">
Lake Verity
</text>
<text id="77">
Lake Valor
</text>
<text id="78">
Lake Acuity
</text>
<text id="79">
Newmoon Island
</text>
<text id="80">
Battle Tower
</text>
<text id="81">
Fight Area
</text>
<text id="82">
Survival Area
</text>
<text id="83">
Resort Area
</text>
<text id="84">
Stark Mountain
</text>
<text id="85">
Seabreak Path
</text>
<text id="86">
Hall of Origin
</text>
<text id="87">
Verity Cavern
</text>
<text id="88">
Valor Cavern
</text>
<text id="89">
Acuity Cavern
</text>
<text id="90">
Jubilife TV
</text>
<text id="91">
Pokétch Co.
</text>
<text id="92">
GTS
</text>
<text id="93">
Trainers’ School
</text>
<text id="94">
Mining Museum
</text>
<text id="95">
Flower Shop
</text>
<text id="96">
Cycle Shop
</text>
<text id="97">
Contest Hall
</text>
<text id="98">
Poffin House
</text>
<text id="99">
Foreign Building
</text>
<text id="100">
Pokémon Day Care
</text>
<text id="101">
Veilstone Store
</text>
<text id="102">
Game Corner
</text>
<text id="103">
Canalave Library
</text>
<text id="104">
Vista Lighthouse
</text>
<text id="105">
Sunyshore Market
</text>
<text id="106">
Pokémon Mansion
</text>
<text id="107">
Footstep House
</text>
<text id="108">
Café
</text>
<text id="109">
Grand Lake
</text>
<text id="110">
Restaurant
</text>
<text id="111">
Battle Park
</text>
<text id="112">
Battle Frontier
</text>
<text id="113">
Battle Factory
</text>
<text id="114">
Battle Castle
</text>
<text id="115">
</text>
<text id="116">
Battle Hall
</text>
<text id="117">
Distortion World
</text>
<text id="118">
Global Terminal
</text>
<text id="119">
Villa
</text>
<text id="120">
Battleground
</text>
<text id="121">
ROTOM’s Room
</text>
<text id="122">
T.G. Eterna Bldg
</text>
<text id="123">
Iron Ruins
</text>
<text id="124">
Iceberg Ruins
</text>
<text id="125">
Rock Peak Ruins
</text>
</file>
<file id="434" change="false">
<text id="0">
Lovely place
</text>
<text id="1">
Pokémon Ranger
</text>
<text id="2">
Faraway place
</text>
<text id="3">
Pokémon Movie
</text>
<text id="4">
Pokémon Movie 06
</text>
<text id="5">
Pokémon Movie 07
</text>
<text id="6">
Pokémon Movie 08
</text>
<text id="7">
Pokémon Movie 09
</text>
<text id="8">
Pokémon Movie 10
</text>
<text id="9">
Pokémon Movie 11
</text>
<text id="10">
Pokémon Movie 12
</text>
<text id="11">
Pokémon Movie 13
</text>
<text id="12">
Pokémon Movie 14
</text>
<text id="13">
Pokémon Movie 15
</text>
<text id="14">
Pokémon Movie 16
</text>
<text id="15">
Pokémon Cartoon
</text>
<text id="16">
Space World
</text>
<text id="17">
Space World 06
</text>
<text id="18">
Space World 07
</text>
<text id="19">
Space World 08
</text>
<text id="20">
Space World 09
</text>
<text id="21">
Space World 10
</text>
<text id="22">
Space World 11
</text>
<text id="23">
Space World 12
</text>
<text id="24">
Space World 13
</text>
<text id="25">
Space World 14
</text>
<text id="26">
Space World 15
</text>
<text id="27">
Space World 16
</text>
<text id="28">
Pokémon Festa
</text>
<text id="29">
Pokémon Festa 06
</text>
<text id="30">
Pokémon Festa 07
</text>
<text id="31">
Pokémon Festa 08
</text>
<text id="32">
Pokémon Festa 09
</text>
<text id="33">
Pokémon Festa 10
</text>
<text id="34">
Pokémon Festa 11
</text>
<text id="35">
Pokémon Festa 12
</text>
<text id="36">
Pokémon Festa 13
</text>
<text id="37">
Pokémon Festa 14
</text>
<text id="38">
Pokémon Festa 15
</text>
<text id="39">
Pokémon Festa 16
</text>
<text id="40">
POKéPARK
</text>
<text id="41">
POKéPARK 06
</text>
<text id="42">
POKéPARK 07
</text>
<text id="43">
POKéPARK 08
</text>
<text id="44">
POKéPARK 09
</text>
<text id="45">
POKéPARK 10
</text>
<text id="46">
POKéPARK 11
</text>
<text id="47">
POKéPARK 12
</text>
<text id="48">
POKéPARK 13
</text>
<text id="49">
POKéPARK 14
</text>
<text id="50">
POKéPARK 15
</text>
<text id="51">
POKéPARK 16
</text>
<text id="52">
Pokémon Center
</text>
<text id="53">
PC Tokyo
</text>
<text id="54">
PC Osaka
</text>
<text id="55">
PC Fukuoka
</text>
<text id="56">
PC Nagoya
</text>
<text id="57">
PC Sapporo
</text>
<text id="58">
PC Yokohama
</text>
<text id="59">
Nintendo World
</text>
<text id="60">
Pokémon Event
</text>
<text id="61">
Pokémon Event 06
</text>
<text id="62">
Pokémon Event 07
</text>
<text id="63">
Pokémon Event 08
</text>
<text id="64">
Pokémon Event 09
</text>
<text id="65">
Pokémon Event 10
</text>
<text id="66">
Pokémon Event 11
</text>
<text id="67">
Pokémon Event 12
</text>
<text id="68">
Pokémon Event 13
</text>
<text id="69">
Pokémon Event 14
</text>
<text id="70">
Pokémon Event 15
</text>
<text id="71">
Pokémon Event 16
</text>
<text id="72">
Wi-Fi Event
</text>
<text id="73">
</text>
<text id="74">
Pokémon Fan Club
</text>
<text id="75">
Event Site
</text>
<text id="76">
Concert Event
</text>
</file>
<file id="435" change="false">
<text id="0">
Day-Care Couple
</text>
<text id="1">
</text>
<text id="2">
</text>
<text id="3">
Kanto
</text>
<text id="4">
Johto
</text>
<text id="5">
Hoenn
</text>
<text id="6">
Sinnoh
</text>
<text id="7">
----
</text>
<text id="8">
Distant land
</text>
<text id="9">
Traveling Man
</text>
<text id="10">
Riley
</text>
<text id="11">
Cynthia
</text>
<text id="12">
Mystery Zone
</text>
</file>