|
1
|
scr_depthscr_depth
depth = 50000 - ((y * 10) + (sprite_height * 10)); (0, 0, 0, 0, 0);
|
|
2
|
if (instance_exists(obj_dialoguer) == 0 && conversation == 1)
|
|
3
|
{
|
|
4
|
path_start(path_goofyrock, 1, path_action_stop, 0);
|
|
5
|
alarm[1] = 11; gml_Object_obj_goofyrock_Alarm_1.gml
with (obj_mainchara)
uncan = 0;
global.interact = 0;
conversation += 1;
path_speed = 0;
obj_mainchara.speed = 0;
if (conversation == 9)
{
with (obj_spikes_room)
image_index = 1;
}
if (conversation > 13)
{
global.flag[33 pushed_rock_3] = 1;
x = 280;
conversation = 15;
with (obj_spikes_room)
image_index = 1;
}
|
|
6
|
global.interact = 1;
|
|
7
|
conversation += 1;
|
|
8
|
if (obj_mainchara.x > (x + 15))
|
|
9
|
obj_mainchara.hspeed = 1;
|
|
10
|
}
|
|
11
|
if (instance_exists(obj_dialoguer) == 0 && conversation == 4)
|
|
12
|
{
|
|
13
|
path_speed = 1;
|
|
14
|
alarm[1] = 11; gml_Object_obj_goofyrock_Alarm_1.gml
with (obj_mainchara)
uncan = 0;
global.interact = 0;
conversation += 1;
path_speed = 0;
obj_mainchara.speed = 0;
if (conversation == 9)
{
with (obj_spikes_room)
image_index = 1;
}
if (conversation > 13)
{
global.flag[33 pushed_rock_3] = 1;
x = 280;
conversation = 15;
with (obj_spikes_room)
image_index = 1;
}
|
|
15
|
global.interact = 1;
|
|
16
|
conversation += 1;
|
|
17
|
if (obj_mainchara.depth > depth)
|
|
18
|
obj_mainchara.vspeed = -1;
|
|
19
|
}
|
|
20
|
if (instance_exists(obj_dialoguer) == 0 && conversation == 7)
|
|
21
|
{
|
|
22
|
path_speed = 1;
|
|
23
|
alarm[1] = 61; gml_Object_obj_goofyrock_Alarm_1.gml
with (obj_mainchara)
uncan = 0;
global.interact = 0;
conversation += 1;
path_speed = 0;
obj_mainchara.speed = 0;
if (conversation == 9)
{
with (obj_spikes_room)
image_index = 1;
}
if (conversation > 13)
{
global.flag[33 pushed_rock_3] = 1;
x = 280;
conversation = 15;
with (obj_spikes_room)
image_index = 1;
}
|
|
24
|
global.interact = 1;
|
|
25
|
conversation += 1;
|
|
26
|
if (obj_mainchara.depth < depth)
|
|
27
|
obj_mainchara.vspeed = 1;
|
|
28
|
alarm[2] = 11; gml_Object_obj_goofyrock_Alarm_2.gml
with (obj_mainchara)
uncan = 0;
obj_mainchara.speed = 0;
if (obj_mainchara.x > (x + 15))
obj_mainchara.hspeed = 1;
|
|
29
|
}
|
|
30
|
if (instance_exists(obj_dialoguer) == 0 && conversation == 10.5)
|
|
31
|
{
|
|
32
|
with (obj_spikes_room)
|
|
33
|
image_index = 0;
|
|
34
|
path_speed = 2;
|
|
35
|
alarm[1] = 11; gml_Object_obj_goofyrock_Alarm_1.gml
with (obj_mainchara)
uncan = 0;
global.interact = 0;
conversation += 1;
path_speed = 0;
obj_mainchara.speed = 0;
if (conversation == 9)
{
with (obj_spikes_room)
image_index = 1;
}
if (conversation > 13)
{
global.flag[33 pushed_rock_3] = 1;
x = 280;
conversation = 15;
with (obj_spikes_room)
image_index = 1;
}
|
|
36
|
conversation += 0.5;
|
|
37
|
}
|
|
38
|
if (instance_exists(obj_dialoguer) == 0 && conversation == 13)
|
|
39
|
{
|
|
40
|
path_speed = 1;
|
|
41
|
alarm[1] = 21; gml_Object_obj_goofyrock_Alarm_1.gml
with (obj_mainchara)
uncan = 0;
global.interact = 0;
conversation += 1;
path_speed = 0;
obj_mainchara.speed = 0;
if (conversation == 9)
{
with (obj_spikes_room)
image_index = 1;
}
if (conversation > 13)
{
global.flag[33 pushed_rock_3] = 1;
x = 280;
conversation = 15;
with (obj_spikes_room)
image_index = 1;
}
|
|
42
|
global.interact = 1;
|
|
43
|
conversation += 1;
|
|
44
|
if (obj_mainchara.x > (x + 15))
|
|
45
|
obj_mainchara.hspeed = 1;
|
|
46
|
}
|
|
47
|
if (conversation == 15)
|
|
48
|
x = 280;
|