Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_swatchling_candy_Step_0

(view raw script w/o annotations or w/e)
1
if (!i_ex(sourcePlatter))
2
{
3
    instance_destroy();
4
    exit;
5
}
6
y = sourcePlatter.y;
7
x = lerp(sourcePlatter.x - (20 * side), sourcePlatter.platterLid.x - (20 * side), 0.25);
8
image_alpha = sourcePlatter.image_alpha;
9
active = sourcePlatter.timer > 0 || sourcePlatter.lidOff;