Undertale script viewer
← back to main script listing
gml_Object_obj_eggcarton_pl_Other_10
(view raw script w/o annotations or w/e)
|
1
|
life -= 1;
|
|
2
|
if (life < 7)
|
|
3
|
image_index = 1;
|
|
4
|
if (life < 4)
|
|
5
|
image_index = 2;
|
|
6
|
if (life < 1)
|
|
7
|
instance_destroy();
|