+
+ if(sprite->has_action("iced-left"))
+ sprite->set_action(dir == LEFT ? "iced-left" : "iced-right", 1);
+ // when no iced action exists, default to shading badguy blue
+ else
+ {
+ sprite->set_color(Color(0.60, 0.72, 0.88f));
+ sprite->stop_animation();
+ }