386
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
= Items = | = Items = | ||
Located at offsets 0x70 (indices) and 0xd0 (durability) in the stat struct. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 109: | Line 111: | ||
= Key items = | = Key items = | ||
Located at offset 0x130 in the stat struct. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 176: | Line 180: | ||
= Protectors = | = Protectors = | ||
Located at offset 0x150 in the stat struct. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 260: | Line 266: | ||
= Weapons = | = Weapons = | ||
Uncharacteristically for save data, weapons are organized into an array of structs (instead of multiple arrays of scalars): | Located at offset 0x3d0 in the stat struct. Uncharacteristically for save data, weapons are organized into an array of structs (instead of multiple arrays of scalars): | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 494: | Line 500: | ||
| 31 || Reduces damage to weapons. | | 31 || Reduces damage to weapons. | ||
|} | |} | ||
= Magic = | |||
Located at offset 0x54 in the stat struct. This is a bitmask: | |||
{| class="wikitable" | |||
|- | |||
! Bit || Name | |||
|- | |||
| 0 || Enchantment Sol | |||
|- | |||
| 1 || Enchantment Dark | |||
|- | |||
| 2 || Enchantment Flame | |||
|- | |||
| 3 || Enchantment Frost | |||
|- | |||
| 4 || Enchantment Cloud | |||
|- | |||
| 5 || Enchantment Earth | |||
|- | |||
| 6 || Transform | |||
|- | |||
| 7 || Rising Sun | |||
|- | |||
| 8 || ??? (Zero Shift?) | |||
|- | |||
| 9 || ??? (Black Sun?) | |||
|- | |||
| 10 || Freeze | |||
|- | |||
| 11 || Dash | |||
|- | |||
| 12 || Healing | |||
|- | |||
| 13 || Dynamite | |||
|- | |||
| 14 || Sleeping | |||
|- | |||
| 15 || Change Bat | |||
|- | |||
| 16 || Change Mouse | |||
|- | |||
| 17 || Change Wolf | |||
|} | |||
The remaining bits are likely unused. | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Boktai 2]] | [[Category:Boktai 2]] |