# Rule change X19 (docs/EXTRAS.md, UnitRotation): a unit the player
# activates clears the Wait of its stack and sets it on the civ's other
# units, so that its stack comes next.  CIV2_TEST_EXTRAS=19.  Made on the
# autosave: three warriors at (34,58), all told to wait (W); one of them
# activated from the stack's list and its turn done (Space): with the rule
# the next unit is another of the warriors, without it a unit elsewhere.
# test: CIV2_TEST_EXTRAS=19
wait 8000
key Down Down Down Down     # "Load a Game"
wait 500
file Ca_Auto.SAV
key Return
wait 20000
key Return
wait 8000
call unit_create 5b3d06 2 1 34 58
wait 300
call unit_create 5b3d06 2 1 34 58
wait 300
call unit_create 5b3d06 2 1 34 58
wait 300
key g                       # the phalanx (the active unit) to Rome
wait 1000
key Return
wait 4000
shot x19-a-warrior          # a warrior active
key w
wait 1500
key w
wait 1500
key w
wait 2000
shot x19-b-waited           # another unit active
key v
wait 1500
call map_set_cursor_pos 410d98 34 58
wait 300
call ui_pick_unit_from_stack 58d442
wait 1500
key Return                  # the first warrior
wait 2000
key space
wait 3000
shot x19-c-next             # the rule: a warrior; else another unit
