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 |
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 |