|
1
|
var show = true;
|
|
2
|
if (show && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
3
|
{
|
|
4
|
var count = 0;
|
|
5
|
var space = 10;
|
|
6
|
}
|
|
7
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
8
|
{
|
|
9
|
if (keyboard_check_pressed(ord("T")))
|
|
10
|
{
|
|
11
|
var snd = 358;
|
|
12
|
snd_stop(snd);
|
|
13
|
snd_play_x(snd, 1, 1.2);
|
|
14
|
scr_lerp_imageblendscr_lerp_imageblend
function scr_lerp_imageblend()
{
var lerpblend = instance_create(x, y, obj_lerpimageblend);
lerpblend.target = argument0;
lerpblend.color1 = argument1;
lerpblend.color2 = argument2;
var ___time = argument3;
if (argument_count > 4)
{
var _style = argument4;
var _ease = argument5;
lerpblend.mylerp = scr_lerp_var_instance(lerpblend, "blendindex", 0, 1, ___time, _style, _ease);
}
else
{
lerpblend.mylerp = scr_lerp_var_instance(lerpblend, "blendindex", 0, 1, ___time);
}
with (lerpblend)
alarm_set(0, ___time);
return lerpblend;
} (id, c_black, c_white, 10);
|
|
15
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("tralpha", 0, 1, 4);
|
|
16
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("trscale", 0, 1, 18, -1, "out");
|
|
17
|
}
|
|
18
|
}
|
|
19
|
with (treasure)
|
|
20
|
{
|
|
21
|
if (image_index == 1)
|
|
22
|
{
|
|
23
|
if (!variable_instance_exists(id, "siner"))
|
|
24
|
siner = 0;
|
|
25
|
siner++;
|
|
26
|
draw_sprite_ext(spr_gameshow_crowd_tiny, siner / 4, x + 20, y + 20 + (sin(siner / 2) * 2), 1 * other.trscale, 1 * other.trscale, 0, other.image_blend, other.tralpha);
|
|
27
|
}
|
|
28
|
}
|