*****************************************************************************
* Pokmon XD: Gale of Darkness NTSC-U Action Replay Modifier & Offset Table *
*****************************************************************************

=======================
OUT OF BATTLE MODIFIERS
=======================

Trainer

424EB6F8 00A0xxxx - Trainer Name, 1st Letter
424EB6F8 00A1xxxx - Trainer Name, 2nd Letter
424EB6F8 00A2xxxx - Trainer Name, 3rd Letter
424EB6F8 00A3xxxx - Trainer Name, 4th Letter
424EB6F8 00A4xxxx - Trainer Name, 5th Letter
424EB6F8 00A5xxxx - Trainer Name, 6th Letter
424EB6F8 00A6xxxx - Trainer Name, 7th Letter
424EB6F8 00A7xxxx - Trainer Name, 8th Letter

0041 = 'A' ... 005A = 'Z' ... 0061 = 'a' ... 007A = 'z'

424EB6F8 00B6xxxx - Trainer Secret ID
424EB6F8 00B7xxxx - Trainer ID

Pokemon 1

424EB6F8 00B8xxxx - Pokemon Modifier
424EB6F8 00B9xxxx - Item Held
424EB6F8 00BAxxxx - Hit Points (Actual)
424EB6F8 00BBxxxx - Happiness  (0000 = Bad ... 00FF = Good)

424EB6F8 00BCxxxx - Location Caught
404EB6F8 00017Exx - Pokemon Level Met
404EB6F8 00017Fxx - Ball Caught With        (01 = Master Ball, ... 0C = Premier Ball)
404EB6F8 000180xx - Original Trainer Gender (00 = Male, 01 = Female)

404EB6F8 000181xx - Pokemon Level (Actual)

404EB6F8 000182xx - CV Luster (00 ... FF)
404EB6F8 000183xx - Pokerus   (00 = Never Had, 01 ... 0F = Still Has, 10 ... FF = Is Over)
404EB6F8 000184xx - Marks     (01 = Circle, 02 = Square, 04 = Triangle, 08 = Heart)

404EB6F8 000186xx - Status

404EB6F8 00018Dxx - Ability Used (00 = First, 40 = Second)

424EB6F8 00C8xxxx - EXP Points Modifier (High)
424EB6F8 00C9xxxx - EXP Points Modifier (Low)
424EB6F8 00CAxxxx - Original Trainer Secret ID
424EB6F8 00CBxxxx - Original Trainer ID
424EB6F8 00CCxxxx - Pokemon ID (High) | Used for: Shiny, Gender,
424EB6F8 00CDxxxx - Pokemon ID (Low)  | Unown Shape and Nature

404EB6F8 00019Bxx - Gender

Different Pokemon have different ranges for gender:

No Gender     = 00 ... FF
Always Female = 00 ... FF
Always Male   = 00 ... FF

12.5% Female & 87.5% Male: Female = 00 ... 1E  Male = 1F ... FF
25%   Female & 75%   Male: Female = 00 ... 3E  Male = 3F ... FF
50%   Female & 50%   Male: Female = 00 ... 7E  Male = 7F ... FF
75%   Female & 25%   Male: Female = 00 ... BE  Male = BF ... FF

404EB6F8 0001A3xx - Obedient  (01 = Obedient)
404EB6F8 0001A4xx - Came From (01 = Fire, 02 = Leaf, ... 08 = Sapphire, 09 = Ruby, 0A = Emerald, 0B = Colosseum/XD)

404EB6F8 0001A6xx - Original Font (01 = Japanese, 02 = English, 03 = German, 04 = French, 05 = Italian, 06 = Spanish)
404EB6F8 0001A7xx - Actual Font

424EB6F8 00D4xxxx - Original Trainer Name, 1st Letter
424EB6F8 00D5xxxx - Original Trainer Name, 2nd Letter
424EB6F8 00D6xxxx - Original Trainer Name, 3rd Letter
424EB6F8 00D7xxxx - Original Trainer Name, 4th Letter
424EB6F8 00D8xxxx - Original Trainer Name, 5th Letter
424EB6F8 00D9xxxx - Original Trainer Name, 6th Letter
424EB6F8 00DAxxxx - Original Trainer Name, 7th Letter
424EB6F8 00DBxxxx - Original Trainer Name, 8th Letter

