Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bigfrog_log_frog_Step_1

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (is_green == true)
4
{
5
    image_blend = make_color_rgb(64, 255, 64);
6
    if (place_meeting(x, y, obj_heart_battle_fighting_parent))
7
    {
8
        obj_macro_frog_counter.frog_scale = 1.5;
9
        obj_macro_frog_counter.frog_count--;
10
        audio_play_sound(snd_heal, 1, 0);
11
        instance_destroy();
12
    }
13
}