Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_event_wildeast_stamp

(view raw script w/o annotations or w/e)
1
function cutscene_event_wildeast_stamp(argument0, argument1, argument2, argument3, argument4) //gml_Script_cutscene_event_wildeast_stamp
2
{
3
    if (!instance_exists(obj_wild_east_stamp))
4
    {
5
        with (instance_create(((__view_get((0 << 0), 0)) + (__view_get((2 << 0), 0)) / 2), ((__view_get((1 << 0), 0)) + (__view_get((3 << 0), 0)) / 2), obj_wild_east_stamp))
6
        {
7
            sprite_index = argument0
8
            event_sound = argument1
9
            fade_timer = argument2
10
            shake_intensity = argument3
11
            animation_delay = argument4
12
        }
13
    }
14
    else if (obj_wild_east_stamp.image_alpha <= 0)
15
    {
16
        cutscene_advance()
17
        instance_destroy(obj_wild_east_stamp)
18
        return true;
19
    }
20
    return false;
21
}