Flies form long-term memories of seeing wasps. Proportion eggs laid on ethanol dishes (A) following wasp pre-exposure on different food types, (B) in the presence of wasps by the long-term memory mutant Adf1nal, and (C) after wasp pre-exposure (on molasses food) in Adf1nal mutants. For A–C, all y-axes are the same, error bars represent 95% confidence intervals (*P < 0.05, ***P < 0.001, n = 4).