424EB6F8 00DFxxxx - Pokemon Name,  1st Letter
424EB6F8 00E0xxxx - Pokemon Name,  2nd Letter
424EB6F8 00E1xxxx - Pokemon Name,  3rd Letter
424EB6F8 00E2xxxx - Pokemon Name,  4th Letter
424EB6F8 00E3xxxx - Pokemon Name,  5th Letter
424EB6F8 00E4xxxx - Pokemon Name,  6th Letter
424EB6F8 00E5xxxx - Pokemon Name,  7th Letter
424EB6F8 00E6xxxx - Pokemon Name,  8th Letter
424EB6F8 00E7xxxx - Pokemon Name,  9th Letter
424EB6F8 00E8xxxx - Pokemon Name, 10th Letter

424EB6F8 00EAxxxx - Original Pokemon Name,  1st Letter
424EB6F8 00EBxxxx - Original Pokemon Name,  2nd Letter
424EB6F8 00ECxxxx - Original Pokemon Name,  3rd Letter
424EB6F8 00EDxxxx - Original Pokemon Name,  4th Letter
424EB6F8 00EExxxx - Original Pokemon Name,  5th Letter
424EB6F8 00EFxxxx - Original Pokemon Name,  6th Letter
424EB6F8 00F0xxxx - Original Pokemon Name,  7th Letter
424EB6F8 00F1xxxx - Original Pokemon Name,  8th Letter
424EB6F8 00F2xxxx - Original Pokemon Name,  9th Letter
424EB6F8 00F3xxxx - Original Pokemon Name, 10th Letter

424EB6F8 00F6xxxx - Extra/Special Ribbons

Bit15 = Hall of Fame Member Ribbon
Bit14 = Ribbon for clearing Lv 50 at the Battle Tower
Bit13 = Ribbon for clearing Lv 100 at the Battle Tower
Bit12 = Ribbon for becoming the model of a painting
Bit11 = Ribbon awarded for being a hard worker
Bit10 = Special Ribbon 1
Bit09 = Special Ribbon 2
Bit08 = Special Ribbon 3
Bit07 = Special Ribbon 4
Bit06 = Special Ribbon 5 (Colosseum/Ribbon awarded for clearing all difficulties)
Bit05 = Special Ribbon 6 (XD/100-Straight Win Commemorative Ribbon)
Bit04 = Special Ribbon 7
Bit03 = 0
Bit02 = 0
Bit01 = 0
Bit00 = 0

424EB6F8 00F8xxxx - 1st Move Modifier
424EB6F8 00F9xxyy - 1st Move PP Modifier (xx = PPs, yy = PPups Used)
424EB6F8 00FAxxxx - 2nd Move Modifier
424EB6F8 00FBxxyy - 2nd Move PP Modifier
424EB6F8 00FCxxxx - 3rd Move Modifier
424EB6F8 00FDxxyy - 3rd Move PP Modifier
424EB6F8 00FExxxx - 4th Move Modifier
424EB6F8 00FFxxyy - 4th Move PP Modifier

424EB6F8 0100xxxx - Hit Points (Max)
424EB6F8 0101xxxx - Attack
424EB6F8 0102xxxx - Defence
424EB6F8 0103xxxx - Special Attack
424EB6F8 0104xxxx - Special Defence
424EB6F8 0105xxxx - Speed

424EB6F8 0106xxxx - EV Hit Points      (0000 ... 00FF)
424EB6F8 0107xxxx - EV Attack          (0000 ... 00FF)
424EB6F8 0108xxxx - EV Defence         (0000 ... 00FF)
424EB6F8 0109xxxx - EV Special Attack  (0000 ... 00FF)
424EB6F8 010Axxxx - EV Special Defence (0000 ... 00FF)
424EB6F8 010Bxxxx - EV Speed           (0000 ... 00FF)

