Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_dollar_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
element = 6;
3
image_alpha = 0;
4
startscale = 1;
5
destroyable = 0;
6
if (instance_exists(obj_spamton_neo_enemy))
7
    damage = floor((global.monsterat[obj_spamton_neo_enemy.myself] * 5) / 3);
8
if (instance_exists(obj_sneo_bulletcontroller))
9
    target = obj_sneo_bulletcontroller.target;
10
grazepoints = 4;
11
fade = 0;