Fig. 3: Flies engaged in later courtship steps show reduced threat responses.

a, Behavioural protocol. The threat is delivered after 7 s (early), 120 s (middle) or 240 s (late) of sustained courtship. The no threat controls have been tested at the same timepoints. b,c, Courtship (b) and defensive (c) indices of wild-type males with no threat (grey; n = 56, 55 and 48) or with an early (30 s), middle (120 s) or late (240 s) threat (blue; n = 47, 50 and 52). d, Courtship index of wild-type males from panels a,b displaying a given behaviour before the threat, irrespective of the stage of threat delivery (n = 42, 10, 46, 8 and 28). e, OvAbg > CsChrimson males continue courtship upon artificial activation despite the threat (n = 28 and 30 (no threat); n = 30 and 24 (threat)). f, OvAbg > TNT males respond to a late threat (240 s; n = 21 and 14). Refer to the legend of Fig. 1 for details on graphics and statistics.