404EB6F8 000218xx - DV Hit Points      (00 ... 1F)
404EB6F8 000219xx - DV Attack          (00 ... 1F)
404EB6F8 00021Axx - DV Defence         (00 ... 1F)
404EB6F8 00021Bxx - DV Special Attack  (00 ... 1F)
404EB6F8 00021Cxx - DV Special Defence (00 ... 1F)
404EB6F8 00021Dxx - DV Speed           (00 ... 1F)

404EB6F8 00021Exx - CV Cool   (00 ... FF)
404EB6F8 00021Fxx - CV Beauty (00 ... FF)
404EB6F8 000220xx - CV Cute   (00 ... FF)
404EB6F8 000221xx - CV Smart  (00 ... FF)
404EB6F8 000222xx - CV Tough  (00 ... FF)

404EB6F8 000223xx - Cool Ribbons (01 = Normal, 02 = Super, 03 = Hyper, 04 = Master)
404EB6F8 000224xx - Beauty Ribbons
404EB6F8 000225xx - Cute Ribbons
404EB6F8 000226xx - Smart Ribbons
404EB6F8 000227xx - Tough Ribbons

404EB6F8 00022Bxx - Shadow Pokemon ID (01 = Teddiursa, ... 52 = Poochyena, 53 = Ledyba)

Pokemon 2

424EB6F8 011Axxxx - Pokemon Modifier
424EB6F8 011Bxxxx - Item Held

404EB6F8 000242xx - Pokemon Level Met
...

Pokemon 3

424EB6F8 017Cxxxx - Pokemon Modifier
...

Pokemon 6

424EB6F8 02A2xxxx - Pokemon Modifier
...

Box 1 Pokemon 1

424EB6F8 0572xxxx - Pokemon Modifier
424EB6F8 0573xxxx - Item Held

404EB6F8 000AF2xx - Pokemon Level Met
...

Box 1 Pokemon 2

424EB6F8 05D4xxxx - Pokemon Modifier
424EB6F8 05D5xxxx - Item Held

404EB6F8 000BB6xx - Pokemon Level Met
...

Box 1 Pokemon 30

424EB6F8 108Cxxxx - Pokemon Modifier
424EB6F8 108Dxxxx - Item Held

404EB6F8 002126xx - Pokemon Level Met
...

Box 2 Pokemon 1

424EB6F8 10F8xxxx - Pokemon Modifier
424EB6F8 10F9xxxx - Item Held

404EB6F8 0021FExx - Pokemon Level Met
...

Box 8 Pokemon 1

424EB6F8 561Cxxxx - Pokemon Modifier
424EB6F8 561Dxxxx - Item Held

404EB6F8 00AC46xx - Pokemon Level Met
...

Box 8 Pokemon 30

424EB6F8 6136xxxx - Pokemon Modifier
...

Items

Slot 1
424EB6F8 0304xxxx - Item Modifier
424EB6F8 0305xxxx - Quantity (0000 ... 03E7)

Slot 2
424EB6F8 0306xxxx
424EB6F8 0307xxxx

...

Slot 30
424EB6F8 033Exxxx
424EB6F8 033Fxxxx

Key Items

Slot 1
424EB6F8 0340xxxx - Key Item Modifier
424EB6F8 0341xxxx - Quantity (0000 ... 0001)

Slot 2
424EB6F8 0342xxxx
424EB6F8 0343xxxx

...

Slot 40
424EB6F8 038Exxxx
424EB6F8 038Fxxxx

Balls

Slot 1
424EB6F8 03960001 - Master Ball
424EB6F8 0397xxxx - Quantity (0000 ... 03E7)

Slot 2
424EB6F8 03980002 - Ultra Ball
424EB6F8 0399xxxx

...

Slot 12
424EB6F8 03AC000C - Premier Ball
424EB6F8 03ADxxxx

TMs

TM01
424EB6F8 03B60121 - Focus Punch
424EB6F8 03B7xxxx - Quantity (0000 ... 03E7)

TM02
424EB6F8 03B80122 - Dragon Claw
424EB6F8 03B9xxxx

...

TM50
424EB6F8 04180152 - Overheat
424EB6F8 0419xxxx

Berries

Slot 1
424EB6F8 04360085 - Cheri Berry
424EB6F8 0437xxxx - Quantity (0000 ... 03E7)

