|
1
|
screen_alpha = 1;
|
|
2
|
current_screen = 2980;
|
|
3
|
screen_state = "default";
|
|
4
|
current_screen_state = screen_state;
|
|
5
|
screen_sub_state = "";
|
|
6
|
screenwidth = view_wport[0] * 6;
|
|
7
|
screenheight = view_hport[0];
|
|
8
|
crttimer = 0;
|
|
9
|
crt_glitch = 0;
|
|
10
|
chromStrength = 0.25;
|
|
11
|
star_anim = 0;
|
|
12
|
star_anim_speed = 0.5;
|
|
13
|
bg_speed = 1;
|
|
14
|
bg_speed_y = 1;
|
|
15
|
bg_speed_max = 3;
|
|
16
|
bg_speed_y_max = 3;
|
|
17
|
star_bg_active = true;
|
|
18
|
screen_anim = 0;
|
|
19
|
screen_anim_speed = 0.2;
|
|
20
|
shakey_active = false;
|
|
21
|
shakey_x = 0;
|
|
22
|
shakey_y = 0;
|
|
23
|
shakey_siner = 0;
|
|
24
|
news_speed = 0;
|
|
25
|
news_speed_max = 3;
|
|
26
|
cancelled = false;
|
|
27
|
custom_text_timer = 0;
|
|
28
|
white_overlay = false;
|
|
29
|
white_overlay_alpha = 0;
|
|
30
|
round_text = "?";
|
|
31
|
rank_text = "?";
|
|
32
|
switch_game_screen = false;
|
|
33
|
switch_game_screen_timer = 0;
|
|
34
|
switch_game_screen_target = "round_complete";
|
|
35
|
evaluation_screen = instance_find(obj_round_evaluation, 0);
|
|
36
|
bonus_sprite = -4;
|
|
37
|
bonus_confirmed_sprite = -4;
|
|
38
|
bg_surface = -4;
|
|
39
|
siner = 0;
|
|
40
|
text_bonus = stringsetloc(BONUS"BONUS", "obj_dw_gameshow_screen_slash_Create_0_gml_59_0" );
|
|
41
|
text_bonus_round = stringsetloc(BONUS ROUND"BONUS ROUND", "obj_dw_gameshow_screen_slash_Create_0_gml_60_0" );
|
|
42
|
text_confirmed = stringsetloc(CONFIRMED"CONFIRMED", "obj_dw_gameshow_screen_slash_Create_0_gml_61_0" );
|
|
43
|
text_round = stringsetloc(ROUND"ROUND", "obj_dw_gameshow_screen_slash_Create_0_gml_62_0" );
|
|
44
|
text_complete = stringsetloc(COMPLETE"COMPLETE", "obj_dw_gameshow_screen_slash_Create_0_gml_63_0" );
|
|
45
|
text_next = stringsetloc(NEXT:"NEXT:", "obj_dw_gameshow_screen_slash_Create_0_gml_64_0" );
|
|
46
|
text_you_got = stringsetloc(YOU GOT"YOU GOT", "obj_dw_gameshow_screen_slash_Create_0_gml_65_0" );
|
|
47
|
text_tv_time = stringsetloc(TV TIME"TV TIME", "obj_dw_gameshow_screen_slash_Create_0_gml_66_0" );
|
|
48
|
text_the_end = stringsetloc(THE END"THE END", "obj_dw_gameshow_screen_slash_Create_0_gml_67_0" );
|
|
49
|
bonus_wiggle_timer = 0;
|
|
50
|
bonus_wiggle_speed = 1;
|
|
51
|
bonus_color_speed = 0.025;
|
|
52
|
_uniUV = 0;
|
|
53
|
_uniTime = 0;
|
|
54
|
_uniSpeed = 0;
|
|
55
|
_time = 0.025;
|
|
56
|
_speed = 0.75;
|
|
57
|
|
|
58
|
is_bg_active = function(arg0)
|
|
59
|
{
|
|
60
|
var _logo_active_states = ["default", "tv_logo", "breaking", "board_bonus", "bonus_confirmed", "round_complete", "next_board_2", "round_complete_2", "board_bonus_bonus"];
|
|
61
|
var _logo_active = false;
|
|
62
|
for (var i = 0; i < array_length(_logo_active_states); i++)
|
|
63
|
{
|
|
64
|
if (arg0 == _logo_active_states[i])
|
|
65
|
{
|
|
66
|
_logo_active = true;
|
|
67
|
break;
|
|
68
|
}
|
|
69
|
}
|
|
70
|
return _logo_active;
|
|
71
|
};
|
|
72
|
|
|
73
|
is_logo_active = function(arg0)
|
|
74
|
{
|
|
75
|
return arg0 == "tv_logo" || arg0 == "breaking";
|
|
76
|
};
|
|
77
|
|
|
78
|
transition_to_state = function(arg0, arg1)
|
|
79
|
{
|
|
80
|
white_overlay = true;
|
|
81
|
white_overlay_alpha = 1;
|
|
82
|
var _letter_grade = evaluation_screen._lettergrade;
|
|
83
|
rank_text = _letter_grade + "-" + stringsetloc(RANK"RANK", "obj_dw_gameshow_screen_slash_Create_0_gml_123_0" );
|
|
84
|
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;
} ("white_overlay_alpha", 1, 0, arg1);
|
|
85
|
screen_state = arg0;
|
|
86
|
scr_var_delayscr_var_delay
function scr_var_delay(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_var_delayed(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_delay_var(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
} ("white_overlay", false, arg1 + 1);
|
|
87
|
};
|