|
1
|
global.interact = 1;
|
|
2
|
image_xscale = 3;
|
|
3
|
image_yscale = 3;
|
|
4
|
image_alpha = 0;
|
|
5
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
6
|
con = 0;
|
|
7
|
color_lerp = 0;
|
|
8
|
glow_lerp = 0;
|
|
9
|
glow_in_out = 0;
|
|
10
|
recruit_con = 0;
|
|
11
|
thrash_con = 0;
|
|
12
|
thrash = -4;
|
|
13
|
recruit_ids[0] = 630;
|
|
14
|
recruit_ids[1] = 631;
|
|
15
|
recruit_ids[2] = 632;
|
|
16
|
recruit_ids[3] = 633;
|
|
17
|
recruit_ids[4] = 634;
|
|
18
|
recruit_ids[5] = 635;
|
|
19
|
recruit_ids[6] = 636;
|
|
20
|
recruit_ids[7] = 642;
|
|
21
|
recruit_col = 16777215;
|
|
22
|
recruit_color[0] = 13041038;
|
|
23
|
recruit_color[1] = 11164401;
|
|
24
|
recruit_color[2] = 14876191;
|
|
25
|
recruit_color[3] = 14867541;
|
|
26
|
recruit_color[4] = 14586879;
|
|
27
|
recruit_color[5] = 9662062;
|
|
28
|
recruit_color[6] = 14438399;
|
|
29
|
recruit_color[7] = 2366701;
|
|
30
|
recruit_color[8] = 14867541;
|
|
31
|
recruit_color[9] = 62207;
|
|
32
|
recruit_sprite_map = ds_map_create();
|
|
33
|
ds_map_set(recruit_sprite_map, 500, 298);
|
|
34
|
ds_map_set(recruit_sprite_map, 630, 287);
|
|
35
|
ds_map_set(recruit_sprite_map, 631, 288);
|
|
36
|
ds_map_set(recruit_sprite_map, 632, 292);
|
|
37
|
ds_map_set(recruit_sprite_map, 633, 289);
|
|
38
|
ds_map_set(recruit_sprite_map, 634, 291);
|
|
39
|
ds_map_set(recruit_sprite_map, 635, 290);
|
|
40
|
ds_map_set(recruit_sprite_map, 636, 293);
|
|
41
|
ds_map_set(recruit_sprite_map, 642, 294);
|
|
42
|
ds_map_set(recruit_sprite_map, 900, 295);
|
|
43
|
recruit_dialog_map = ds_map_create();
|
|
44
|
ds_map_set(recruit_dialog_map, 500, stringsetloc(* My strongest JPEGs!Wait for inputClose Message"* My strongest JPEGs!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_43_0" ));
|
|
45
|
ds_map_set(recruit_dialog_map, 630, stringsetloc(* Flashing lights!Wait for inputClose Message"* Flashing lights!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_44_0" ));
|
|
46
|
ds_map_set(recruit_dialog_map, 631, stringsetloc(* HAPPI... BRAVARY...Wait for inputClose Message"* HAPPI... BRAVARY.../%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_45_0" ));
|
|
47
|
ds_map_set(recruit_dialog_map, 632, stringsetloc(* (meow noise)Wait for inputClose Message"* (meow noise)/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_46_0" ));
|
|
48
|
ds_map_set(recruit_dialog_map, 633, stringsetloc(* My energy!Wait for inputClose Message"* My energy!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_47_0" ));
|
|
49
|
ds_map_set(recruit_dialog_map, 634, stringsetloc(* (squeak noise)Wait for inputClose Message"* (squeak noise)/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_48_0" ));
|
|
50
|
ds_map_set(recruit_dialog_map, 635, stringsetloc(* Tender loving care!Wait for inputClose Message"* Tender loving care!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_49_0" ));
|
|
51
|
ds_map_set(recruit_dialog_map, 636, stringsetloc(* Fresh cooking!Wait for inputClose Message"* Fresh cooking!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_50_0" ));
|
|
52
|
ds_map_set(recruit_dialog_map, 642, stringsetloc(* Organization!Wait for inputClose Message"* Organization!/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_51_0" ));
|
|
53
|
ds_map_set(recruit_dialog_map, 900, stringsetloc(* Star WalkerWait for inputClose Message"* Star Walker/%", "obj_ch2_scene26_powers_combined_slash_Create_0_gml_52_0" ));
|
|
54
|
current_sprite = -1;
|
|
55
|
current_index = -1;
|
|
56
|
recruit_index = 0;
|
|
57
|
var _color_index = 0;
|
|
58
|
if (global.flag[357 recruit_hacker] == 1)
|
|
59
|
{
|
|
60
|
if (current_index == -1)
|
|
61
|
current_index = 0;
|
|
62
|
recruit[recruit_index] = 500;
|
|
63
|
recruit_index++;
|
|
64
|
_color_index++;
|
|
65
|
}
|
|
66
|
for (var i = 0; i < array_length_1d(recruit_ids); i++)
|
|
67
|
{
|
|
68
|
if (global.flag[recruit_ids[i]] == 1)
|
|
69
|
{
|
|
70
|
var recruit_id = recruit_ids[i];
|
|
71
|
if (!is_undefined(ds_map_find_value(recruit_sprite_map, recruit_id)))
|
|
72
|
{
|
|
73
|
if (current_index == -1)
|
|
74
|
current_index = 0;
|
|
75
|
if (_color_index < (i + 1))
|
|
76
|
recruit_color[_color_index] = recruit_color[i + 1];
|
|
77
|
_color_index++;
|
|
78
|
recruit[recruit_index] = recruit_id;
|
|
79
|
recruit_index++;
|
|
80
|
}
|
|
81
|
}
|
|
82
|
}
|
|
83
|
if (global.flag[254 starwalker] == 1)
|
|
84
|
{
|
|
85
|
if (current_index == -1)
|
|
86
|
current_index = 0;
|
|
87
|
recruit[recruit_index] = 900;
|
|
88
|
recruit_color[_color_index] = recruit_color[9];
|
|
89
|
}
|
|
90
|
fade_in_out = false;
|
|
91
|
start_color = c_black;
|
|
92
|
end_color = c_white;
|
|
93
|
flicker_timer = 0;
|
|
94
|
spin_speed = 5;
|
|
95
|
current_side = 1;
|
|
96
|
shine_timer = 0;
|
|
97
|
miniflash = 0;
|
|
98
|
f = 2;
|
|
99
|
big_square = -4;
|
|
100
|
streak_timer = 0;
|