Slot 2
424EB6F8 04380086 - Chesto Berry
424EB6F8 0439xxxx

...

Slot 42
424EB6F8 048800AE - Starf Berry
424EB6F8 0489xxxx

Cologne Case

424EB6F8 04920201 - Joy Scent
424EB6F8 0493xxxx - Quantity (0000 ... 03E7)

424EB6F8 04940202 - Excite Scent
424EB6F8 0495xxxx

424EB6F8 04960203 - Vivid Scent
424EB6F8 0497xxxx

Battle CDs

424EB6F8 04980216 - Battle CD 1
424EB6F8 0499xxxx - Quantity (0000 ... 0001)

424EB6F8 049A0217 - Battle CD 2
424EB6F8 049Bxxxx

...

424EB6F8 04FA0247 - Battle CD 50
424EB6F8 04FBxxxx

Money

424EB6F8 0512xxxx - Money (High) | 00000000 ... 0098967F
424EB6F8 0513xxxx - Money (Low)  | (Max 9,999,999 dec)

PokeCoupons

424EB6F8 0514xxxx - PokeCoupons (High) | 00000000 ... 000F423F
424EB6F8 0515xxxx - PokeCoupons (Low)  | (Max 999,999 dec)

PC

Slot 1
424EB6F8 6198xxxx - Item Modifier
424EB6F8 6199xxxx - Quantity (0000 ... 03E7)

Slot 2
424EB6F8 619Axxxx
424EB6F8 619Bxxxx

...

Strategy Memo

424EB6F8 6438xxxx - Number of Entries

424EB6F8 643Axxxx - 1st Entry (Pokemon Number + 0x8000)
424EB6F8 6440xxxx - 2nd Entry
424EB6F8 6446xxxx - 3rd Entry

...

424EB6F8 6D40xxxx - 386th Entry

Shadow Pokemon

Pokemon 1 (Teddiursa)

404EB6F8 00E3CExx - Ball Caught With

404EB6F8 00E3D3xx - DV Hit Points
404EB6F8 00E3D4xx - DV Attack
404EB6F8 00E3D5xx - DV Defence
404EB6F8 00E3D6xx - DV Special Attack
404EB6F8 00E3D7xx - DV Special Defence
404EB6F8 00E3D8xx - DV Speed

424EB6F8 71EFxxxx - Location Caught

424EB6F8 71F100D8 - Pokemon Modifier (00D8 = Teddiursa)

424EB6F8 71F2xxxx - Pokemon ID (High)
424EB6F8 71F3xxxx - Pokemon ID (Low)

424EB6F8 71F7xxxx - Purification Counter (Start Value = 0BB8)

404EB6F8 00E407xx - Shadow Pokemon ID (01)

Pokemon 2 (Vulpix)

404EB6F8 00E416xx - Ball Caught With

404EB6F8 00E41Bxx - DV Hit Points
404EB6F8 00E41Cxx - DV Attack
404EB6F8 00E41Dxx - DV Defence
404EB6F8 00E41Exx - DV Special Attack
404EB6F8 00E41Fxx - DV Special Defence
404EB6F8 00E420xx - DV Speed

424EB6F8 7213xxxx - Location Caught

424EB6F8 72150025 - Pokemon Modifier (0025 = Vulpix)

424EB6F8 7216xxxx - Pokemon ID (High)
424EB6F8 7217xxxx - Pokemon ID (Low)

424EB6F8 721Bxxxx - Purification Counter (Start Value = 07D0)

404EB6F8 00E44Fxx - Shadow Pokemon ID (02)

...

Pokemon 73 (Lugia)

404EB6F8 00F80Exx - Ball Caught With

404EB6F8 00F813xx - DV Hit Points
404EB6F8 00F814xx - DV Attack
404EB6F8 00F815xx - DV Defence
404EB6F8 00F816xx - DV Special Attack
404EB6F8 00F817xx - DV Special Defence
404EB6F8 00F818xx - DV Speed

424EB6F8 7C0Fxxxx - Location Caught

424EB6F8 7C1100F9 - Pokemon Modifier (00F9 = Lugia)

424EB6F8 7C12xxxx - Pokemon ID (High)
424EB6F8 7C13xxxx - Pokemon ID (Low)

