description The Tingle Tuner (given, on X) with the in-app GBA on port 2: the game finds the GBA, uploads the Tuner program by JoyBus and links to it; scripted GBA keys then dismiss Tingle's talk and throw bombs (the GBA's frames are in the dump folder, the game's reaction in the shots)
# The GBA's screen is written twice a guest second to numbered files by BLUEWAKE_GBA_DUMP (the "%u"); the JoyBus traffic is in run.log (BLUEWAKE_GBA_LOG).
timeout 400
save 2-Pictobox
env BLUEWAKE_TINGLE_TUNER inapp
env BLUEWAKE_GBA_LOG 1
env BLUEWAKE_GBA_KEYS 4300:0x0100:6,4420:0x0100:6,4540:0x0100:6,4660:0x0100:6,4780:0x0100:6,4900:0x0100:6,5020:0x0100:6,5140:0x0100:6,5400:0x0200:6,5600:0x0200:6
env BLUEWAKE_GBA_DUMP {LOCAL}/scratch/tingle/gba_%u.ppm
start load
wait link
give tingle_tuner
equip X tingle_tuner
rupees 100
wait 25
press X
wait 150
press A
wait 100
press A
wait 100
shot
wait 600
press A
wait 200
press A
wait 200
shot
wait 1050
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
shot
wait 25
expect \[gba\] sio mode 12 \(JoyBus\)
expect \[gba\] cmd 15
