ladyabaxa: (velonese)
Dark Wizard Savestate Hacking

COMMAND STATS

0x69ad8: command stats for the ruler (Command, Lead, etc.), 7 bytes


Armer IX stats
No. 1 (L) Prince       Gold: 207619
Race: Human
Status: Normal
Alignment: Lawful $00
CL/LV: 5/ 12
EXP/Next: 63/130 $3F/$82
HP/Max: 224/224 $E0
MP/Max: 508/508 $1FC
Att Str: 189, $BD (164, $a4 w/out weapon) difference of 25, $19
Def Str: 77, $4D
Mobility: 5
Move Type: Ground
Terrain: Ground
Inventory: Great Sword (equipped), Holy Cloth (equipped), Light Staff,
     Light Jewel, Dream Clock

command stats: 60/60/60/90/20/60/60
$3C/$3C/$3C/$5A/$14/$3C/$3C
stored in RAM at location 0x69ad8, part of 10 byte set?
command, lead, intellect, belief, luck, economic strength, magic strength
starting income: 144, starting gold: 3500, starting maxMP: 240
$90, $0DAC, $F0

starting gold at 0x69ADF: 3 bytes?

drag pup (law), dragon (law), serpent, unicorn, w'horse, centaur, roc, phoenix
2f, 30, 3f, 43, 44, 4b, 51, 52

600 $0258, 550 $0226, 520 $0208

======

Robin stats (starter)
No. 1 (L) Cavalry       Gold: 1550     Income: 152
Race: Human
Status: Normal
Alignment: Lawful $00
CL/LV: 5/ 1
EXP/Next: 0/130
HP/Max: 200/200
MP/Max: 233/233
Att Str: 150
Def Str: 40
Mobility: 6
Move Type: Ground
Terrain: Ground
Inventory: Light Staff (equipped), Plate Mail (equipped), Large Shield (equipped), Great Sword

command stats: 70/90/65/65/90/30/30
$46/$5A/$41/$41/$$5A/$1E/$1E
stored at 0x69ae4 (?), part of 11 byte block of data?
command, lead, intellect, belief, luck, economic strength, magic strength

domain spells: wind bolt, massheal, megaheal, cure paralysis, de-stone, sacrifice,
  confuse, protect

summons:
dragon pup (N), serpent, hippogriff, centaur, roc

NOTE: Robin's starter mage starts with NO spells

======

Amon stats (starter)
No. 1 (U) Vampire       Gold: 650     Income: 108
Race: Human
Status: Normal
Alignment: Undead $73
CL/LV: 5/ 1
EXP/Next: 0/140
HP/Max: 220/220
MP/Max: 495/495
Att Str: 120
Def Str: 50
Mobility: 7
Move Type: Low Altitude
Terrain: Air
Inventory: Light Staff (equipped), HLeather Armor (equipped), Maul

command stats: 50/55/50/0/10/20/90
$32/$37/$32/$00/$0A/$14/$5A
stored at 0x69af0 (?), another 11 byte set?
command, lead, intellect, belief, luck, economic strength, magic strength

domain spells: hellfire, meltearth, vampire, blade storm, megarestore, swapsoul,
  defense drain, night shield

summons:
skeleton, ghost, dragon pup (U), hydra, manticore, hell hound, lesser harpy

======

Krystal stats (starter)
No. 1 (C) Sorceress       Gold: 950     Income: 92
Race: Human
Status: Normal
Alignment: Chaotic $02
CL/LV: 5/ 1
EXP/Next: 0/140
HP/Max: 150/150
MP/Max: 469/469
Att Str: 80
Def Str: 40
Mobility: 5
Move Type: Ground
Terrain: Ground
Inventory: Light Staff (equipped), Leather Robe (equipped), Power Staff

command stats: 30/40/90/50/65/80/90
$1E/$28/$5A/$32/$41/$50/$5A
stored at 0x69afc (?), another 11 byte set?
command, lead, intellect, belief, luck, economic strength, magic strength
starting income: 92, starting gold: 950, starting maxMP: 469
$5c, $03B6, $01D5


domain spells: hellfire, blizzard breath, vortex, lavaflow, massheal, megarestore,
  swapsoul, confuse, resist magic

summons:
dragon pup (C), hydra, chimera, cockatrice, lesser harpy

-----

Armer IX tests

Castles: 28/32, Cities: 54/55, Income: 2059, mMana: 508
deliberately retreated to lose Nortia

advanced to Nortia
Castles: 27/32, Cities: 54/55, Income: 2026, mMana: 501
loss of 33 income and 7 max mana

after several turns the AI seized one city and castle
next turn Income dropped to 1960 and mMana to 499
loss of 66 income and 2 mana

sent forces to recapture the castle
Income: 1990, mMana: 501
gain of 30 income and 2 mana

retreated again, losing Asai and Astea castles

advanced to Asai
Castles: 25/32, Cities: 51/55, Income: 1858, mMana: 495
loss of 132 income and 6 mana

NOTE: Armer's line at the battle start was Warlord-specific so need to sit down
  and check/collect quotes one day.

let a turn pass and the AI captured one city but Armer's income didn't change until he
ended his turn -- new income: 1849, mana unchanged

loaded up the savestate fighting Arliman
Castles: 32/32, Cities: 55/55, Income: 2128, mMana: 508

----

Krystal tests

endgame save
Castles: 30/32, Cities: 55/55, Income: 1728, mMana: 948

retreated so Nortia would be taken by Velonese, advanced to Nortia
29 castles, 55 cities, Income: 1711, mMana: 934
retreated and Dorg + Astea castles were seized

advanced again on Nortia (enemy layout/roster different, although warlord in same spot)
27 castles, 52 cities, Income: 1587 mMana: 931

----

Robin tests
first stage save
1 castle, 2 cities, 159 income, 233 mMana

sent troops to take Shirster, south of Quentin
on Robin's next turn her income increased to 167
sent mage to seize Tourla castle south of Quentin, mMana was recalculated to 241, income to 209
cleared stage, advanced, 3 castles, 4 cities, 245 income, 251 mMana
◾ Tags: