**************************************************************************
* Pokmon XD: Gale of Darkness PAL Action Replay Modifier & Offset Table *
**************************************************************************

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

Trainer

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

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

42525CE0 00B6xxxx - Trainer Secret ID
42525CE0 00B7xxxx - Trainer ID

Pokemon 1

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

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

40525CE0 000181xx - Pokemon Level (Actual)

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

40525CE0 000186xx - Status

40525CE0 00018Dxx - Ability Used (00 = First, 40 = Second)

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

40525CE0 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

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

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

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

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

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

42525CE0 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

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

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

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

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

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

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

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

Pokemon 2

42525CE0 011Axxxx - Pokemon Modifier
42525CE0 011Bxxxx - Item Held

40525CE0 000242xx - Pokemon Level Met
...

Pokemon 3

42525CE0 017Cxxxx - Pokemon Modifier
...

Pokemon 6

42525CE0 02A2xxxx - Pokemon Modifier
...

Box 1 Pokemon 1

42525CE0 0572xxxx - Pokemon Modifier
42525CE0 0573xxxx - Item Held

40525CE0 000AF2xx - Pokemon Level Met
...

Box 1 Pokemon 2

42525CE0 05D4xxxx - Pokemon Modifier
42525CE0 05D5xxxx - Item Held

40525CE0 000BB6xx - Pokemon Level Met
...

Box 1 Pokemon 30

42525CE0 108Cxxxx - Pokemon Modifier
42525CE0 108Dxxxx - Item Held

40525CE0 002126xx - Pokemon Level Met
...

Box 2 Pokemon 1

42525CE0 10F8xxxx - Pokemon Modifier
42525CE0 10F9xxxx - Item Held

40525CE0 0021FExx - Pokemon Level Met
...

Box 8 Pokemon 1

42525CE0 561Cxxxx - Pokemon Modifier
42525CE0 561Dxxxx - Item Held

40525CE0 00AC46xx - Pokemon Level Met
...

Box 8 Pokemon 30

42525CE0 6136xxxx - Pokemon Modifier
...

Items

Slot 1
42525CE0 0304xxxx - Item Modifier
42525CE0 0305xxxx - Quantity (0000 ... 03E7)

Slot 2
42525CE0 0306xxxx
42525CE0 0307xxxx

...

Slot 30
42525CE0 033Exxxx
42525CE0 033Fxxxx

Key Items

Slot 1
42525CE0 0340xxxx - Key Item Modifier
42525CE0 0341xxxx - Quantity (0000 ... 0001)

Slot 2
42525CE0 0342xxxx
42525CE0 0343xxxx

...

Slot 40
42525CE0 038Exxxx
42525CE0 038Fxxxx

Balls

Slot 1
42525CE0 03960001 - Master Ball
42525CE0 0397xxxx - Quantity (0000 ... 03E7)

Slot 2
42525CE0 03980002 - Ultra Ball
42525CE0 0399xxxx

...

Slot 12
42525CE0 03AC000C - Premier Ball
42525CE0 03ADxxxx

TMs

TM01
42525CE0 03B60121 - Focus Punch
42525CE0 03B7xxxx - Quantity (0000 ... 03E7)

TM02
42525CE0 03B80122 - Dragon Claw
42525CE0 03B9xxxx

...

TM50
42525CE0 04180152 - Overheat
42525CE0 0419xxxx

Berries

Slot 1
42525CE0 04360085 - Cheri Berry
42525CE0 0437xxxx - Quantity (0000 ... 03E7)

Slot 2
42525CE0 04380086 - Chesto Berry
42525CE0 0439xxxx

...

Slot 42
42525CE0 048800AE - Starf Berry
42525CE0 0489xxxx

Cologne Case

42525CE0 04920201 - Joy Scent
42525CE0 0493xxxx - Quantity (0000 ... 03E7)

42525CE0 04940202 - Excite Scent
42525CE0 0495xxxx

42525CE0 04960203 - Vivid Scent
42525CE0 0497xxxx

Battle CDs

42525CE0 04980216 - Battle CD 1
42525CE0 0499xxxx - Quantity (0000 ... 0001)

42525CE0 049A0217 - Battle CD 2
42525CE0 049Bxxxx

...

42525CE0 04FA0247 - Battle CD 50
42525CE0 04FBxxxx

Money

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

PokeCoupons

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

PC

Slot 1
42525CE0 6198xxxx - Item Modifier
42525CE0 6199xxxx - Quantity (0000 ... 03E7)

Slot 2
42525CE0 619Axxxx
42525CE0 619Bxxxx

...

Strategy Memo

42525CE0 6438xxxx - Number of Entries

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

...

42525CE0 6D40xxxx - 386th Entry

Shadow Pokemon

Pokemon 1 (Teddiursa)

40525CE0 00E3CExx - Ball Caught With

40525CE0 00E3D3xx - DV Hit Points
40525CE0 00E3D4xx - DV Attack
40525CE0 00E3D5xx - DV Defence
40525CE0 00E3D6xx - DV Special Attack
40525CE0 00E3D7xx - DV Special Defence
40525CE0 00E3D8xx - DV Speed

42525CE0 71EFxxxx - Location Caught

42525CE0 71F100D8 - Pokemon Modifier (00D8 = Teddiursa)

