|
1
|
image_xscale = 2;
|
|
2
|
image_yscale = 2;
|
|
3
|
image_speed = 0;
|
|
4
|
dsprite = spr_lancer_dt;
|
|
5
|
lsprite = spr_lancer_lt;
|
|
6
|
rsprite = spr_lancer_rt;
|
|
7
|
usprite = spr_lancer_ut;
|
|
8
|
spinsprite[0] = dsprite;
|
|
9
|
spinsprite[1] = lsprite;
|
|
10
|
spinsprite[2] = usprite;
|
|
11
|
spinsprite[3] = rsprite;
|
|
12
|
alarm[0] = 60; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
13
|
movecon = 4;
|
|
14
|
con = 0;
|
|
15
|
minx = camerax() + 100;
|
|
16
|
maxx = camerax() + 400;
|
|
17
|
maxy = cameray() + 280;
|
|
18
|
y = maxy;
|
|
19
|
depth = -20;
|
|
20
|
sleeptimer = 0;
|
|
21
|
remmovecon = 0;
|
|
22
|
fake = false;
|
|
23
|
threshold = floor(random(60)) + 80;
|
|
24
|
if (global.chapter == 3 && global.fighting == 1)
|
|
25
|
{
|
|
26
|
dsprite = spr_ch3_dw_shutta_lancer_dt_notongue;
|
|
27
|
lsprite = spr_ch3_dw_shutta_lancer_lt_notongue;
|
|
28
|
rsprite = spr_ch3_dw_shutta_lancer_rt_notongue;
|
|
29
|
usprite = spr_lancer_ut;
|
|
30
|
spinsprite[0] = dsprite;
|
|
31
|
spinsprite[1] = lsprite;
|
|
32
|
spinsprite[2] = usprite;
|
|
33
|
spinsprite[3] = rsprite;
|
|
34
|
sprite_index = dsprite;
|
|
35
|
threshold = floor(random(60)) + 80;
|
|
36
|
maxy = cameray() + 180;
|
|
37
|
minx = camerax() + 140;
|
|
38
|
maxx = camerax() + 360;
|
|
39
|
alarm[0] = 30; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
40
|
if (i_ex(obj_shutta_photo_controller) && obj_shutta_photo_controller.fastphoto == true)
|
|
41
|
{
|
|
42
|
threshold = choose(0, 10 + irandom(36));
|
|
43
|
movecon = choose(4, 4, 7);
|
|
44
|
if (movecon == 7)
|
|
45
|
{
|
|
46
|
alarm[0] = 60; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
47
|
sleeptimer = 0;
|
|
48
|
threshold = choose(90, 120);
|
|
49
|
}
|
|
50
|
}
|
|
51
|
}
|
|
52
|
rouxls = 0;
|
|
53
|
starwalker = 0;
|
|
54
|
if (global.chapter == 2)
|
|
55
|
{
|
|
56
|
rouxls = 0;
|
|
57
|
if (scr_keyitemcheckscr_keyitemcheck
function scr_keyitemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 12; i += 1)
{
if (global.keyitem[i] == arg0)
haveit = 1;
if (global.keyitem[i] == arg0)
itemcount += 1;
}
return haveit;
} (9))
|
|
58
|
rouxls = 1;
|
|
59
|
starwalker = 0;
|
|
60
|
if (scr_keyitemcheckscr_keyitemcheck
function scr_keyitemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 12; i += 1)
{
if (global.keyitem[i] == arg0)
haveit = 1;
if (global.keyitem[i] == arg0)
itemcount += 1;
}
return haveit;
} (14))
|
|
61
|
starwalker = 1;
|
|
62
|
if (global.flag[915 snowgrave_plot] >= 1.5 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
}
function scr_sideb_active()
{
return scr_sideb_get_phase() >= 3;
} () >= 1)
|
|
63
|
movecon = 10;
|
|
64
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
}
function scr_sideb_active()
{
return scr_sideb_get_phase() >= 3;
} () >= 3)
|
|
65
|
movecon = 11;
|
|
66
|
if (global.plot >= 200)
|
|
67
|
movecon = 4;
|
|
68
|
if (movecon == 10)
|
|
69
|
{
|
|
70
|
alarm[0] = -10; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
71
|
sprite_index = spr_lancer_sleep;
|
|
72
|
image_speed = 0.1;
|
|
73
|
speed = 0;
|
|
74
|
hspeed = 0;
|
|
75
|
gravity = 0;
|
|
76
|
}
|
|
77
|
if (movecon == 11)
|
|
78
|
{
|
|
79
|
alarm[0] = -10; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
80
|
sprite_index = spr_cutscene_20_lancer_stone;
|
|
81
|
image_speed = 0;
|
|
82
|
speed = 0;
|
|
83
|
hspeed = 0;
|
|
84
|
gravity = 0;
|
|
85
|
}
|
|
86
|
}
|
|
87
|
x = minx + 150;
|
|
88
|
y = maxy;
|
|
89
|
goodshot = false;
|
|
90
|
delaydeath = 0;
|
|
91
|
if (instance_number(obj_lancergotchi) > 1)
|
|
92
|
{
|
|
93
|
movecon = choose(0, 1);
|
|
94
|
alarm[0] = 30; gml_Object_obj_lancergotchi_Alarm_0.gml
remmovecon = movecon;
movecon = choose(0, 1, 2, 4);
if (movecon == remmovecon)
movecon = choose(0, 1, 2, 4);
con = 0;
if (sleeptimer >= 900)
movecon = 10;
if (global.chapter == 3 && global.fighting == 1)
{
movecon = choose(0, 1, 4, 4);
if (sleeptimer >= threshold)
{
movecon = 7;
sleeptimer = 0;
threshold = choose(90, 120);
}
}
|
|
95
|
hspeed = 0;
|
|
96
|
speed = 0;
|
|
97
|
}
|