|
1
|
if (i_ex(obj_battlecontroller))
|
|
2
|
depth = obj_battlecontroller.depth;
|
|
3
|
else if (i_ex(obj_shutta_enemy))
|
|
4
|
depth = obj_shutta_enemy.depth;
|
|
5
|
x = camerax() + (camerawidth() / 2);
|
|
6
|
y = cameray() + 160;
|
|
7
|
enemy = -4;
|
|
8
|
timer = 0;
|
|
9
|
timer_duration = 180;
|
|
10
|
state = "intro";
|
|
11
|
subact = "nothing";
|
|
12
|
subact_state = "init";
|
|
13
|
tookaphoto = true;
|
|
14
|
slide_time = 0;
|
|
15
|
slide_duration = 15;
|
|
16
|
siner = 0;
|
|
17
|
flash_alpha = 0;
|
|
18
|
image_alpha = 0;
|
|
19
|
image_speed = 0;
|
|
20
|
targetid = -4;
|
|
21
|
message_default = stringsetloc(* You missed! Try to take a real photo next time!"* You missed! Try to take a real photo next time!", "obj_shutta_photo_controller_slash_Create_0_gml_31_0" );
|
|
22
|
message_nicephoto = stringsetloc(* Good, good, EYE approve!"* Good, good, EYE approve!", "obj_shutta_photo_controller_slash_Create_0_gml_33_0" );
|
|
23
|
message_splendidphoto = stringsetloc(* Photo-GENIC, it's in your GENETICS!"* Photo-GENIC, it's in your GENETICS!", "obj_shutta_photo_controller_slash_Create_0_gml_34_0" );
|
|
24
|
message_badphoto = stringsetloc(* That's okay, baby! Give it another SSSHOT!"* That's okay, baby! Give it another SSSHOT!", "obj_shutta_photo_controller_slash_Create_0_gml_35_0" );
|
|
25
|
if (choose(0, 1) == 1)
|
|
26
|
message_nicephoto = stringsetloc(* Confidence, baby, CONFIDENCE!"* Confidence, baby, CONFIDENCE!", "obj_shutta_photo_controller_slash_Create_0_gml_37_0" );
|
|
27
|
if (choose(0, 1) == 1)
|
|
28
|
message_splendidphoto = stringsetloc(* Fabulous! Eye-hand it to you guys!"* Fabulous! Eye-hand it to you guys!", "obj_shutta_photo_controller_slash_Create_0_gml_38_0" );
|
|
29
|
message_nicephoto2 = stringsetloc(* A PERFECT SHOT!! DON'T KNOW WHO WANTS IT, BUT STILL!"* A PERFECT SHOT!! DON'T KNOW WHO WANTS IT, BUT STILL!", "obj_shutta_photo_controller_slash_Create_0_gml_41_0_b" );
|
|
30
|
message_unposed = stringsetloc(* Photo at the right moment for extra power!"* Photo at the right moment for extra power!", "obj_shutta_photo_controller_slash_Create_0_gml_41_0" );
|
|
31
|
message_notcentered = stringsetloc(* Rule of thirds? No! Try to center your target, folks!"* Rule of thirds? No! Try to center your target, folks!", "obj_shutta_photo_controller_slash_Create_0_gml_42_0" );
|
|
32
|
comment_center = stringsetloc(Great shot!"Great shot!", "obj_shutta_photo_controller_slash_Create_0_gml_50_0" );
|
|
33
|
comment_offcenter = "";
|
|
34
|
comment_offside = "";
|
|
35
|
comment_nicepose = "";
|
|
36
|
if (obj_shutta_enemy.amiabossfight == true)
|
|
37
|
message_default = stringsetloc(* Nothing!? You shot nothing!? Shows why you keep me off!"* Nothing!? You shot nothing!? Shows why you keep me off!", "obj_shutta_photo_controller_slash_Create_0_gml_52_0" );
|
|
38
|
message_kris = stringsetloc(* Nice! That one's going in my Kris compilation!"* Nice! That one's going in my Kris compilation!", "obj_shutta_photo_controller_slash_Create_0_gml_55_0" );
|
|
39
|
message_susie = stringsetloc(* Oh! A wild Susie photo! ... Arms inside the ride, folks!"* Oh! A wild Susie photo! ... Arms inside the ride, folks!", "obj_shutta_photo_controller_slash_Create_0_gml_56_0" );
|
|
40
|
message_ralsei = stringsetloc(* Ralsei photo!? We can sell that! Here's 100PTs!"* Ralsei photo!? We can sell that! Here's 100PTs!", "obj_shutta_photo_controller_slash_Create_0_gml_57_0" );
|
|
41
|
message_kris2 = stringsetloc(* Stop! My Kris compilation is full!"* Stop! My Kris compilation is full!", "obj_shutta_photo_controller_slash_Create_0_gml_59_0" );
|
|
42
|
message_susie2 = stringsetloc(* What is this, a Susie safari?"* What is this, a Susie safari?", "obj_shutta_photo_controller_slash_Create_0_gml_60_0" );
|
|
43
|
message_ralsei2 = stringsetloc(* More Ralsei!? No, we need the scarcity!!"* More Ralsei!? No, we need the scarcity!!", "obj_shutta_photo_controller_slash_Create_0_gml_61_0" );
|
|
44
|
message_toilet = stringsetloc(* Photo of toilet!?! Are we still TV-Y7!?"* Photo of toilet!?! Are we still TV-Y7!?", "obj_shutta_photo_controller_slash_Create_0_gml_63_0" );
|
|
45
|
message_toilet2 = stringsetloc(* A perfect shot!! But are we still TV-Y7!?"* A perfect shot!! But are we still TV-Y7!?", "obj_shutta_photo_controller_slash_Create_0_gml_64_0" );
|
|
46
|
endmessage = message_default;
|
|
47
|
mercygained = 0;
|
|
48
|
min_width = 64;
|
|
49
|
min_height = 64;
|
|
50
|
max_width = 164;
|
|
51
|
max_height = 128;
|
|
52
|
width = min_width;
|
|
53
|
height = min_height;
|
|
54
|
photo_surface = -1;
|
|
55
|
photo_width = max_width;
|
|
56
|
photo_height = max_height;
|
|
57
|
angle = 0;
|
|
58
|
global.surface_buffer = -1;
|
|
59
|
subjects = [];
|
|
60
|
uncentered_subject = false;
|
|
61
|
offside_subject = false;
|
|
62
|
have_subject = false;
|
|
63
|
centered_distance = 40;
|
|
64
|
reticle_size = 9;
|
|
65
|
got_kris = false;
|
|
66
|
got_susie = false;
|
|
67
|
got_ralsei = false;
|
|
68
|
closest_hero = "none";
|
|
69
|
fastphoto = false;
|
|
70
|
powerphoto = false;
|
|
71
|
timerb = 0;
|
|
72
|
posemax = 60 + irandom(30);
|
|
73
|
posesiner = 0;
|
|
74
|
savex = x;
|
|
75
|
rotatingvar = false;
|
|
76
|
pipetimer = 0;
|
|
77
|
palmtimer = 0;
|
|
78
|
type3alreadyused = false;
|
|
79
|
difficulty = 0;
|
|
80
|
count = 0;
|
|
81
|
fun = 0;
|
|
82
|
endminigame = 0;
|
|
83
|
filter1 = instance_create(-9999, -9999, obj_marker);
|
|
84
|
filter1.sprite_index = spr_shutta_filter1;
|
|
85
|
filter1.image_xscale = 1.5;
|
|
86
|
filter1.image_yscale = 1.5;
|
|
87
|
filter2 = instance_create(-9999, -9999, obj_marker);
|
|
88
|
filter2.sprite_index = spr_shutta_filter1;
|
|
89
|
filter2.image_xscale = 1.5;
|
|
90
|
filter2.image_yscale = 1.5;
|
|
91
|
filter3 = instance_create(-9999, -9999, obj_marker);
|
|
92
|
filter3.sprite_index = spr_shutta_filter2;
|
|
93
|
filter4 = instance_create(-9999, -9999, obj_marker);
|
|
94
|
filter4.sprite_index = spr_shutta_filter2;
|
|
95
|
with (obj_herokris)
|
|
96
|
mask_index = spr_kris_peace;
|
|
97
|
with (obj_herosusie)
|
|
98
|
mask_index = spr_susie_hand_hips;
|
|
99
|
with (obj_heroralsei)
|
|
100
|
mask_index = spr_ralsei_funnyface;
|
|
101
|
screenshot = -1;
|
|
102
|
reticle_over_good_shot = false;
|
|
103
|
reticle_over_good_shot_prev = false;
|
|
104
|
disablemovement = false;
|
|
105
|
ralseicon = 0;
|
|
106
|
introtimer = 0;
|
|
107
|
bullettarget = -1;
|
|
108
|
secrettargetx = 0;
|
|
109
|
secrettargety = 0;
|
|
110
|
krisstate = -1;
|
|
111
|
krisfaceaction = -1;
|
|
112
|
susiestate = -1;
|
|
113
|
susiefaceaction = -1;
|
|
114
|
ralseistate = -1;
|
|
115
|
ralseifaceaction = -1;
|
|
116
|
if (i_ex(obj_herokris))
|
|
117
|
{
|
|
118
|
krisstate = obj_herokris.state;
|
|
119
|
krisfaceaction = global.faceaction[obj_herokris.myself];
|
|
120
|
}
|
|
121
|
if (i_ex(obj_herosusie))
|
|
122
|
{
|
|
123
|
susiestate = obj_herosusie.state;
|
|
124
|
susiefaceaction = global.faceaction[obj_herosusie.myself];
|
|
125
|
}
|
|
126
|
if (i_ex(obj_heroralsei))
|
|
127
|
{
|
|
128
|
ralseistate = obj_heroralsei.state;
|
|
129
|
ralseifaceaction = global.faceaction[obj_heroralsei.myself];
|
|
130
|
}
|