Initialize temp_effect_pointer to NULL.