Maybe it's possible to make a hold item that just prevents your Pokemon from becoming happy? Or perhaps a herb version of leftovers?