42525CE0 71F2xxxx - Pokemon ID (High)
42525CE0 71F3xxxx - Pokemon ID (Low)

42525CE0 71F7xxxx - Purification Counter (Start Value = 0BB8)

40525CE0 00E407xx - Shadow Pokemon ID (01)

Pokemon 2 (Vulpix)

40525CE0 00E416xx - Ball Caught With

40525CE0 00E41Bxx - DV Hit Points
40525CE0 00E41Cxx - DV Attack
40525CE0 00E41Dxx - DV Defence
40525CE0 00E41Exx - DV Special Attack
40525CE0 00E41Fxx - DV Special Defence
40525CE0 00E420xx - DV Speed

42525CE0 7213xxxx - Location Caught

42525CE0 72150025 - Pokemon Modifier (0025 = Vulpix)

42525CE0 7216xxxx - Pokemon ID (High)
42525CE0 7217xxxx - Pokemon ID (Low)

42525CE0 721Bxxxx - Purification Counter (Start Value = 07D0)

40525CE0 00E44Fxx - Shadow Pokemon ID (02)

...

Pokemon 73 (Lugia)

40525CE0 00F80Exx - Ball Caught With

40525CE0 00F813xx - DV Hit Points
40525CE0 00F814xx - DV Attack
40525CE0 00F815xx - DV Defence
40525CE0 00F816xx - DV Special Attack
40525CE0 00F817xx - DV Special Defence
40525CE0 00F818xx - DV Speed

42525CE0 7C0Fxxxx - Location Caught

42525CE0 7C1100F9 - Pokemon Modifier (00F9 = Lugia)

42525CE0 7C12xxxx - Pokemon ID (High)
42525CE0 7C13xxxx - Pokemon ID (Low)

42525CE0 7C17xxxx - Purification Counter (Start Value = 2EE0)

40525CE0 00F847xx - Shadow Pokemon ID (49)

...

Pokemon 82 (Poochyena)

40525CE0 00FA96xx - Ball Caught With

40525CE0 00FA9Bxx - DV Hit Points
40525CE0 00FA9Cxx - DV Attack
40525CE0 00FA9Dxx - DV Defence
40525CE0 00FA9Exx - DV Special Attack
40525CE0 00FA9Fxx - DV Special Defence
40525CE0 00FAA0xx - DV Speed

42525CE0 7D53xxxx - Location Caught

42525CE0 7D55011E - Pokemon Modifier (011E = Poochyena)

42525CE0 7D56xxxx - Pokemon ID (High)
42525CE0 7D57xxxx - Pokemon ID (Low)

42525CE0 7D5Bxxxx - Purification Counter (Start Value = 09C4)

40525CE0 00FACFxx - Shadow Pokemon ID (52)

Pokemon 83 (Ledyba)

40525CE0 00FADExx - Ball Caught With

40525CE0 00FAE3xx - DV Hit Points
40525CE0 00FAE4xx - DV Attack
40525CE0 00FAE5xx - DV Defence
40525CE0 00FAE6xx - DV Special Attack
40525CE0 00FAE7xx - DV Special Defence
40525CE0 00FAE8xx - DV Speed

42525CE0 7D77xxxx - Location Caught

42525CE0 7D7900A5 - Pokemon Modifier (00A5 = Ledyba)

42525CE0 7D7Axxxx - Pokemon ID (High)
42525CE0 7D7Bxxxx - Pokemon ID (Low)

42525CE0 7D7Fxxxx - Purification Counter (Start Value = 09C4)

40525CE0 00FB17xx - Shadow Pokemon ID (53)


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

Trainer

Pokemon 1

024DC708 0000xxxx - Pokemon Modifier
024DC70A 0000xxxx - Item Held
024DC70C 0000xxxx - Hit Points (Actual)
024DC70E 0000xxxx - Happiness
004DC719 000000xx - Pokemon Level (Actual)

004DC71E 000000xx - Status

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

044DC728 xxxxxxxx - EXP Points Modifier
024DC788 0000xxxx - 1st Move Modifier
024DC78A 0000xxyy - 1st Move PP Modifier
024DC78C 0000xxxx - 2nd Move Modifier
024DC78E 0000xxyy - 2nd Move PP Modifier
024DC790 0000xxxx - 3rd Move Modifier
024DC792 0000xxyy - 3rd Move PP Modifier
024DC794 0000xxxx - 4th Move Modifier
024DC796 0000xxyy - 4th Move PP Modifier
024DC798 0000xxxx - Hit Points (Max)
024DC79A 0000xxxx - Attack
024DC79C 0000xxxx - Defence
024DC79E 0000xxxx - Special Attack
024DC7A0 0000xxxx - Special Defence
024DC7A2 0000xxxx - Speed

Pokemon 2

024DCA08 0000xxxx - Pokemon Modifier
024DCA0A 0000xxxx - Item Held
...
024DCAA2 0000xxxx - Speed


Opponent

Pokemon 1

024E35F8 0000xxxx - Pokemon Modifier
024E35FA 0000xxxx - Item Held
...
024E3692 0000xxxx - Speed

Pokemon 2

024E38F8 0000xxxx - Pokemon Modifier
024E38FA 0000xxxx - Item Held
...
024E3992 0000xxxx - Speed


====
MISC
====

Joker Address

8047F10C 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

