Undertale script viewer

← back to main script listing

gml_Object_obj_spiderb_Other_15

(view raw script w/o annotations or w/e)
1
global.goldreward[myself] = 100 + round(global.flag[382 muffet_bribe_price] / 2);
2
if (global.goldreward[myself] >= 999)
3
    global.goldreward[myself] = 999;
4
global.flag[59 spider_donations_total] += round(global.flag[382 muffet_bribe_price] / 2);
5
with (mypart1)
6
    instance_destroy();
7
caster_stop(global.batmusic);
8
global.flag[27 spared_specific] = 1;
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] = 0;
11
instance_destroy();