Wiktionary
turn to custard
vb. (context New Zealand English) To go badly awry.
vb. (context New Zealand English) To go badly awry.