Undertale script viewer

← back to main script listing

gml_Object_obj_mettnews_battleobj_Alarm_9

(view raw script w/o annotations or w/e)
1
if (bombtype == 1)
2
    sprite_index = spr_tobdog_sleep_fire;
3
if (bombtype == 2)
4
    sprite_index = spr_glassofwater;
5
if (bombtype == 3)
6
    sprite_index = spr_script;
7
if (bombtype == 4)
8
    sprite_index = spr_basketball_bomb;
9
if (bombtype == 5)
10
    sprite_index = spr_regpresent;
11
if (bombtype == 6)
12
    sprite_index = spr_videogame;