I am testing it with a chimchar evolving into monferno. The first time it happened it changed from fire to ice. Some tests keeps the fire tera, but now i've done another test and it has gone from fire to fighting.
My settings are:
UNDEFINED_MEANS_RANDOM = true
WEIGHT_RANDOM_TO_ORIGINAL =...