Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_froggit_intro_scared_yellow_Step_0

(view raw script w/o annotations or w/e)
1
if (image_index == 1 && x > x_max)
2
    x -= x_speed
3
if (x < x_max)
4
    x = x_max
5
if (x == x_max)
6
{
7
    if instance_exists(obj_toriel_intro_yellow)
8
    {
9
        with (obj_toriel_intro_yellow)
10
            image_index = 1
11
    }
12
    global.important_cutscene = false
13
    global.enemy_sparing = true
14
    global.enemy_spared = true
15
    with (obj_battle_generator)
16
        audio_extend = false
17
    audio_stop_all()
18
    audio_play_sound(snd_monster_damage_death, 1, 0)
19
    instance_create(0, 0, obj_dialogue_battle_win_pacifist)
20
    instance_destroy()
21
}