Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mc_pressure_pad_Alarm_0

(view raw script w/o annotations or w/e)
1
switch cart_color
2
{
3
    case "yellow":
4
        sprite_index = spr_mc_yellow_pad
5
        break
6
    case "green":
7
        sprite_index = spr_mc_green_pad
8
        break
9
    case "blue":
10
        sprite_index = spr_mc_blue_pad
11
        break
12
}