Undertale script viewer

← back to main script listing

gml_Object_obj_asgore_spearswipegen_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
image_index = 0;
4
image_speed = 0;
5
typeno = 0;
6
typeamt = 2;
7
type[0] = 1;
8
type[1] = choose(1, 2);
9
type[2] = choose(1, 2);
10
type[3] = choose(1, 2);
11
type[4] = choose(1, 2);
12
type[5] = choose(1, 2);
13
type[6] = choose(1, 2);
14
flashtimer = 7;
15
on = 0;
16
con = 0;
17
diff = 3;
18
alarm[3] = 30;
gml_Object_obj_asgore_spearswipegen_Alarm_3.gml

type[0] = choose(1, 2); type[1] = choose(1, 2); type[2] = choose(1, 2); type[3] = choose(1, 2); type[4] = choose(1, 2); type[5] = choose(1, 2); if (diff == 0) { flashtimer = 12; typeamt = 1; } if (diff == 1) { flashtimer = 9; typeamt = 2; } if (diff == 2) { flashtimer = 7; typeamt = 2; } if (diff == 3) { flashtimer = 7; typeamt = 3; } alarm[1] = 1; typeno = 0;
19
snd_play(snd_noise);
20
instance_create(0, 0, obj_flasher);
21
flash = caster_load("music/sfx_eyeflash.ogg");
22
obj_asgoreb_body.visible = false;
23
obj_asgorespear.color = c_black;
24
obj_asgorespear.armtest = 0;
25
obj_asgorespear.visible = false;
26
x = obj_asgoreb_body.x - 50;
27
y = obj_asgoreb_body.y;