touhou-pride-jam-2021/thpj3/objects/obj_darkfade/Step_0.gml

13 lines
269 B
Plaintext
Raw Normal View History

2021-06-11 04:39:22 -07:00
if (obj_wriggle.hyper_time) {
color_target = 120;
} else if (obj_wriggle.bombing) {
color_target = 30;
} else {
color_target = 70;
}
if ( color_current < color_target ) {
color_current++;
} else if ( color_current > color_target ) {
color_current--;
}