Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gh_pumpkinspawner_Alarm_0

(view raw script w/o annotations or w/e)
1
alarm[0]
 = 10 - (2 * (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat));
gml_Object_obj_gh_pumpkinspawner_Alarm_0.gml

alarm[0]
 = 10 - (2 * (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat));
with (instance_create_depth(x, y, 1, obj_small_jackolantern)) { path_start(obj_dbulletcontroller.path, 6 + (2.5 * (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)), path_action_stop, true);
scr_bullet_init();
grazed = true; grazepoints = 0; damage = 15; target = 3; destroyonhit = false; }
2
with (instance_create_depth(x, y, 1, obj_small_jackolantern))
3
{
4
    path_start(obj_dbulletcontroller.path, 6 + (2.5 * (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)), path_action_stop, true);
5
    
scr_bullet_init
scr_bullet_init

function
scr_bullet_init()
{ grazed = 0; grazetimer = 0; destroyonhit = 1; target = 0; inv = 60; damage = 10; element = 0; grazepoints = 1; timepoints = 1; active = 1; updateimageangle = 0; }
();
6
    grazed = true;
7
    grazepoints = 0;
8
    damage = 15;
9
    target = 3;
10
    destroyonhit = false;
11
}