Undertale script viewer

← back to main script listing

gml_Object_obj_spiderb_Other_14

(view raw script w/o annotations or w/e)
1
global.goldreward[myself] = (global.flag[59 spider_donations_total] * 2) + (global.flag[383 muffet_bribe_money_spent] * 2);
2
if (global.goldreward[myself] >= 999)
3
    global.goldreward[myself] = 999;
4
with (mypart1)
5
    instance_destroy();
6
con = 95;
7
alarm[4] = 50;
8
caster_stop(global.batmusic);
9
scr_monsterdefeat
scr_monsterdefeat

if (killed == 1) { global.xpreward[3] += global.xpreward[myself]; global.goldreward[3] += global.goldreward[myself]; global.vaporspeed = 0; global.monstersprite = sprite_index; ddd = instance_create(x, y, obj_vaporized_new); if (object_index == obj_greatdog) { with (ddd) scr_newvapordata(1); } if (object_index == obj_gyftrot) { with (ddd) scr_newvapordata(2); } if (object_index == obj_icecap) { with (ddd) scr_newvapordata(3); } if (object_index == obj_jerry) { with (ddd) scr_newvapordata(4); } if (object_index == obj_lesserdoge) { with (ddd) scr_newvapordata(5); } if (object_index == obj_mandog) { with (ddd) scr_newvapordata(6); } if (object_index == obj_womandog) { with (ddd) scr_newvapordata(7); } if (object_index == obj_movedoge) { with (ddd) scr_newvapordata(8); } if (object_index == obj_papyrusdeadbody) { with (ddd) scr_newvapordata(9); } if (object_index == obj_papyrusdeadhead) { with (ddd) scr_newvapordata(10); } if (object_index == obj_shyren) { with (ddd) scr_newvapordata(11); } if (object_index == obj_snowdrake || object_index == obj_chilldrake) { with (ddd) scr_newvapordata(12); } if (object_index == obj_tembattle) { with (ddd) scr_newvapordata(13); } if (object_index == obj_undyneb_body) { with (ddd) scr_newvapordata(14); } if (object_index == obj_woshua) { with (ddd) scr_newvapordata(15); } if (object_index == obj_froggit || object_index == obj_fakefroggit) { with (ddd) scr_newvapordata(16); } if (object_index == obj_whimsun) { with (ddd) scr_newvapordata(17); } if (object_index == obj_moldsmal) { with (ddd) scr_newvapordata(18); } if (object_index == obj_migosp) { with (ddd) scr_newvapordata(19); ...
();
10
global.monster[0] = 1;
11
instance_destroy();
12
instance_create(660, 230, obj_sadspider);