# Test-loop inputs (1280x800 taps "frame:x:y"). Use with the test hook ON and a scratch --storage.
# 1) New game -> ambush -> city at tutorial step 0x1b (Chapter 2). Run from an EMPTY storage dir
#    (copy settings.txt below into it first), 3500 frames:
#    RTK_T=none RTK_CLICK=<AMBUSH> RTK_SLEEPS=720,730,740,750 RTK_COLLECT=800,830,860,890 \
#      ./build/rtk --root .. --storage SCRATCH/v1 --screenshot SCRATCH/v1.png --frames 3500
#    settings.txt: "i MyCountry_flags/selected_language=0" and "i MyCountry_flags/show_starting_win=0"
#    The ambush (2026-10-20, with 5s-9's stance rules): attack 2290, block 2560 (tutorial 0x80, second
#    tutorial 0x91), the elixir in the belt 2740, the fire slot 2820, confirm 2880, Victory's
#    Continue 3060; the city (step 0x1b, Chapter 2) at about frame 3080.
AMBUSH=40:640:400,100:640:630,200:758:418,240:725:235,340:555:215,560:842:262,640:768:215,920:243:148,960:800:470,1300:243:130,1340:512:755,1500:1060:410,1700:640:400,1960:640:400,2160:539:301,2290:481:752,2560:546:752,2740:1245:765,2820:663:752,2880:481:752,3060:640:770
# 2) City tutorial 0x1b -> 0x61 from that save (SL=<SL> CO=<CO> tools/testrun.sh SCRATCH v1 c1 2750 "<CITY>";
#    without SL and CO it stops at the tax lesson 0x21):
CITY=20:640:700,160:975:420,450:975:372,700:808:520,920:636:668,1000:715:364,1120:640:440,1540:745:735,1700:780:275,1880:533:735,1960:515:448,2040:740:490,2100:745:398,2160:870:400,2300:640:700,2420:875:365,2500:640:645
SL=400,410,560,620,680,760,820,880,940,1000,1060,1120,1180,1240,1270,1300,1360,1420,1480,1500,1520,1560,1600,1640,1680,1720,1760,1820,1860,1900,1940,1980,2020,2060,2100,2140,2180,2200,2240,2280,2320,2360,2400,2440,2480,2520,2560,2600,2640,2680
CO=540,1800,2220
# 3) Step 0x61: the barracks opens HireTroopsWindow (5a): the CITY run with ,2700:690:265 added,
#    2800 frames, SL plus 2720,2760.
# 4) To the world map (step 0x67) and its campaign node (5d-1, 5f-1): the CITY run with
#    ,2700:690:265,2820:410:552,3500:640:646,3900:1240:38,4200:638:432 added (Train, Ok, compass,
#    the node: CampaignInfoWindow opens), 4500 frames, SL plus 2720,2760, 2900..3300 and
#    3550..4050 every 50, 4250,4300. Then 4320:860:520 taps the mentor (the story bubble), or
#    4320:635:580 taps Begin Campaign (map 0xe, step 0x80, Chapter 4; 5200 frames, SL plus
#    4350..4500 every 50, 4600,4700,4800).
# 5) The screenshot mode (5x-4) from the test save `base`: RTK_KEEPPAUSE=1 (the hook leaves the pause
#    on, so open windows keep the arrow) RTK_SHOT=35 (quest 1180 started with its conditions met)
#    RTK_HELP=40 RTK_HELPTYPE=49 RTK_HELPID=1329 RTK_HELPVAL=0 (its help: the arrow at the settings
#    gear) RTK_SHOTCHK=frames (prints the windows, the arrow and the quest); taps 50:1180:210 (the
#    arrow: settings open, the arrow at button_01), 90:345:205 (the screenshot mode), then
#    140:595:745 Okay (the PNG in the storage dir, quest 1180 done, 300:640:646 claims it) or
#    140:683:745 Cancel; 300 frames.
# 6) The featured-quest button (5x-5) from `base`: RTK_SECOND=256 (none during the second tutorial)
#    RTK_FEAT=35 (the starter chest key 0x2b6 as its pickup gives it: task 0x75b started) SL=40,42,44,46,
#    60,62,64 (the list is made once a second) RTK_FEATCHK=frames (GetFeaturedOffset, the windows);
#    tap 70:1175:125: the chests window's starter chest; 100 frames.
