Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_wild_east_stamp_Step_0

(view raw script w/o annotations or w/e)
1
if (waiter == 0)
2
{
3
    if (image_xscale > 1.4)
4
    {
5
        image_xscale -= 0.4;
6
        image_yscale -= 0.4;
7
        image_alpha += 0.1;
8
    }
9
    else
10
    {
11
        image_xscale = 1;
12
        image_yscale = 1;
13
        image_alpha = 1;
14
        alarm[0] = animation_delay;
15
        audio_play_sound(event_sound, 10, 0);
16
        instance_create(x, y, obj_wild_east_stamp_particles);
17
        scr_screenshake
scr_screenshake

function scr_screenshake(arg0, arg1) { if (instance_exists(obj_screenshake_player)) exit; with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player)) { alarm[0] intensity = arg1; } } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }
(shake_intensity, 2);
18
        waiter = 1;
19
    }
20
}
21
if (image_index >= (image_number - 1))
22
    image_speed = 0;
23
if (waiter == 1)
24
    overlay_alpha = image_alpha;
25
if (fade_timer > 0)
26
    fade_timer -= 1;
27
else if (image_alpha > 0)
28
    image_alpha -= 0.1;