Unit Stat Slots - 1234567890num/KH2FM-Plando-Useful-Codes GitHub Wiki
These can be used to edit object's stats. All edits made to enemies here are temporary while some edits toward the party are permanent (particularly Max HP, MP, and Drive).
Format
| PS2 Offset | PC Offset | Type | Content |
|---|---|---|---|
| 0 | 0 | Int | Current HP |
| 4 | 4 | Int | Max HP |
| 180 | 180 | Int | Current MP |
| 184 | 184 | Int | Max MP |
| 188 | 188 | Short | Strength |
| 18A | 18A | Short | Magic |
| 18C | 18C | Short | Defense |
| 18E | 18E | Short | AP |
| 1A8 | 1A8 | Byte | Physical Damage % |
| 1A9 | 1A9 | Byte | Fire Damage % |
| 1AA | 1AA | Byte | Blizzard Damage % |
| 1AB | 1AB | Byte | Thunder Damage % |
| 1AC | 1AC | Byte | Darkness Damage % |
| 1AD | 1AD | Byte | Light Damage % |
| 1AE | 1AE | Byte | Universal Damage % |
| 1AF | 1AF | Byte | Drive Bar Display |
| 1B0 | 1B0 | Byte | Drive Gauge Fill |
| 1B1 | 1B1 | Byte | Current Drive Gauge |
| 1B2 | 1B2 | Byte | Max Drive Gauge |
| 1B3 | 1B3 | Byte | Max Drive Time Display |
| 1B4 | 1B4 | Float | Current Drive Time |
| 1B8 | 1B8 | Float | Max Drive Time |
| 1BC | 1BC | Float | Current MP Charge Time |
| 1C0 | 1C0 | Float | Max MP Charge Time |
| 1F4 | 1F8 | Int | Slot Pointer* (current slot) |
| 244 | 250 | Int | Party Stat Pointer |
| 248 | 254 | Int | Form Stat Pointer |
| 264 | 270 | Int | Enemy Stat Pointer |
*Type is Long on PC
Addresses
| PS2 Address | PC Address | Content |
|---|---|---|
| 1C6C750 | 2A20C58 | Slot 1 |
| 1C6C4E8 | 2A209E0 | Slot 2 |
| 1C6C280 | 2A20768 | Slot 3 |
| 1C6C018 | 2A204F0 | Slot 4 |
| 1C6BDB0 | 2A20278 | Slot 5 |
| 1C6BB48 | 2A20000 | Slot 6 |
| 1C6B8E0 | 2A1FD88 | Slot 7 |
| 1C6B678 | 2A1FB10 | Slot 8 |
| 1C6B410 | 2A1F898 | Slot 9 |
| 1C6B1A8 | 2A1F620 | Slot 10 |
| 1C6AF40 | 2A1F3A8 | Slot 11 |
| 1C6ACD8 | 2A1F130 | Slot 12 |
Notes:
- There's more than 12 slots, but they're unused most of the time.
- The game loads the characters in order of Sora -> party -> ally -> enemies.
- If Sora enters a battle in drive forms/summons, the used party member(s) won't be considered for slots until they return. This moves all other units forward in the slot order.
- This means that if you want to edit a boss' stats when fighting with a party, you might have to edit 3 slots (one for base/Limit, one for Valor/Wisdom, one for Master/Final/Summon).
- Cutscenes might mess around with these slots, so be careful when editing these.