Undertale script viewer

← back to main script listing

gml_Object_blt_handbullet1_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
if (y < (global.idealborder[2] + 60))
3
    image_index = 1;
4
path_start(path_hand1, 0.2, path_action_stop, 0);
5
dmg = 0;
6
rot = 0;
7
alarm[0] = 8;
gml_Object_blt_handbullet1_Alarm_0.gml

if (inactive == 0) { if (x1 == 0) iii = instance_create(x + 22, y + 5, blt_chasefire1); else iii = instance_create(x + 22, y + 5, blt_chasefire2); if (global.hp < 8) { with (iii) dmg = 2; } if (global.hp < 6) { with (iii) dmg = 1; } snd_play(snd_noise); alarm[0] = 4; } else { alarm[1] = 100; } if (global.hp < 8) dmg = 2; if (global.hp < 6) dmg = 1;
8
inactive = 0;
9
x1 = 0;