# Rule change X42 (docs/EXTRAS.md, StackSentry): U with no land unit on
# sentry in the stack puts its land units on sentry; U again wakes them (the
# original's U).  CIV2_TEST_EXTRAS=42.  Made on the autosave: an armor, a
# legion and warriors at (34,58); the armor is the active unit.
# test: CIV2_TEST_EXTRAS=42
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 22 1 34 58
wait 300
call unit_create 5b3d06 5 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
key u
wait 5000
key v
wait 1500
call map_set_cursor_pos 410d98 34 58
wait 300
call ui_pick_unit_from_stack 58d442
wait 1500
shot x42-a-sentry           # all three on sentry (S)
key Return                  # activates the first
wait 2000
key u
wait 5000
key v
wait 1500
call map_set_cursor_pos 410d98 34 58
wait 300
call ui_pick_unit_from_stack 58d442
wait 1500
shot x42-b-woken            # none on sentry
key Escape
wait 1000
