|
1
|
if (init == 0)
|
|
2
|
{
|
|
3
|
global.charturn = 3;
|
|
4
|
init = 1;
|
|
5
|
healthprev = global.monsterhp[myself];
|
|
6
|
}
|
|
7
|
global.monstercomment[myself] = "";
|
|
8
|
var disgustingstr = stringsetloc(Disgusting.Wait for inputClose Message"Disgusting./%", "obj_holywatercooler_enemy_slash_Step_0_gml_10_0" );
|
|
9
|
if (amimissmizzle == true)
|
|
10
|
{
|
|
11
|
sprite_index = spr_mizzle_idle_large;
|
|
12
|
if (global.monsterstatus[myself] == 1)
|
|
13
|
idlesprite = spr_mizzle_idle_large;
|
|
14
|
else
|
|
15
|
idlesprite = spr_mizzle_alarm_large;
|
|
16
|
if (global.mercymod[myself] >= 100)
|
|
17
|
{
|
|
18
|
if (global.monsterstatus[myself] == 1)
|
|
19
|
idlesprite = spr_mizzle_idle_large_pink;
|
|
20
|
else
|
|
21
|
idlesprite = spr_mizzle_alarm_large_pink;
|
|
22
|
hurtsprite = spr_mizzle_hurt_large_pink;
|
|
23
|
}
|
|
24
|
sparedsprite = idlesprite;
|
|
25
|
}
|
|
26
|
if (global.monster[myself] == 1)
|
|
27
|
{
|
|
28
|
if (introcon == 1)
|
|
29
|
{
|
|
30
|
introtimer++;
|
|
31
|
if (introtimer == 1)
|
|
32
|
{
|
|
33
|
msgsetloc(0, ... What? A battle?Wait for inputClose Message"... What?&A battle?/%", "obj_holywatercooler_enemy_slash_Step_0_gml_36_0" );
|
|
34
|
global.typer = 50;
|
|
35
|
balloon = scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
36
|
}
|
|
37
|
if ((button3_p() && introtimer > 15) || !i_ex(obj_writer))
|
|
38
|
{
|
|
39
|
with (obj_writer)
|
|
40
|
instance_destroy();
|
|
41
|
introcon = 2;
|
|
42
|
introtimer = 0;
|
|
43
|
msgsetloc(0, I merely wanted to investigate the water container...Wait for inputClose Message"I merely wanted to&investigate the water&container.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_47_0" );
|
|
44
|
global.typer = 50;
|
|
45
|
balloon = scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
46
|
}
|
|
47
|
}
|
|
48
|
if (introcon == 2)
|
|
49
|
{
|
|
50
|
introtimer++;
|
|
51
|
if ((button3_p() && introtimer > 15) || !i_ex(obj_writer))
|
|
52
|
{
|
|
53
|
with (obj_writer)
|
|
54
|
instance_destroy();
|
|
55
|
introcon = 3;
|
|
56
|
introtimer = 0;
|
|
57
|
msgsetloc(0, And suddenly, you have drawn me into a battle?Wait for inputClose Message"And suddenly,&you have drawn&me into a battle?/%", "obj_holywatercooler_enemy_slash_Step_0_gml_63_0" );
|
|
58
|
global.typer = 50;
|
|
59
|
balloon = scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
60
|
}
|
|
61
|
}
|
|
62
|
if (introcon == 3)
|
|
63
|
{
|
|
64
|
introtimer++;
|
|
65
|
if ((button3_p() && introtimer > 15) || !i_ex(obj_writer))
|
|
66
|
{
|
|
67
|
with (obj_writer)
|
|
68
|
instance_destroy();
|
|
69
|
introcon = 4;
|
|
70
|
introtimer = 0;
|
|
71
|
msgsetloc(0, You are brash, young soldier! If you seek my love...Wait for inputClose Message"You are brash,&young soldier!&If you seek&my love.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_79_0" );
|
|
72
|
global.typer = 50;
|
|
73
|
balloon = scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
74
|
}
|
|
75
|
}
|
|
76
|
if (introcon == 4)
|
|
77
|
{
|
|
78
|
introtimer++;
|
|
79
|
if ((button3_p() && introtimer > 15) || !i_ex(obj_writer))
|
|
80
|
{
|
|
81
|
with (obj_writer)
|
|
82
|
instance_destroy();
|
|
83
|
introcon = 5;
|
|
84
|
introtimer = 0;
|
|
85
|
msgsetloc(0, You must prove yourself worthy of a princess.Wait for inputClose Message"You must prove&yourself worthy&of a princess./%", "obj_holywatercooler_enemy_slash_Step_0_gml_94_0" );
|
|
86
|
global.typer = 50;
|
|
87
|
balloon = scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
88
|
}
|
|
89
|
}
|
|
90
|
if (introcon == 5)
|
|
91
|
{
|
|
92
|
introtimer++;
|
|
93
|
if ((button3_p() && introtimer > 15) || !i_ex(obj_writer))
|
|
94
|
{
|
|
95
|
with (obj_writer)
|
|
96
|
instance_destroy();
|
|
97
|
introcon = 0;
|
|
98
|
introtimer = 0;
|
|
99
|
global.charturn = 0;
|
|
100
|
}
|
|
101
|
}
|
|
102
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0 && transformationcon == 0 && introcon == 0)
|
|
103
|
{
|
|
104
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
105
|
if (!hurtinit)
|
|
106
|
{
|
|
107
|
hurtinit = true;
|
|
108
|
if (healthprev != global.monsterhp[myself])
|
|
109
|
gothurtlastturn = true;
|
|
110
|
else
|
|
111
|
gothurtlastturn = false;
|
|
112
|
healthprev = global.monsterhp[myself];
|
|
113
|
}
|
|
114
|
hurtinit = false;
|
|
115
|
if (!instance_exists(obj_darkener))
|
|
116
|
instance_create(0, 0, obj_darkener);
|
|
117
|
global.typer = 50;
|
|
118
|
rr++;
|
|
119
|
if (amimissmizzle == false && global.mercymod[myself] >= 60)
|
|
120
|
{
|
|
121
|
msgsetloc(0, Ah! What is this? The chamber can no longer hold me.Wait for inputClose Message"Ah! What is this?&The chamber can&no longer hold me./%", "obj_holywatercooler_enemy_slash_Step_0_gml_133_0" );
|
|
122
|
ballooncon = 11;
|
|
123
|
balloonend = 0;
|
|
124
|
}
|
|
125
|
else if (gothurtlastturn == true && amimissmizzle == false)
|
|
126
|
{
|
|
127
|
violenceturn++;
|
|
128
|
if (violenceturn == 1)
|
|
129
|
{
|
|
130
|
msgsetloc(0, Oh, you brutes! You scoundrels!Wait for inputClose Message"Oh, you brutes!&You scoundrels!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_137_0" );
|
|
131
|
ballooncon = 1;
|
|
132
|
balloonend = 0;
|
|
133
|
}
|
|
134
|
else if (violenceturn == 2)
|
|
135
|
{
|
|
136
|
msgsetloc(0, What? You treat me like an egg, that you should break me,Wait for inputClose Message"What? You treat me&like an egg, that&you should break me,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_138_0" );
|
|
137
|
ballooncon = 3;
|
|
138
|
balloonend = 0;
|
|
139
|
}
|
|
140
|
else if (violenceturn == 3)
|
|
141
|
{
|
|
142
|
msgset(0, disgustingstr);
|
|
143
|
ballooncon = 0;
|
|
144
|
balloonend = 1;
|
|
145
|
}
|
|
146
|
else if (violenceturn == 4)
|
|
147
|
{
|
|
148
|
msgsetloc(0, What have you done? You have broken my chamber!Wait for inputClose Message"What have you done?&You have broken my&chamber!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_140_0" );
|
|
149
|
ballooncon = 6;
|
|
150
|
balloonend = 0;
|
|
151
|
}
|
|
152
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
153
|
}
|
|
154
|
else if (amimissmizzle == false && acttalked == false)
|
|
155
|
{
|
|
156
|
var random_vowel = choose("a", "e", "i", "o", "u", "u", "oo");
|
|
157
|
if (global.lang == "ja")
|
|
158
|
random_vowel = choose("パ", "ピ", "プ", "ぺ");
|
|
159
|
if (rr == 1)
|
|
160
|
msgsetloc(0, Buble"Buble", "obj_holywatercooler_enemy_slash_Step_0_gml_145_0" );
|
|
161
|
else
|
|
162
|
msgsetsubloc(0, "B~1b~2e", random_vowel, choose("i", "l"), "obj_holywatercooler_enemy_slash_Step_0_gml_146_0");
|
|
163
|
global.msg[0] += "/%";
|
|
164
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
165
|
}
|
|
166
|
else if (acttalked == false)
|
|
167
|
{
|
|
168
|
msgsetloc(0, Glory, glory.Wait for inputClose Message"Glory, glory./%", "obj_holywatercooler_enemy_slash_Step_0_gml_151_0" );
|
|
169
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
170
|
}
|
|
171
|
acttalked = false;
|
|
172
|
if (ballooncon == 0)
|
|
173
|
{
|
|
174
|
talked = 0.5;
|
|
175
|
talktimer = 0;
|
|
176
|
}
|
|
177
|
else
|
|
178
|
{
|
|
179
|
talked = 0.6;
|
|
180
|
talktimer = 0;
|
|
181
|
}
|
|
182
|
talktimer = 0;
|
|
183
|
rtimer = 0;
|
|
184
|
}
|
|
185
|
if (talked == 0.5)
|
|
186
|
{
|
|
187
|
talktimer++;
|
|
188
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
189
|
{
|
|
190
|
with (obj_writer)
|
|
191
|
instance_destroy();
|
|
192
|
alarm[6] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
193
|
}
|
|
194
|
}
|
|
195
|
if (talked == 0.6)
|
|
196
|
{
|
|
197
|
talktimer++;
|
|
198
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
199
|
{
|
|
200
|
with (obj_writer)
|
|
201
|
instance_destroy();
|
|
202
|
if (ballooncon == 1)
|
|
203
|
{
|
|
204
|
msgsetloc(0, Those who seek to conquer hearts by force shall find no pure tincture,Wait for inputClose Message"Those who seek to&conquer hearts by&force shall find no&pure tincture,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_190_0" );
|
|
205
|
ballooncon = 2;
|
|
206
|
balloonend = 0;
|
|
207
|
}
|
|
208
|
else if (ballooncon == 2)
|
|
209
|
{
|
|
210
|
msgsetloc(0, But instead a bitter poison, of gnashing teeth and regret.Wait for inputClose Message"But instead a bitter&poison, of gnashing&teeth and regret./%", "obj_holywatercooler_enemy_slash_Step_0_gml_191_0" );
|
|
211
|
ballooncon = 0;
|
|
212
|
balloonend = 1;
|
|
213
|
}
|
|
214
|
else if (ballooncon == 3)
|
|
215
|
{
|
|
216
|
msgsetloc(0, To reveal some hidden beauty in gold and softened ivory.Wait for inputClose Message"To reveal some hidden&beauty in gold and&softened ivory./%", "obj_holywatercooler_enemy_slash_Step_0_gml_193_0" );
|
|
217
|
ballooncon = 4;
|
|
218
|
balloonend = 0;
|
|
219
|
}
|
|
220
|
else if (ballooncon == 4)
|
|
221
|
{
|
|
222
|
msgsetloc(0, Nay, for love is made of eggshells,Wait for inputClose Message"Nay, for love is&made of eggshells,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_194_0" );
|
|
223
|
ballooncon = 5;
|
|
224
|
balloonend = 0;
|
|
225
|
}
|
|
226
|
else if (ballooncon == 5)
|
|
227
|
{
|
|
228
|
msgsetloc(0, And should your love be true, you would already know what lies inside.Wait for inputClose Message"And should your love&be true, you would&already know what&lies inside./%", "obj_holywatercooler_enemy_slash_Step_0_gml_195_0" );
|
|
229
|
ballooncon = 0;
|
|
230
|
balloonend = 1;
|
|
231
|
}
|
|
232
|
else if (ballooncon == 6)
|
|
233
|
{
|
|
234
|
msgsetloc(0, Now I will seem as all the others...Wait for inputClose Message"Now I will seem as&all the others.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_197_0" );
|
|
235
|
ballooncon = 7;
|
|
236
|
balloonend = 0;
|
|
237
|
}
|
|
238
|
else if (ballooncon == 7)
|
|
239
|
{
|
|
240
|
msgsetloc(0, Oh, young soldiers, how cruel you are, that in your quest to make me yours,Wait for inputClose Message"Oh, young soldiers,&how cruel you are,&that in your quest&to make me yours,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_198_0" );
|
|
241
|
ballooncon = 8;
|
|
242
|
balloonend = 0;
|
|
243
|
}
|
|
244
|
else if (ballooncon == 8)
|
|
245
|
{
|
|
246
|
msgsetloc(0, You would reduce me to this terrible state...Wait for inputClose Message"You would reduce&me to this terrible&state.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_199_0" );
|
|
247
|
ballooncon = 9;
|
|
248
|
balloonend = 0;
|
|
249
|
}
|
|
250
|
else if (ballooncon == 9)
|
|
251
|
{
|
|
252
|
msgsetloc(0, ... Goodbye...Wait for inputClose Message"...&Goodbye.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_200_0" );
|
|
253
|
ballooncon = 0;
|
|
254
|
balloonend = 1;
|
|
255
|
turnintomizzle = 1;
|
|
256
|
}
|
|
257
|
else if (ballooncon == 11)
|
|
258
|
{
|
|
259
|
msgsetloc(0, It seems your affection has caused some change in my form...Wait for inputClose Message"It seems your affection&has caused some change&in my form.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_202_0" );
|
|
260
|
ballooncon = 12;
|
|
261
|
balloonend = 0;
|
|
262
|
}
|
|
263
|
else if (ballooncon == 12)
|
|
264
|
{
|
|
265
|
msgsetloc(0, Ah, it's breaking!Wait for inputClose Message"Ah, it's breaking!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_203_0" );
|
|
266
|
ballooncon = 0;
|
|
267
|
balloonend = 1;
|
|
268
|
turnintomizzle = 1;
|
|
269
|
}
|
|
270
|
talked = 0.7;
|
|
271
|
global.typer = 50;
|
|
272
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
273
|
ralseitalks = 0;
|
|
274
|
susietalks = 0;
|
|
275
|
if (ballooncon == 0)
|
|
276
|
{
|
|
277
|
talked = 0.5;
|
|
278
|
talktimer = 0;
|
|
279
|
}
|
|
280
|
else
|
|
281
|
{
|
|
282
|
talked = 0.6;
|
|
283
|
talktimer = 0;
|
|
284
|
}
|
|
285
|
alarm[6] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
286
|
}
|
|
287
|
}
|
|
288
|
if (talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && transformationcon == 0 && amimissmizzle == false && turnintomizzle == 1 && !i_ex(obj_writer))
|
|
289
|
transformationcon = 1;
|
|
290
|
if (talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && transformationcon == 0 && !i_ex(obj_writer))
|
|
291
|
global.mnfight = 1.5;
|
|
292
|
if (global.mnfight == 1.5)
|
|
293
|
{
|
|
294
|
if (!begformercyskip)
|
|
295
|
{
|
|
296
|
if (!instance_exists(obj_growtangle))
|
|
297
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
298
|
instance_create(obj_growtangle.x - 10, obj_growtangle.y + 18, obj_heartmarker);
|
|
299
|
if (!instance_exists(obj_moveheart))
|
|
300
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
if (global.chapter == 4 && (i_ex(obj_hammer_of_justice_enemy) || i_ex(obj_sound_of_justice_enemy)))
return instance_create(obj_herosusie.x - 250, obj_herosusie.y + 40, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
301
|
with (obj_heartmarker)
|
|
302
|
instance_destroy();
|
|
303
|
}
|
|
304
|
global.mnfight = 2;
|
|
305
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (200);
|
|
306
|
if (amimissmizzle == true)
|
|
307
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
308
|
}
|
|
309
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && attacked == 0)
|
|
310
|
{
|
|
311
|
rtimer += 1;
|
|
312
|
if (rtimer == 12)
|
|
313
|
{
|
|
314
|
if (!begformercyskip)
|
|
315
|
{
|
|
316
|
if (amimissmizzle == false)
|
|
317
|
{
|
|
318
|
global.monsterattackname[myself] = "Rain";
|
|
319
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
320
|
dc.type = 135;
|
|
321
|
dc.special = 0;
|
|
322
|
if (turns > 1 && (turns % 2) == 0)
|
|
323
|
dc.special = 1;
|
|
324
|
else if (turns > 1)
|
|
325
|
dc.special = 2;
|
|
326
|
}
|
|
327
|
else
|
|
328
|
{
|
|
329
|
global.monsterattackname[myself] = "holywaterC";
|
|
330
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
331
|
dc.type = 471;
|
|
332
|
dc.special = difficulty;
|
|
333
|
}
|
|
334
|
}
|
|
335
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (140);
|
|
336
|
if (begformercyskip)
|
|
337
|
{
|
|
338
|
begformercyskip = false;
|
|
339
|
global.turntimer = 1;
|
|
340
|
}
|
|
341
|
attackanim = true;
|
|
342
|
turns += 1;
|
|
343
|
noballoon = false;
|
|
344
|
global.typer = 6;
|
|
345
|
global.fc = 0;
|
|
346
|
rr = choose(0, 1, 2, 3, 4);
|
|
347
|
if (!amimissmizzle)
|
|
348
|
{
|
|
349
|
if (rr == 0)
|
|
350
|
global.battlemsg[0] = stringsetloc(* You feel a strong presence from the watercooler."* You feel a strong presence from the watercooler.", "obj_holywatercooler_enemy_slash_Step_0_gml_295_0" );
|
|
351
|
if (rr == 1)
|
|
352
|
global.battlemsg[0] = stringsetloc(* The watercooler babbles to itself sesquipedalianarily."* The watercooler babbles to itself sesquipedalianarily.", "obj_holywatercooler_enemy_slash_Step_0_gml_296_0" );
|
|
353
|
if (rr == 2)
|
|
354
|
global.battlemsg[0] = stringsetloc(* The watercooler considers the precise gemstone to compare its own hue to."* The watercooler considers the precise gemstone to compare its own hue to.", "obj_holywatercooler_enemy_slash_Step_0_gml_297_0" );
|
|
355
|
if (rr == 3)
|
|
356
|
global.battlemsg[0] = stringsetloc(* The watercooler stays its breath, too precious to waste... and keeps talking."* The watercooler stays its breath, too precious to waste... and keeps talking.", "obj_holywatercooler_enemy_slash_Step_0_gml_298_0" );
|
|
357
|
if (rr == 4)
|
|
358
|
global.battlemsg[0] = stringsetloc(* The watercooler emits an aura of magnanimous condescension."* The watercooler emits an aura of magnanimous condescension.", "obj_holywatercooler_enemy_slash_Step_0_gml_299_0" );
|
|
359
|
if (random(100) < 4)
|
|
360
|
global.battlemsg[0] = stringsetloc(* Smells like water with holes in it."* Smells like water with holes in it.", "obj_holywatercooler_enemy_slash_Step_0_gml_300_0" );
|
|
361
|
}
|
|
362
|
else
|
|
363
|
{
|
|
364
|
rr = choose(0, 1, 2);
|
|
365
|
if (rr == 0)
|
|
366
|
global.battlemsg[0] = stringsetloc(* You hear the sound of raindrops."* You hear the sound of raindrops.", "obj_holywatercooler_enemy_slash_Step_0_gml_304_0" );
|
|
367
|
if (rr == 1)
|
|
368
|
global.battlemsg[0] = stringsetloc(* You hear a distant thunder."* You hear a distant thunder.", "obj_holywatercooler_enemy_slash_Step_0_gml_305_0" );
|
|
369
|
if (rr == 2)
|
|
370
|
global.battlemsg[0] = stringsetloc(* Waves crash far, far, far below."* Waves crash far, far, far below.", "obj_holywatercooler_enemy_slash_Step_0_gml_306_0" );
|
|
371
|
if (random(100) < 4)
|
|
372
|
global.battlemsg[0] = stringsetloc(* Smells like a rainstorm."* Smells like a rainstorm.", "obj_holywatercooler_enemy_slash_Step_0_gml_307_0" );
|
|
373
|
}
|
|
374
|
attacked = 1;
|
|
375
|
}
|
|
376
|
}
|
|
377
|
if (global.mnfight == 2 && global.turntimer > 1)
|
|
378
|
{
|
|
379
|
}
|
|
380
|
}
|
|
381
|
if (global.myfight == 3)
|
|
382
|
{
|
|
383
|
xx = __view_get(e__VW.XView, 0);
|
|
384
|
yy = __view_get(e__VW.YView, 0);
|
|
385
|
if (acting == 1 && actcon == 0)
|
|
386
|
{
|
|
387
|
actcon = 1;
|
|
388
|
if (amimissmizzle == false)
|
|
389
|
{
|
|
390
|
msgsetloc(0, * HOLYWATERCOOLER - Just seems like a Watercooler with an ego.Wait for inputClose Message"* HOLYWATERCOOLER - Just seems like a Watercooler with an ego./%", "obj_holywatercooler_enemy_slash_Step_0_gml_334_0" );
|
|
391
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
392
|
}
|
|
393
|
else
|
|
394
|
{
|
|
395
|
msgsetloc(0, * MISS MIZZLE - A Mizzle transformed with affection.Wait for inputClose Message"* MISS MIZZLE - A Mizzle transformed with affection./%", "obj_holywatercooler_enemy_slash_Step_0_gml_339_0" );
|
|
396
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
397
|
}
|
|
398
|
}
|
|
399
|
if (!hurtinit)
|
|
400
|
{
|
|
401
|
if (healthprev != global.monsterhp[myself])
|
|
402
|
gothurtlastturn = true;
|
|
403
|
else
|
|
404
|
gothurtlastturn = false;
|
|
405
|
healthprev = global.monsterhp[myself];
|
|
406
|
}
|
|
407
|
if (!amimissmizzle)
|
|
408
|
{
|
|
409
|
if (acting == 2 && actcon == 0)
|
|
410
|
{
|
|
411
|
flirtcount++;
|
|
412
|
acttalked = true;
|
|
413
|
msgsetloc(0, * You FLIRTED with HolyWatercooler!Wait for inputClose Message"* You FLIRTED with HolyWatercooler!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_359_0" );
|
|
414
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
415
|
acting = 2.1;
|
|
416
|
}
|
|
417
|
if (acting == 2.1 && actcon == 0 && !i_ex(obj_writer))
|
|
418
|
{
|
|
419
|
msgsetloc(0, Romantic are your words...Wait for inputClose Message"Romantic are&your words.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_367_0" );
|
|
420
|
acting = 0.6;
|
|
421
|
if (previouslyflirted && flirtcount == 1)
|
|
422
|
ballooncon = 1;
|
|
423
|
if (!previouslyflirted && flirtcount == 1)
|
|
424
|
ballooncon = 5;
|
|
425
|
if (flirtcount == 2)
|
|
426
|
ballooncon = 6;
|
|
427
|
if (flirtcount == 3 || (previouslyflirted && flirtcount == 2))
|
|
428
|
{
|
|
429
|
failedflirting = true;
|
|
430
|
msgset(0, disgustingstr);
|
|
431
|
ballooncon = 0;
|
|
432
|
balloonend = 1;
|
|
433
|
actcon = 1;
|
|
434
|
acting = 0;
|
|
435
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
436
|
}
|
|
437
|
if (flirtcount > 3 || (previouslyflirted && flirtcount > 2))
|
|
438
|
{
|
|
439
|
failedflirting = true;
|
|
440
|
msgset(0, disgustingstr);
|
|
441
|
ballooncon = 0;
|
|
442
|
balloonend = 1;
|
|
443
|
actcon = 1;
|
|
444
|
acting = 0;
|
|
445
|
}
|
|
446
|
global.typer = 50;
|
|
447
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
448
|
}
|
|
449
|
if (acting == 3 && actcon == 0)
|
|
450
|
{
|
|
451
|
begformercycount++;
|
|
452
|
acttalked = true;
|
|
453
|
msgsetloc(0, * You begged for mercy...Wait for inputClose Message"* You begged for mercy.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_402_0" );
|
|
454
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
455
|
acting = 0.6;
|
|
456
|
if (begformercycount == 1)
|
|
457
|
ballooncon = 12;
|
|
458
|
if (begformercycount == 2)
|
|
459
|
ballooncon = 14;
|
|
460
|
if (begformercycount == 3)
|
|
461
|
ballooncon = 19;
|
|
462
|
if (begformercycount > 3)
|
|
463
|
ballooncon = 19.5;
|
|
464
|
}
|
|
465
|
if (acting == 4 && actcon == 0)
|
|
466
|
{
|
|
467
|
chatcount++;
|
|
468
|
acttalked = true;
|
|
469
|
var chatstring = stringsetloc(* Everyone chatted around the Watercooler!Wait for input"* Everyone chatted around the Watercooler!/", "obj_holywatercooler_enemy_slash_Step_0_gml_417_0" );
|
|
470
|
acting = 0.6;
|
|
471
|
if (chatcount == 1)
|
|
472
|
{
|
|
473
|
msgset(0, chatstring + "%");
|
|
474
|
ballooncon = 20;
|
|
475
|
}
|
|
476
|
if (chatcount == 2)
|
|
477
|
{
|
|
478
|
msgset(0, chatstring);
|
|
479
|
msgnextloc(* (Seems like you should choose a topic...)Wait for inputClose Message"* (Seems like you should choose a topic...)/%", "obj_holywatercooler_enemy_slash_Step_0_gml_429_0" );
|
|
480
|
ballooncon = 23;
|
|
481
|
balloonend = 0;
|
|
482
|
}
|
|
483
|
if (chatcount > 2)
|
|
484
|
{
|
|
485
|
msgset(0, chatstring);
|
|
486
|
msgnextloc(* (Everyone talked around the watercooler, explicitly about watercoolers!)Wait for inputClose Message"* (Everyone talked around the watercooler, explicitly about watercoolers!)/%", "obj_holywatercooler_enemy_slash_Step_0_gml_437_0" );
|
|
487
|
ballooncon = 0;
|
|
488
|
balloonend = 1;
|
|
489
|
actcon = 1;
|
|
490
|
acting = 0;
|
|
491
|
if (chatcount == 3)
|
|
492
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 12);
|
|
493
|
}
|
|
494
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
495
|
}
|
|
496
|
}
|
|
497
|
if (amimissmizzle)
|
|
498
|
{
|
|
499
|
if (acting == 2 && actcon == 0)
|
|
500
|
{
|
|
501
|
acting = 2.1;
|
|
502
|
timer = 0;
|
|
503
|
msgsetloc(0, * You DAZZLEd MISS MIZZLE!Wait for inputClose Message"* You DAZZLEd MISS MIZZLE!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_456_0" );
|
|
504
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
505
|
}
|
|
506
|
if (acting == 2.1 && actcon == 0)
|
|
507
|
{
|
|
508
|
timer++;
|
|
509
|
if (timer == 1)
|
|
510
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_krisb_act, 1, 1);
|
|
511
|
if (timer == 1)
|
|
512
|
snd_play_x(snd_bell_bounce_short, 1, 1);
|
|
513
|
if (timer == 11)
|
|
514
|
snd_play_x(snd_bell_bounce_short, 1, 1.1);
|
|
515
|
if (timer == 21)
|
|
516
|
snd_play_x(snd_bell_bounce_short, 1, 1.2);
|
|
517
|
if (timer == 23)
|
|
518
|
{
|
|
519
|
repeat (6)
|
|
520
|
instance_create_depth(obj_herokris.x + 40, obj_herokris.y + 20 + irandom(40), obj_herokris.depth + 1, obj_dazzle_particle);
|
|
521
|
}
|
|
522
|
if (timer >= 30)
|
|
523
|
{
|
|
524
|
timer = 0;
|
|
525
|
actcon = 1;
|
|
526
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 8);
|
|
527
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("kris");
|
|
528
|
}
|
|
529
|
}
|
|
530
|
if (acting == 3 && actcon == 0)
|
|
531
|
{
|
|
532
|
msgsetloc(0, * Susie EMBEZZLED an item!Wait for inputClose Message"* Susie EMBEZZLED an item!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_490_0" );
|
|
533
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
534
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_jump_back, 1, 1);
|
|
535
|
obj_herosusie.vspeed = -40;
|
|
536
|
snd_play(snd_jump);
|
|
537
|
acting = 3.1;
|
|
538
|
}
|
|
539
|
if (acting == 3.1 && actcon == 0)
|
|
540
|
{
|
|
541
|
timer++;
|
|
542
|
if (timer == 20)
|
|
543
|
{
|
|
544
|
obj_herosusie.x = x + 20;
|
|
545
|
obj_herosusie.y = cameray() - 100;
|
|
546
|
obj_herosusie.vspeed = 30;
|
|
547
|
obj_herosusie.depth = depth - 1;
|
|
548
|
}
|
|
549
|
if ((obj_herosusie.y + obj_herosusie.vspeed) > (y - 10) && timer > 20)
|
|
550
|
{
|
|
551
|
obj_herosusie.y = y - 10;
|
|
552
|
obj_herosusie.vspeed = 0;
|
|
553
|
snd_play(snd_bump);
|
|
554
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_kneel_heal_alt_right, 0, 1);
|
|
555
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
556
|
with (obj_herosusie)
|
|
557
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
558
|
timer = 0;
|
|
559
|
acting = 3.3;
|
|
560
|
}
|
|
561
|
}
|
|
562
|
if (acting == 3.3 && actcon == 0)
|
|
563
|
{
|
|
564
|
scr_itemcheck_pocketscr_itemcheck_pocket
function scr_itemcheck_pocket(arg0)
{
haveit = 0;
itemcount = 0;
for (var __i = 0; __i < global.flag[64 storage_size]; __i += 1)
{
if (global.pocketitem[__i] == arg0)
haveit = 1;
if (global.pocketitem[__i] == arg0)
itemcount += 1;
}
return haveit;
} (0);
|
|
565
|
if (havestolenbefore)
|
|
566
|
{
|
|
567
|
snd_play(snd_cantselect);
|
|
568
|
msgsetloc(0, * But, there was nothing to steal!Wait for inputClose Message"* But, there was nothing to steal!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_538_0" );
|
|
569
|
}
|
|
570
|
else if (scr_inventoryspacescr_inventoryspace
function scr_inventoryspace()
{
var freespace = 0;
var inventoryspace = 12;
for (var i = 0; i < inventoryspace; i++)
{
if (global.item[i] == 0)
freespace++;
}
debug_message("from " + object_get_name(object_index) + ": scr_inventoryspace(): free inventory slots=" + string(freespace));
return freespace;
}
function scr_pocketspace()
{
var pocketspace = 0;
for (var i = 0; i < global.flag[64 storage_size]; i++)
{
if (global.pocketitem[i] == 0)
pocketspace++;
}
debug_message("from " + object_get_name(object_index) + ": scr_pocketspace(): free pocket slots=" + string(pocketspace));
return pocketspace;
} () == 0 && itemcount == 0)
|
|
571
|
{
|
|
572
|
snd_play(snd_cantselect);
|
|
573
|
msgsetloc(0, * But, your items are full!Wait for inputClose Message"* But, your items are full!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_543_0" );
|
|
574
|
}
|
|
575
|
else if (irandom(100) < 65)
|
|
576
|
{
|
|
577
|
snd_play(snd_cantselect);
|
|
578
|
msgsetloc(0, * But, she failed!Wait for inputClose Message"* But, she failed!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_548_0" );
|
|
579
|
}
|
|
580
|
else
|
|
581
|
{
|
|
582
|
havestolenbefore = true;
|
|
583
|
snd_play(snd_item);
|
|
584
|
msgsetloc(0, * Stole BitterTear!Wait for inputClose Message"* Stole BitterTear!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_554_0" );
|
|
585
|
scr_itemget_anytypescr_itemget_anytype
function scr_itemget_anytype(arg0, arg1)
{
noroom = 0;
if (arg1 == "item")
scr_itemget(arg0);
if (arg1 == "weapon")
scr_weaponget(arg0);
if (arg1 == "armor")
scr_armorget(arg0);
if (arg1 == "key")
scr_keyitemget(arg0);
if (arg1 == "money")
global.gold += arg0;
} (63, "item");
|
|
586
|
}
|
|
587
|
acting = 3.4;
|
|
588
|
timer = 0;
|
|
589
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 8);
|
|
590
|
}
|
|
591
|
if (acting == 3.4 && actcon == 0)
|
|
592
|
{
|
|
593
|
timer++;
|
|
594
|
if (timer == 20)
|
|
595
|
{
|
|
596
|
obj_herosusie.vspeed = -30;
|
|
597
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_jump_back, 1, 1);
|
|
598
|
snd_stop(snd_jump);
|
|
599
|
snd_play(snd_jump);
|
|
600
|
}
|
|
601
|
if (timer == 30)
|
|
602
|
{
|
|
603
|
obj_herosusie.x = obj_herosusie.xstart;
|
|
604
|
obj_herosusie.vspeed = 30;
|
|
605
|
}
|
|
606
|
if (timer > 30 && (obj_herosusie.y + obj_herosusie.vspeed) > obj_herosusie.ystart)
|
|
607
|
{
|
|
608
|
obj_herosusie.vspeed = 0;
|
|
609
|
obj_herosusie.x = obj_herosusie.xstart;
|
|
610
|
obj_herosusie.y = obj_herosusie.ystart;
|
|
611
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("susie");
|
|
612
|
with (obj_herosusie)
|
|
613
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
614
|
snd_play(snd_bump);
|
|
615
|
acting = 3.5;
|
|
616
|
timer = 0;
|
|
617
|
}
|
|
618
|
}
|
|
619
|
if (acting == 3.5 && actcon == 0 && !i_ex(obj_writer))
|
|
620
|
{
|
|
621
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
622
|
acting = 3.6;
|
|
623
|
}
|
|
624
|
if (acting == 3.6 && actcon == 0 && !i_ex(obj_writer))
|
|
625
|
{
|
|
626
|
acting = 0;
|
|
627
|
actcon = 1;
|
|
628
|
}
|
|
629
|
if (acting == 4 && actcon == 0)
|
|
630
|
{
|
|
631
|
msgsetloc(0, * Ralsei NUZZLEd MISS MIZZLE!Wait for inputClose Message"* Ralsei NUZZLEd MISS MIZZLE!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_608_0" );
|
|
632
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
633
|
acting = 4.1;
|
|
634
|
}
|
|
635
|
if (acting == 4.1 && actcon == 0)
|
|
636
|
{
|
|
637
|
timer++;
|
|
638
|
if (timer == 1)
|
|
639
|
{
|
|
640
|
obj_heroralsei.x = x - 40;
|
|
641
|
obj_heroralsei.y = y + 20;
|
|
642
|
obj_heroralsei.depth = depth - 1;
|
|
643
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_nuzzle3, 2, 1);
|
|
644
|
snd_play_x(snd_magicmarker, 1, 1);
|
|
645
|
}
|
|
646
|
if (timer < 31)
|
|
647
|
obj_heroralsei.x += 0.1;
|
|
648
|
if (timer > 31)
|
|
649
|
{
|
|
650
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("ralsei");
|
|
651
|
obj_heroralsei.x = obj_heroralsei.xstart;
|
|
652
|
obj_heroralsei.y = obj_heroralsei.ystart;
|
|
653
|
obj_heroralsei.image_xscale = 2;
|
|
654
|
timer = 0;
|
|
655
|
acting = 4.2;
|
|
656
|
}
|
|
657
|
}
|
|
658
|
if (acting == 4.2 && actcon == 0 && !i_ex(obj_writer))
|
|
659
|
{
|
|
660
|
tiredcount++;
|
|
661
|
if (tiredcount == 2)
|
|
662
|
scr_monster_make_tiredscr_monster_make_tired
function scr_monster_make_tired(arg0)
{
if (global.monsterstatus[arg0] == 0)
{
__tiredwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] - (global.hittarget[arg0] * 20)) + 20, obj_dmgwriter);
__tiredwriter.type = 13;
global.hittarget[arg0] += 1;
snd_play_x(snd_spellcast, 0.5, 0.9);
}
global.monstercomment[arg0] = stringsetloc((Tired)"(Tired)", "scr_monster_make_tired_slash_scr_monster_make_tired_gml_1_0" );
global.monsterstatus[arg0] = 1;
} (myself);
|
|
663
|
if (tiredcount == 1)
|
|
664
|
msgsetloc(0, * MISS MIZZLE got a little bit tired...!Wait for inputClose Message"* MISS MIZZLE got a little bit tired...!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_645_0" );
|
|
665
|
if (tiredcount > 1)
|
|
666
|
msgsetloc(0, * MISS MIZZLE became TIRED!Wait for inputClose Message"* MISS MIZZLE became TIRED!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_646_0" );
|
|
667
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
668
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 8);
|
|
669
|
actcon = 1;
|
|
670
|
}
|
|
671
|
if (acting == 5 && actcon == 0)
|
|
672
|
{
|
|
673
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
674
|
acting = 5.1;
|
|
675
|
}
|
|
676
|
if (acting == 5.1 && actcon == 0 && !i_ex(obj_writer))
|
|
677
|
{
|
|
678
|
timer++;
|
|
679
|
if (timer == 1)
|
|
680
|
{
|
|
681
|
with (obj_heroralsei)
|
|
682
|
x += 8;
|
|
683
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_sing, 0.16666666666666666, 1);
|
|
684
|
snd_play(snd_ralseising1);
|
|
685
|
}
|
|
686
|
if (timer == 61)
|
|
687
|
{
|
|
688
|
with (obj_herosusie)
|
|
689
|
{
|
|
690
|
x -= 36;
|
|
691
|
y -= 12;
|
|
692
|
}
|
|
693
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_sing, 1, 1);
|
|
694
|
snd_play(snd_suslaugh);
|
|
695
|
}
|
|
696
|
if (timer == 75)
|
|
697
|
{
|
|
698
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_shocked_right, 1, 1);
|
|
699
|
snd_stop(snd_ralseising1);
|
|
700
|
with (obj_heroralsei)
|
|
701
|
{
|
|
702
|
x += 10;
|
|
703
|
y += 10;
|
|
704
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
705
|
}
|
|
706
|
}
|
|
707
|
if (timer > 120)
|
|
708
|
{
|
|
709
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("ralsei");
|
|
710
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("susie");
|
|
711
|
with (obj_herosusie)
|
|
712
|
{
|
|
713
|
x = xstart;
|
|
714
|
y = ystart;
|
|
715
|
}
|
|
716
|
with (obj_heroralsei)
|
|
717
|
{
|
|
718
|
x = xstart;
|
|
719
|
y = ystart;
|
|
720
|
}
|
|
721
|
timer = 0;
|
|
722
|
acting = 5.2;
|
|
723
|
}
|
|
724
|
}
|
|
725
|
if (acting == 5.2 && actcon == 0 && !i_ex(obj_writer))
|
|
726
|
{
|
|
727
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
728
|
with (obj_monsterparent)
|
|
729
|
{
|
|
730
|
if (global.monsterstatus[myself] == 1)
|
|
731
|
{
|
|
732
|
global.monsterstatus[myself] = 0;
|
|
733
|
global.monstercomment[myself] = "";
|
|
734
|
__tiredwriter = instance_create(global.monsterx[argument0], (global.monstery[argument0] - (global.hittarget[global.chartarget[argument0]] * 20)) + 20, obj_dmgwriter);
|
|
735
|
__tiredwriter.type = 14;
|
|
736
|
global.hittarget[global.chartarget[argument0]] += 1;
|
|
737
|
snd_play_x(snd_spellcast, 0.5, 1.2);
|
|
738
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 50);
|
|
739
|
}
|
|
740
|
else
|
|
741
|
{
|
|
742
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 20);
|
|
743
|
}
|
|
744
|
}
|
|
745
|
actcon = 1;
|
|
746
|
}
|
|
747
|
}
|
|
748
|
if (acting == 0.5 && actcon == 0)
|
|
749
|
{
|
|
750
|
talktimer++;
|
|
751
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
752
|
{
|
|
753
|
with (obj_writer)
|
|
754
|
instance_destroy();
|
|
755
|
alarm[7] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_7.gml
if (balloonend == 1)
{
actcon = 1;
acting = 0;
}
else
{
acting = 0.6;
talktimer = 0;
}
|
|
756
|
}
|
|
757
|
}
|
|
758
|
if (acting == 0.6)
|
|
759
|
{
|
|
760
|
talktimer++;
|
|
761
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
762
|
{
|
|
763
|
with (obj_writer)
|
|
764
|
instance_destroy();
|
|
765
|
if (ballooncon == 5.2)
|
|
766
|
{
|
|
767
|
if (global.choice == 0)
|
|
768
|
{
|
|
769
|
ballooncon = 5.31;
|
|
770
|
balloonend = 0;
|
|
771
|
}
|
|
772
|
if (global.choice == 1)
|
|
773
|
{
|
|
774
|
ballooncon = 5.41;
|
|
775
|
balloonend = 0;
|
|
776
|
}
|
|
777
|
}
|
|
778
|
if (ballooncon == 23.11)
|
|
779
|
{
|
|
780
|
if (global.choice == 0)
|
|
781
|
{
|
|
782
|
ballooncon = 23.21;
|
|
783
|
balloonend = 0;
|
|
784
|
}
|
|
785
|
if (global.choice == 1 && (flirtcount > 1 || failedflirting == true))
|
|
786
|
{
|
|
787
|
ballooncon = 23.31;
|
|
788
|
balloonend = 0;
|
|
789
|
}
|
|
790
|
else if (global.choice == 1)
|
|
791
|
{
|
|
792
|
ballooncon = 23.41;
|
|
793
|
balloonend = 0;
|
|
794
|
}
|
|
795
|
if (global.choice == 2)
|
|
796
|
{
|
|
797
|
ballooncon = 23.51;
|
|
798
|
balloonend = 0;
|
|
799
|
}
|
|
800
|
if (global.choice == 3)
|
|
801
|
{
|
|
802
|
ballooncon = 23.61;
|
|
803
|
balloonend = 0;
|
|
804
|
}
|
|
805
|
}
|
|
806
|
if (ballooncon == 1)
|
|
807
|
{
|
|
808
|
msgsetloc(0, Too romantic! Have you FLIRTED with another WaterCooler?Wait for inputClose Message"Too romantic! Have&you FLIRTED with&another WaterCooler?/%", "obj_holywatercooler_enemy_slash_Step_0_gml_760_0" );
|
|
809
|
ballooncon = 2;
|
|
810
|
balloonend = 0;
|
|
811
|
}
|
|
812
|
else if (ballooncon == 2)
|
|
813
|
{
|
|
814
|
msgsetloc(0, Wipe your mouth before you speak with one as I,Wait for inputClose Message"Wipe your mouth&before you speak&with one as I,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_761_0" );
|
|
815
|
ballooncon = 3;
|
|
816
|
balloonend = 0;
|
|
817
|
}
|
|
818
|
else if (ballooncon == 3)
|
|
819
|
{
|
|
820
|
msgsetloc(0, For your phrases, soggy with experience,Wait for inputClose Message"For your phrases,&soggy with&experience,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_762_0" );
|
|
821
|
ballooncon = 4;
|
|
822
|
balloonend = 0;
|
|
823
|
}
|
|
824
|
else if (ballooncon == 4)
|
|
825
|
{
|
|
826
|
msgsetloc(0, Dribble like shiny oil from your lips.Wait for inputClose Message"Dribble like&shiny oil from&your lips./%", "obj_holywatercooler_enemy_slash_Step_0_gml_763_0" );
|
|
827
|
ballooncon = 0;
|
|
828
|
balloonend = 1;
|
|
829
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
830
|
}
|
|
831
|
else if (ballooncon == 5)
|
|
832
|
{
|
|
833
|
msgsetloc(0, Young soldier, your words are sweet like honeydew. Is it the first time you have spoken to a lady such as I?Wait for inputClose Message"Young soldier,&your words are&sweet like honeydew.&Is it the first&time you have&spoken to a lady&such as I?/%", "obj_holywatercooler_enemy_slash_Step_0_gml_765_0" );
|
|
834
|
ballooncon = 5.1;
|
|
835
|
balloonend = 0;
|
|
836
|
}
|
|
837
|
else if (ballooncon == 5.1)
|
|
838
|
{
|
|
839
|
global.choicemsg[0] = stringsetloc(#First time"#First time", "obj_holywatercooler_enemy_slash_Step_0_gml_768_0" );
|
|
840
|
global.choicemsg[1] = stringsetloc(I flirt#with everyone"I flirt#with everyone", "obj_holywatercooler_enemy_slash_Step_0_gml_769_0" );
|
|
841
|
ballooncon = 5.2;
|
|
842
|
balloonend = 0;
|
|
843
|
msgset(0, "\\C2 ");
|
|
844
|
}
|
|
845
|
else if (ballooncon == 5.31)
|
|
846
|
{
|
|
847
|
msgsetloc(0, A young knight's first love...Wait for inputClose Message"A young knight's&first love.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_775_0" );
|
|
848
|
ballooncon = 5.32;
|
|
849
|
balloonend = 0;
|
|
850
|
}
|
|
851
|
else if (ballooncon == 5.32)
|
|
852
|
{
|
|
853
|
msgsetloc(0, No wellspring may be so pure.Wait for inputClose Message"No wellspring&may be so pure./%", "obj_holywatercooler_enemy_slash_Step_0_gml_776_0" );
|
|
854
|
ballooncon = 5.33;
|
|
855
|
balloonend = 0;
|
|
856
|
}
|
|
857
|
else if (ballooncon == 5.33)
|
|
858
|
{
|
|
859
|
msgsetloc(0, I shall accept your affection from afar,Wait for inputClose Message"I shall accept your&affection from afar,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_777_0" );
|
|
860
|
ballooncon = 5.34;
|
|
861
|
balloonend = 0;
|
|
862
|
}
|
|
863
|
else if (ballooncon == 5.34)
|
|
864
|
{
|
|
865
|
msgsetloc(0, And store it humbly in a masonry jar.Wait for inputClose Message"And store it humbly&in a masonry jar./%", "obj_holywatercooler_enemy_slash_Step_0_gml_778_0" );
|
|
866
|
ballooncon = 5.35;
|
|
867
|
balloonend = 0;
|
|
868
|
}
|
|
869
|
else if (ballooncon == 5.35)
|
|
870
|
{
|
|
871
|
msgsetloc(0, On lonely eves, when I hear naught but the bubbling of my heart,Wait for inputClose Message"On lonely eves, when&I hear naught&but the bubbling&of my heart,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_779_0" );
|
|
872
|
ballooncon = 5.36;
|
|
873
|
balloonend = 0;
|
|
874
|
}
|
|
875
|
else if (ballooncon == 5.36)
|
|
876
|
{
|
|
877
|
msgsetloc(0, I should open it and listen once more,Wait for inputClose Message"I should open it and&listen once more,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_780_0" );
|
|
878
|
ballooncon = 5.37;
|
|
879
|
balloonend = 0;
|
|
880
|
}
|
|
881
|
else if (ballooncon == 5.37)
|
|
882
|
{
|
|
883
|
msgsetloc(0, To the tender whispers of your kindness.Wait for inputClose Message"To the tender whispers&of your kindness./%", "obj_holywatercooler_enemy_slash_Step_0_gml_781_0" );
|
|
884
|
ballooncon = 0;
|
|
885
|
balloonend = 1;
|
|
886
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 20);
|
|
887
|
}
|
|
888
|
else if (ballooncon == 5.41)
|
|
889
|
{
|
|
890
|
msgsetloc(0, You think then, that I shall drink the wordsWait for inputClose Message"You think then, that&I shall drink the words/%", "obj_holywatercooler_enemy_slash_Step_0_gml_783_0" );
|
|
891
|
ballooncon = 5.42;
|
|
892
|
balloonend = 0;
|
|
893
|
}
|
|
894
|
else if (ballooncon == 5.42)
|
|
895
|
{
|
|
896
|
msgsetloc(0, From those that would flatter and cajole and find them sweet?Wait for inputClose Message"From those that would&flatter and cajole&and find them sweet?/%", "obj_holywatercooler_enemy_slash_Step_0_gml_784_0" );
|
|
897
|
ballooncon = 5.45;
|
|
898
|
balloonend = 0;
|
|
899
|
}
|
|
900
|
else if (ballooncon == 5.45)
|
|
901
|
{
|
|
902
|
msgsetloc(0, Nay! You would do well to save such tangy powders for a man or woman of the tap.Wait for inputClose Message"Nay! You would do well&to save such tangy powders&for a man or woman&of the tap./%", "obj_holywatercooler_enemy_slash_Step_0_gml_785_0" );
|
|
903
|
ballooncon = 0;
|
|
904
|
balloonend = 1;
|
|
905
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
906
|
failedflirting = true;
|
|
907
|
}
|
|
908
|
else if (ballooncon == 6)
|
|
909
|
{
|
|
910
|
msgsetloc(0, Young knight, your words were accepted once before.Wait for inputClose Message"Young knight, your words&were accepted once before./%", "obj_holywatercooler_enemy_slash_Step_0_gml_787_0" );
|
|
911
|
ballooncon = 7;
|
|
912
|
balloonend = 0;
|
|
913
|
}
|
|
914
|
else if (ballooncon == 7)
|
|
915
|
{
|
|
916
|
msgsetloc(0, Already, they are bottled up in a masonry jar,Wait for inputClose Message"Already, they are&bottled up in a masonry jar,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_788_0" );
|
|
917
|
ballooncon = 8;
|
|
918
|
balloonend = 0;
|
|
919
|
}
|
|
920
|
else if (ballooncon == 8)
|
|
921
|
{
|
|
922
|
msgsetloc(0, Where, aged with time, they will one day be opened in a far season To blossom with the whisper of old grapes.Wait for inputClose Message"Where, aged with time,&they will one day&be opened in a far season&To blossom&with the whisper&of old grapes./%", "obj_holywatercooler_enemy_slash_Step_0_gml_789_0" );
|
|
923
|
ballooncon = 9;
|
|
924
|
balloonend = 0;
|
|
925
|
}
|
|
926
|
else if (ballooncon == 9)
|
|
927
|
{
|
|
928
|
msgsetloc(0, Continue babbling, and the chalice shall overflow into turbulence, and lose all meaning.Wait for inputClose Message"Continue babbling, and&the chalice shall overflow&into turbulence,&and lose all meaning./%", "obj_holywatercooler_enemy_slash_Step_0_gml_790_0" );
|
|
929
|
ballooncon = 0;
|
|
930
|
balloonend = 1;
|
|
931
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 10);
|
|
932
|
failedflirting = true;
|
|
933
|
}
|
|
934
|
else if (ballooncon == 12)
|
|
935
|
{
|
|
936
|
msgsetloc(0, Blessed are those who kneel to me, for my waves shall cleanse you.Wait for inputClose Message"Blessed are those&who kneel to me,&for my waves shall&cleanse you./%", "obj_holywatercooler_enemy_slash_Step_0_gml_793_0" );
|
|
937
|
ballooncon = 13;
|
|
938
|
balloonend = 0;
|
|
939
|
}
|
|
940
|
else if (ballooncon == 13)
|
|
941
|
{
|
|
942
|
msgsetloc(0, Close your eyes, for as long as you adore my purity, no harm shall follow you.Wait for inputClose Message"Close your eyes,&for as long as you&adore my purity,&no harm shall&follow you./%", "obj_holywatercooler_enemy_slash_Step_0_gml_794_0" );
|
|
943
|
ballooncon = 13.5;
|
|
944
|
balloonend = 0;
|
|
945
|
}
|
|
946
|
else if (ballooncon == 13.5)
|
|
947
|
{
|
|
948
|
msgsetloc(0, * (HolyWatercooler took mercy on you!)Wait for inputClose Message"* (HolyWatercooler took mercy on you!)/%", "obj_holywatercooler_enemy_slash_Step_0_gml_797_0" );
|
|
949
|
ballooncon = 0;
|
|
950
|
balloonend = 1;
|
|
951
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 10);
|
|
952
|
begformercyskip = true;
|
|
953
|
with (obj_dmgwriter)
|
|
954
|
{
|
|
955
|
if (delaytimer >= 1)
|
|
956
|
killactive = 1;
|
|
957
|
}
|
|
958
|
scr_healallitemspellscr_healallitemspell
function scr_healallitemspell(arg0)
{
var __healAmount = arg0;
scr_healall(__healAmount);
for (i = 0; i < 3; i += 1)
{
with (global.charinstance[i])
{
ha = instance_create(x, y, obj_healanim);
ha.target = id;
dmgwr = scr_dmgwriter_selfchar();
with (dmgwr)
{
delay = 8;
type = 3;
damage = arg0;
}
if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]])
{
with (dmgwr)
specialmessage = 3;
}
tu += 1;
}
}
global.spelldelay = 20;
} (50);
|
|
959
|
for (i = 0; i < 3; i++)
|
|
960
|
{
|
|
961
|
with (global.charinstance[i])
|
|
962
|
tu--;
|
|
963
|
}
|
|
964
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
965
|
alarm[7] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_7.gml
if (balloonend == 1)
{
actcon = 1;
acting = 0;
}
else
{
acting = 0.6;
talktimer = 0;
}
|
|
966
|
exit;
|
|
967
|
}
|
|
968
|
else if (ballooncon == 14)
|
|
969
|
{
|
|
970
|
msgsetloc(0, Again you pray! With renewed vigor,Wait for inputClose Message"Again you pray!&With renewed vigor,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_814_0" );
|
|
971
|
ballooncon = 15;
|
|
972
|
balloonend = 0;
|
|
973
|
}
|
|
974
|
else if (ballooncon == 15)
|
|
975
|
{
|
|
976
|
msgsetloc(0, But now your hands shake with carbonated nervesWait for inputClose Message"But now your hands&shake with&carbonated nerves/%", "obj_holywatercooler_enemy_slash_Step_0_gml_815_0" );
|
|
977
|
ballooncon = 16;
|
|
978
|
balloonend = 0;
|
|
979
|
}
|
|
980
|
else if (ballooncon == 16)
|
|
981
|
{
|
|
982
|
msgsetloc(0, And fear drips down your face in painted horror.Wait for inputClose Message"And fear&drips down your face&in painted horror./%", "obj_holywatercooler_enemy_slash_Step_0_gml_816_0" );
|
|
983
|
ballooncon = 17;
|
|
984
|
balloonend = 0;
|
|
985
|
}
|
|
986
|
else if (ballooncon == 17)
|
|
987
|
{
|
|
988
|
msgsetloc(0, You beg not for salvation by my purity, butWait for inputClose Message"You beg not&for salvation&by my purity, but/%", "obj_holywatercooler_enemy_slash_Step_0_gml_817_0" );
|
|
989
|
ballooncon = 18;
|
|
990
|
balloonend = 0;
|
|
991
|
}
|
|
992
|
else if (ballooncon == 18)
|
|
993
|
{
|
|
994
|
msgsetloc(0, For fear of some ugliness you see reflected in the glass.Wait for inputClose Message"For fear of some&ugliness you see&reflected&in the glass./%", "obj_holywatercooler_enemy_slash_Step_0_gml_818_0" );
|
|
995
|
ballooncon = 18.5;
|
|
996
|
balloonend = 0;
|
|
997
|
}
|
|
998
|
else if (ballooncon == 18.5)
|
|
999
|
{
|
|
1000
|
msgsetloc(0, Once again I shall show mercy, but no more.Wait for inputClose Message"Once again&I shall show mercy,&but no more./%", "obj_holywatercooler_enemy_slash_Step_0_gml_819_0" );
|
|
1001
|
ballooncon = 18.75;
|
|
1002
|
balloonend = 0;
|
|
1003
|
}
|
|
1004
|
else if (ballooncon == 18.75)
|
|
1005
|
{
|
|
1006
|
msgsetloc(0, * (HolyWatercooler took mercy on you!)Wait for inputClose Message"* (HolyWatercooler took mercy on you!)/%", "obj_holywatercooler_enemy_slash_Step_0_gml_822_0" );
|
|
1007
|
ballooncon = 0;
|
|
1008
|
balloonend = 1;
|
|
1009
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 10);
|
|
1010
|
begformercyskip = true;
|
|
1011
|
with (obj_dmgwriter)
|
|
1012
|
{
|
|
1013
|
if (delaytimer >= 1)
|
|
1014
|
killactive = 1;
|
|
1015
|
}
|
|
1016
|
scr_healallitemspellscr_healallitemspell
function scr_healallitemspell(arg0)
{
var __healAmount = arg0;
scr_healall(__healAmount);
for (i = 0; i < 3; i += 1)
{
with (global.charinstance[i])
{
ha = instance_create(x, y, obj_healanim);
ha.target = id;
dmgwr = scr_dmgwriter_selfchar();
with (dmgwr)
{
delay = 8;
type = 3;
damage = arg0;
}
if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]])
{
with (dmgwr)
specialmessage = 3;
}
tu += 1;
}
}
global.spelldelay = 20;
} (50);
|
|
1017
|
for (i = 0; i < 3; i++)
|
|
1018
|
{
|
|
1019
|
with (global.charinstance[i])
|
|
1020
|
tu--;
|
|
1021
|
}
|
|
1022
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1023
|
alarm[7] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_7.gml
if (balloonend == 1)
{
actcon = 1;
acting = 0;
}
else
{
acting = 0.6;
talktimer = 0;
}
|
|
1024
|
exit;
|
|
1025
|
}
|
|
1026
|
else if (ballooncon == 19)
|
|
1027
|
{
|
|
1028
|
msgset(0, disgustingstr);
|
|
1029
|
ballooncon = 0;
|
|
1030
|
balloonend = 1;
|
|
1031
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
1032
|
}
|
|
1033
|
else if (ballooncon == 19.5)
|
|
1034
|
{
|
|
1035
|
msgset(0, disgustingstr);
|
|
1036
|
ballooncon = 0;
|
|
1037
|
balloonend = 1;
|
|
1038
|
}
|
|
1039
|
else if (ballooncon == 20)
|
|
1040
|
{
|
|
1041
|
msgsetloc(0, All around me did you chatter, but your tepid wordsWait for inputClose Message"All around me&did you chatter,&but your tepid words/%", "obj_holywatercooler_enemy_slash_Step_0_gml_843_0" );
|
|
1042
|
ballooncon = 21;
|
|
1043
|
balloonend = 0;
|
|
1044
|
}
|
|
1045
|
else if (ballooncon == 21)
|
|
1046
|
{
|
|
1047
|
msgsetloc(0, Have not once been decantered in my direction. Your ignorance bescorns me...Wait for inputClose Message"Have not once&been decantered&in my direction.&Your ignorance&bescorns me.../%", "obj_holywatercooler_enemy_slash_Step_0_gml_844_0" );
|
|
1048
|
ballooncon = 22;
|
|
1049
|
balloonend = 0;
|
|
1050
|
}
|
|
1051
|
else if (ballooncon == 22)
|
|
1052
|
{
|
|
1053
|
msgsetloc(0, Speak well of my nature, and you shall be spared.Wait for inputClose Message"Speak well of my nature,&and you shall be spared./%", "obj_holywatercooler_enemy_slash_Step_0_gml_845_0" );
|
|
1054
|
ballooncon = 0;
|
|
1055
|
balloonend = 1;
|
|
1056
|
}
|
|
1057
|
else if (ballooncon == 23)
|
|
1058
|
{
|
|
1059
|
global.choicemsg[0] = stringsetloc(#Recruit"#Recruit", "obj_holywatercooler_enemy_slash_Step_0_gml_849_0" );
|
|
1060
|
global.choicemsg[1] = stringsetloc(#Beauty"#Beauty", "obj_holywatercooler_enemy_slash_Step_0_gml_850_0" );
|
|
1061
|
global.choicemsg[2] = stringsetloc(Cactuses are better"Cactuses are better", "obj_holywatercooler_enemy_slash_Step_0_gml_851_0" );
|
|
1062
|
global.choicemsg[3] = stringsetloc(Flowers"Flowers", "obj_holywatercooler_enemy_slash_Step_0_gml_852_0" );
|
|
1063
|
ballooncon = 23.11;
|
|
1064
|
balloonend = 0;
|
|
1065
|
msgset(0, "\\C4");
|
|
1066
|
}
|
|
1067
|
else if (ballooncon == 23.21)
|
|
1068
|
{
|
|
1069
|
msgsetloc(0, Ah, I see... So you offer yourselves to be my recruits.Wait for inputClose Message"Ah, I see...&So you offer yourselves&to be my recruits./%", "obj_holywatercooler_enemy_slash_Step_0_gml_858_0" );
|
|
1070
|
ballooncon = 23.22;
|
|
1071
|
balloonend = 0;
|
|
1072
|
}
|
|
1073
|
else if (ballooncon == 23.22)
|
|
1074
|
{
|
|
1075
|
msgsetloc(0, Despite my stature, I hardly hold a court here,Wait for inputClose Message"Despite my stature,&I hardly hold a court here,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_859_0" );
|
|
1076
|
ballooncon = 23.23;
|
|
1077
|
balloonend = 0;
|
|
1078
|
}
|
|
1079
|
else if (ballooncon == 23.23)
|
|
1080
|
{
|
|
1081
|
msgsetloc(0, For, given respect even by Lightners, I have all I could desire.Wait for inputClose Message"For, given respect even&by Lightners, I have all&I could desire./%", "obj_holywatercooler_enemy_slash_Step_0_gml_860_0" );
|
|
1082
|
ballooncon = 23.24;
|
|
1083
|
balloonend = 0;
|
|
1084
|
}
|
|
1085
|
else if (ballooncon == 23.24)
|
|
1086
|
{
|
|
1087
|
msgsetloc(0, But, should you behave with quiet dedication,Wait for inputClose Message"But, should you behave&with quiet dedication,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_861_0" );
|
|
1088
|
ballooncon = 23.25;
|
|
1089
|
balloonend = 0;
|
|
1090
|
}
|
|
1091
|
else if (ballooncon == 23.25)
|
|
1092
|
{
|
|
1093
|
msgsetloc(0, There may be some use for you yet. Impress me!Wait for inputClose Message"There may be&some use for you yet.&Impress me!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_862_0" );
|
|
1094
|
ballooncon = 0;
|
|
1095
|
balloonend = 1;
|
|
1096
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 15);
|
|
1097
|
}
|
|
1098
|
else if (ballooncon == 23.31)
|
|
1099
|
{
|
|
1100
|
msgsetloc(0, Again you court me, but your words float thin on your intentions puddle-shallow.Wait for inputClose Message"Again you court me,&but your words float thin&on your intentions&puddle-shallow./%", "obj_holywatercooler_enemy_slash_Step_0_gml_864_0" );
|
|
1101
|
ballooncon = 23.32;
|
|
1102
|
balloonend = 0;
|
|
1103
|
}
|
|
1104
|
else if (ballooncon == 23.32)
|
|
1105
|
{
|
|
1106
|
msgsetloc(0, The estate of a fairy cannot be shared with mortals whose tongues are cracked and dry!Wait for inputClose Message"The estate of a fairy&cannot be shared&with mortals&whose tongues&are cracked and dry!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_865_0" );
|
|
1107
|
ballooncon = 0;
|
|
1108
|
balloonend = 1;
|
|
1109
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
1110
|
}
|
|
1111
|
else if (ballooncon == 23.41)
|
|
1112
|
{
|
|
1113
|
msgsetloc(0, Remember me not as a vainglory,Wait for inputClose Message"Remember me not&as a vainglory,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_867_0" );
|
|
1114
|
ballooncon = 23.415;
|
|
1115
|
balloonend = 0;
|
|
1116
|
}
|
|
1117
|
else if (ballooncon == 23.415)
|
|
1118
|
{
|
|
1119
|
msgsetloc(0, Though my face, shining back both sun and moon is brighter and more holy than all stars,Wait for inputClose Message"Though my face, shining&back both sun and moon&is brighter and more&holy than all stars,/%", "obj_holywatercooler_enemy_slash_Step_0_gml_868_0" );
|
|
1120
|
ballooncon = 23.42;
|
|
1121
|
balloonend = 0;
|
|
1122
|
}
|
|
1123
|
else if (ballooncon == 23.42)
|
|
1124
|
{
|
|
1125
|
msgsetloc(0, And as such, my beauty is more of an objective science, that cannot be denied.Wait for inputClose Message"And as such, my beauty&is more&of an objective science,&that cannot be denied./%", "obj_holywatercooler_enemy_slash_Step_0_gml_869_0" );
|
|
1126
|
ballooncon = 23.43;
|
|
1127
|
balloonend = 0;
|
|
1128
|
}
|
|
1129
|
else if (ballooncon == 23.43)
|
|
1130
|
{
|
|
1131
|
msgsetloc(0, Well said.Wait for inputClose Message"Well said./%", "obj_holywatercooler_enemy_slash_Step_0_gml_870_0" );
|
|
1132
|
ballooncon = 0;
|
|
1133
|
balloonend = 1;
|
|
1134
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 15);
|
|
1135
|
}
|
|
1136
|
else if (ballooncon == 23.51)
|
|
1137
|
{
|
|
1138
|
msgset(0, disgustingstr);
|
|
1139
|
ballooncon = 0;
|
|
1140
|
balloonend = 1;
|
|
1141
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
1142
|
}
|
|
1143
|
else if (ballooncon == 23.61)
|
|
1144
|
{
|
|
1145
|
msgsetloc(0, The Bluest Flower, A disciple of my speechWait for inputClose Message"The Bluest Flower,&A disciple of my speech/%", "obj_holywatercooler_enemy_slash_Step_0_gml_874_0" );
|
|
1146
|
ballooncon = 23.62;
|
|
1147
|
balloonend = 0;
|
|
1148
|
}
|
|
1149
|
else if (ballooncon == 23.62)
|
|
1150
|
{
|
|
1151
|
msgsetloc(0, Shy to no camera, And a specimen ofWait for inputClose Message"Shy to no camera,&And a specimen of/%", "obj_holywatercooler_enemy_slash_Step_0_gml_875_0" );
|
|
1152
|
ballooncon = 23.63;
|
|
1153
|
balloonend = 0;
|
|
1154
|
}
|
|
1155
|
else if (ballooncon == 23.63)
|
|
1156
|
{
|
|
1157
|
msgsetloc(0, Elegance and kindness.Wait for inputClose Message"Elegance and kindness./%", "obj_holywatercooler_enemy_slash_Step_0_gml_876_0" );
|
|
1158
|
ballooncon = 23.64;
|
|
1159
|
balloonend = 0;
|
|
1160
|
}
|
|
1161
|
else if (ballooncon == 23.64)
|
|
1162
|
{
|
|
1163
|
msgsetloc(0, Should you meet, Please give my regards.Wait for inputClose Message"Should you meet,&Please give my regards./%", "obj_holywatercooler_enemy_slash_Step_0_gml_877_0" );
|
|
1164
|
ballooncon = 0;
|
|
1165
|
balloonend = 1;
|
|
1166
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 15);
|
|
1167
|
}
|
|
1168
|
if (gothurtlastturn == true)
|
|
1169
|
{
|
|
1170
|
ballooncon = 0;
|
|
1171
|
balloonend = 1;
|
|
1172
|
}
|
|
1173
|
else
|
|
1174
|
{
|
|
1175
|
global.typer = 50;
|
|
1176
|
if (ballooncon == 24 || ballooncon == 5.2 || ballooncon == 23.11)
|
|
1177
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1178
|
else
|
|
1179
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x, global.monstery[myself] - 20, 10);
|
|
1180
|
}
|
|
1181
|
alarm[7] = 1; gml_Object_obj_holywatercooler_enemy_Alarm_7.gml
if (balloonend == 1)
{
actcon = 1;
acting = 0;
}
else
{
acting = 0.6;
talktimer = 0;
}
|
|
1182
|
}
|
|
1183
|
}
|
|
1184
|
if (actingsus == 1 && actconsus == 1)
|
|
1185
|
{
|
|
1186
|
if (amimissmizzle)
|
|
1187
|
{
|
|
1188
|
var rand = choose(0, 1, 2);
|
|
1189
|
if (rand == 0)
|
|
1190
|
msgsetloc(0, * Susie gargles loudly!Wait for inputClose Message"* Susie gargles loudly!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_896_0" );
|
|
1191
|
if (rand == 1)
|
|
1192
|
msgsetloc(0, * Susie breaks a wet floor sign!Wait for inputClose Message"* Susie breaks a wet floor sign!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_897_0" );
|
|
1193
|
if (rand == 2)
|
|
1194
|
msgsetloc(0, * Susie snores while awake!Wait for inputClose Message"* Susie snores while awake!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_898_0" );
|
|
1195
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 4);
|
|
1196
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
1197
|
if (simulordersus == 0)
|
|
1198
|
actconsus = 20;
|
|
1199
|
else
|
|
1200
|
actconsus = 0;
|
|
1201
|
}
|
|
1202
|
else
|
|
1203
|
{
|
|
1204
|
var _text = "_";
|
|
1205
|
var rand = choose(0, 1, 2);
|
|
1206
|
if (rand == 0)
|
|
1207
|
_text = stringsetloc(* Susie face-crushes a cup!!"* Susie face-crushes a cup!!", "obj_watercooler_enemy_slash_Step_0_gml_313_0" );
|
|
1208
|
if (rand == 1)
|
|
1209
|
_text = stringsetloc(* Susie puts cups on Ralsei!"* Susie puts cups on Ralsei!", "obj_watercooler_enemy_slash_Step_0_gml_314_0" );
|
|
1210
|
if (rand == 2)
|
|
1211
|
_text = stringsetloc(* Susie puts cups on Kris's eyes!"* Susie puts cups on Kris's eyes!", "obj_watercooler_enemy_slash_Step_0_gml_315_0" );
|
|
1212
|
if (simultotal == 1)
|
|
1213
|
{
|
|
1214
|
msgset(0, _text + "/%");
|
|
1215
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1216
|
with (obj_face)
|
|
1217
|
instance_destroy();
|
|
1218
|
actconsus = 20;
|
|
1219
|
}
|
|
1220
|
else
|
|
1221
|
{
|
|
1222
|
msgset(0, _text);
|
|
1223
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
1224
|
if (simulordersus == 0)
|
|
1225
|
actconsus = 20;
|
|
1226
|
else
|
|
1227
|
actconsus = 0;
|
|
1228
|
}
|
|
1229
|
actingsus = 0;
|
|
1230
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 4);
|
|
1231
|
}
|
|
1232
|
}
|
|
1233
|
if (actingral == 1 && actconral == 1)
|
|
1234
|
{
|
|
1235
|
if (amimissmizzle)
|
|
1236
|
{
|
|
1237
|
var rand = choose(0, 1, 2);
|
|
1238
|
if (rand == 0)
|
|
1239
|
msgsetloc(0, * Ralsei sips politely!Wait for inputClose Message"* Ralsei sips politely!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_938_0" );
|
|
1240
|
if (rand == 1)
|
|
1241
|
msgsetloc(0, * Ralsei puts a wet floor sign!Wait for inputClose Message"* Ralsei puts a wet floor sign!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_939_0" );
|
|
1242
|
if (rand == 2)
|
|
1243
|
msgsetloc(0, * Ralsei makes toothpaste!!!Wait for inputClose Message"* Ralsei makes toothpaste!!!/%", "obj_holywatercooler_enemy_slash_Step_0_gml_940_0" );
|
|
1244
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 4);
|
|
1245
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
1246
|
if (simulorderral == 0)
|
|
1247
|
actconral = 20;
|
|
1248
|
else
|
|
1249
|
actconral = 0;
|
|
1250
|
}
|
|
1251
|
else
|
|
1252
|
{
|
|
1253
|
var _text = "_";
|
|
1254
|
var rand = choose(0, 1, 2);
|
|
1255
|
if (rand == 0)
|
|
1256
|
_text = stringsetloc(* Ralsei absorbs trace calcium!"* Ralsei absorbs trace calcium!", "obj_watercooler_enemy_slash_Step_0_gml_341_0" );
|
|
1257
|
if (rand == 1)
|
|
1258
|
_text = stringsetloc(* Ralsei cleans Susie's spill!!"* Ralsei cleans Susie's spill!!", "obj_watercooler_enemy_slash_Step_0_gml_342_0" );
|
|
1259
|
if (rand == 2)
|
|
1260
|
_text = stringsetloc(* Ralsei labels everyone's cups!!"* Ralsei labels everyone's cups!!", "obj_watercooler_enemy_slash_Step_0_gml_343_0" );
|
|
1261
|
if (simultotal == 1)
|
|
1262
|
{
|
|
1263
|
msgset(0, _text + "/%");
|
|
1264
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1265
|
with (obj_face)
|
|
1266
|
instance_destroy();
|
|
1267
|
actconral = 20;
|
|
1268
|
}
|
|
1269
|
else
|
|
1270
|
{
|
|
1271
|
msgset(0, _text);
|
|
1272
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
1273
|
if (simulorderral == 0)
|
|
1274
|
actconral = 20;
|
|
1275
|
else
|
|
1276
|
actconral = 0;
|
|
1277
|
}
|
|
1278
|
actingral = 0;
|
|
1279
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 4);
|
|
1280
|
}
|
|
1281
|
}
|
|
1282
|
if (actcon == 20 || actconsus == 20 || actconral == 20)
|
|
1283
|
{
|
|
1284
|
if (scr_terminate_writerscr_terminate_writer
function scr_terminate_writer()
{
__writerkilled = 0;
__writerkillable = 0;
__writerended = 0;
if (instance_exists(obj_writer))
{
obj_writer.__endcheckid = id;
with (obj_writer)
{
if (reachedend == 1)
{
with (__endcheckid)
__writerended++;
}
}
if (__writerended == instance_number(obj_writer))
__writerkillable = 1;
}
else
{
__writerkilled = 1;
}
if (button1_p() && __writerkillable == 1)
{
with (obj_writer)
instance_destroy();
__writerkilled = 1;
}
return __writerkilled;
} ())
|
|
1285
|
{
|
|
1286
|
actconsus = -1;
|
|
1287
|
actconral = -1;
|
|
1288
|
actcon = 1;
|
|
1289
|
}
|
|
1290
|
}
|
|
1291
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
1292
|
scr_nextactscr_nextact
function scr_nextact()
{
global.acting[0] = 0;
global.acting[1] = 0;
global.acting[2] = 0;
global.actingsingle[global.currentactingchar] = 0;
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
with (__minstance)
{
acting = 0;
actcon = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
}
var singleactcomplete = 0;
while (global.currentactingchar < 3)
{
global.currentactingchar++;
if (global.currentactingchar < 3)
{
if (global.actingsingle[global.currentactingchar] == 1)
{
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
if (global.char[global.currentactingchar] == 2)
{
with (__minstance)
actconsus = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 3)
{
with (__minstance)
actconral = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 4)
{
with (__minstance)
actconnoe = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
}
}
}
if (i_ex(obj_sound_of_justice_enemy) && obj_sound_of_justice_enemy.phase == 1)
{
global.charturn = 3;
global.myfight = 3;
global.currentactingchar = 0;
if (global.acting[0] == 0)
scr_nextact();
if (global.acting[0] == 1 && global.actingsimul[0] == 1)
scr_act_simul();
exit;
}
if (global.currentactingchar >= 3)
{
with (obj_monsterparent)
{
acting = 0;
actingsus = 0;
actingral = 0;
actingnoe = 0;
}
global.currentactingchar = 0;
scr_attackphase();
}
else if (!singleactcomplete)
{
scr_act_simul();
}
} ();
|
|
1293
|
}
|
|
1294
|
if (state == 3)
|
|
1295
|
scr_enemy_hurtscr_enemy_hurt
function scr_enemy_hurt()
{
hurttimer -= 1;
if (hurttimer < 0)
{
state = 0;
}
else
{
if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1;
if (hurtshake > 1)
{
if (shakex > 0)
shakex -= 1;
if (shakex < 0)
shakex += 1;
shakex = -shakex;
hurtshake = 0;
}
}
} ();
|
|
1296
|
|
|
1297
|
enum e__VW
|
|
1298
|
{
|
|
1299
|
XView,
|
|
1300
|
YView,
|
|
1301
|
WView,
|
|
1302
|
HView,
|
|
1303
|
Angle,
|
|
1304
|
HBorder,
|
|
1305
|
VBorder,
|
|
1306
|
HSpeed,
|
|
1307
|
VSpeed,
|
|
1308
|
Object,
|
|
1309
|
Visible,
|
|
1310
|
XPort,
|
|
1311
|
YPort,
|
|
1312
|
WPort,
|
|
1313
|
HPort,
|
|
1314
|
Camera,
|
|
1315
|
SurfaceID
|
|
1316
|
}
|