# assert_combat_s1.txt -- Field assertions for tactical combat scenario 1.
#
# Scenario 1: 4 Human Halberdiers (player 0, units 110/418/534/669 at 12,18)
# attack 4 Stag Beetles (player 2, units 498/517/535/779 at 10,19), resolved
# via the in-combat Auto button.
#
# Pipeline (channel 1 -- real tactical screen, windowed, scripted):
#   copy SAVECMBT.GAM SAVE9.GAM
#   ReMoM --continue --seed1 12345 --scenario combat_s1.hms   (writes SAVE1.GAM)
#   savedump SAVE1.GAM SAVE1.txt
#   check_save_fields SAVE1.txt assert_combat_s1.txt
#
# Characterization baseline: pins CURRENT behavior for seed 12345, including any
# OGBUGs.  Seed-stream-sensitive -- any change that adds/removes an RNG draw in
# the combat path shifts these and the file must be re-captured from a fresh run.
#
# Padding fields (pad2B_*) are uninitialized memory and deliberately NOT asserted.

# --- Outcome: attackers WIN 1/4; defenders wiped 0/4; AI summons a Fire Elemental ---
game.turn = 615
game.cities = 58
game.units = 843

# Surviving attacker: one Halberdier holds the captured square (10,19), 4 figure-
# damage, XP 120 -> 129.
unit[534].owner_idx = 0
unit[534].type = 112
unit[534].damage = 4
unit[534].xp = 129
unit[534].wx = 10
unit[534].wy = 19

# Dead attacker Halberdiers (owner_idx = -1, type 112), left on the captured square.
unit[110].owner_idx = -1
unit[110].type = 112
unit[110].xp = 120
unit[110].wx = 10
unit[110].wy = 19
unit[418].owner_idx = -1
unit[418].type = 112
unit[418].xp = 120
unit[669].owner_idx = -1
unit[669].type = 112
unit[669].xp = 87

# Dead defender Stag Beetles (owner_idx = -1, type 119) -- all four wiped at (10,19).
unit[498].owner_idx = -1
unit[498].type = 119
unit[498].wx = 10
unit[498].wy = 19
unit[517].owner_idx = -1
unit[517].type = 119
unit[535].owner_idx = -1
unit[535].type = 119
unit[779].owner_idx = -1
unit[779].type = 119

# AI combat summon: Fire Elemental (type 158) created in slot 842 (dismissed at
# combat end -> owner_idx -1; the unit-count bump to 843 is the durable evidence).
unit[842].type = 158