424EB6F8 7C17xxxx - Purification Counter (Start Value = 2EE0)

404EB6F8 00F847xx - Shadow Pokemon ID (49)

...

Pokemon 82 (Poochyena)

404EB6F8 00FA96xx - Ball Caught With

404EB6F8 00FA9Bxx - DV Hit Points
404EB6F8 00FA9Cxx - DV Attack
404EB6F8 00FA9Dxx - DV Defence
404EB6F8 00FA9Exx - DV Special Attack
404EB6F8 00FA9Fxx - DV Special Defence
404EB6F8 00FAA0xx - DV Speed

424EB6F8 7D53xxxx - Location Caught

424EB6F8 7D55011E - Pokemon Modifier (011E = Poochyena)

424EB6F8 7D56xxxx - Pokemon ID (High)
424EB6F8 7D57xxxx - Pokemon ID (Low)

424EB6F8 7D5Bxxxx - Purification Counter (Start Value = 09C4)

404EB6F8 00FACFxx - Shadow Pokemon ID (52)

Pokemon 83 (Ledyba)

404EB6F8 00FADExx - Ball Caught With

404EB6F8 00FAE3xx - DV Hit Points
404EB6F8 00FAE4xx - DV Attack
404EB6F8 00FAE5xx - DV Defence
404EB6F8 00FAE6xx - DV Special Attack
404EB6F8 00FAE7xx - DV Special Defence
404EB6F8 00FAE8xx - DV Speed

424EB6F8 7D77xxxx - Location Caught

424EB6F8 7D7900A5 - Pokemon Modifier (00A5 = Ledyba)

424EB6F8 7D7Axxxx - Pokemon ID (High)
424EB6F8 7D7Bxxxx - Pokemon ID (Low)

424EB6F8 7D7Fxxxx - Purification Counter (Start Value = 09C4)

404EB6F8 00FB17xx - Shadow Pokemon ID (53)


===================
IN BATTLE MODIFIERS
===================

Trainer

Pokemon 1

024A2128 0000xxxx - Pokemon Modifier
024A212A 0000xxxx - Item Held
024A212C 0000xxxx - Hit Points (Actual)
024A212E 0000xxxx - Happiness
024A2139 000000xx - Pokemon Level (Actual)

004A213E 000000xx - Status

00 = Normal
03 = Poison (Constant Damage)
04 = Poison (Increasing Damage)
05 = Paralyze
06 = Burn
07 = Freeze
08 = Sleep

044A2148 xxxxxxxx - EXP Points Modifier
024A21A8 0000xxxx - 1st Move Modifier
024A21AA 0000xxyy - 1st Move PP Modifier
024A21AC 0000xxxx - 2nd Move Modifier
024A21AE 0000xxyy - 2nd Move PP Modifier
024A21B0 0000xxxx - 3rd Move Modifier
024A21B2 0000xxyy - 3rd Move PP Modifier
024A21B4 0000xxxx - 4th Move Modifier
024A21B6 0000xxyy - 4th Move PP Modifier
024A21B8 0000xxxx - Hit Points (Max)
024A21BA 0000xxxx - Attack
024A21BC 0000xxxx - Defence
024A21BE 0000xxxx - Special Attack
024A21C0 0000xxxx - Special Defence
024A21C2 0000xxxx - Speed

Pokemon 2

024A2428 0000xxxx - Pokemon Modifier
024A242A 0000xxxx - Item Held
...
024A24C2 0000xxxx - Speed


Opponent

Pokemon 1

024A9018 0000xxxx - Pokemon Modifier
024A901A 0000xxxx - Item Held
...
024A90B2 0000xxxx - Speed

Pokemon 2

024A9318 0000xxxx - Pokemon Modifier
024A931A 0000xxxx - Item Held
...
024A93B2 0000xxxx - Speed


====
MISC
====

Joker Address

80444B2C xxxx - Buttons

0001 = DPad Left
0002 = DPad Right
0004 = DPad Down
0008 = DPad Up
0010 = Z
0020 = R
0040 = L
0100 = A
0200 = B
0400 = X
0800 = Y
1000 = Start

