|
1
|
if (global.monster[myself] == 1)
|
|
2
|
{
|
|
3
|
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)
|
|
4
|
{
|
|
5
|
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;
}
} ();
|
|
6
|
if (!instance_exists(obj_darkener))
|
|
7
|
instance_create(0, 0, obj_darkener);
|
|
8
|
global.typer = 50;
|
|
9
|
rr = choose(0, 1, 2, 3);
|
|
10
|
if (rr == 0)
|
|
11
|
msgsetloc(0, (You think you're the big cheese?)"(You think you're&the big cheese?)", "obj_maus_enemy_slash_Step_0_gml_18_0" );
|
|
12
|
if (rr == 1)
|
|
13
|
msgsetloc(0, (Tired of being pushed around.)"(Tired of being&pushed around.)", "obj_maus_enemy_slash_Step_0_gml_23_0" );
|
|
14
|
if (rr == 2)
|
|
15
|
msgsetloc(0, (Left, right, right, left...)"(Left, right,&right, left...)", "obj_maus_enemy_slash_Step_0_gml_27_0" );
|
|
16
|
if (rr == 3)
|
|
17
|
msgsetloc(0, (Catch me, catch me!) (Hee hee hee...)"(Catch me, catch me!)&(Hee hee hee...)", "obj_maus_enemy_slash_Step_0_gml_31_0" );
|
|
18
|
if (trapped)
|
|
19
|
{
|
|
20
|
var dialogue_rand = choose(0, 1);
|
|
21
|
if (dialogue_rand == 0)
|
|
22
|
msgsetloc(0, (Are you going to take me home?)"(Are you going to&take me home?)", "obj_maus_enemy_slash_Step_0_gml_40_0" );
|
|
23
|
else
|
|
24
|
msgsetloc(0, (Just take good care of me!)"(Just take good&care of me!)", "obj_maus_enemy_slash_Step_0_gml_43_0" );
|
|
25
|
}
|
|
26
|
if (fearact)
|
|
27
|
{
|
|
28
|
msgsetloc(0, (I can't help it,Delay 11 I'm a scary guy.)"(I can't help it^1,&I'm a scary guy.)", "obj_maus_enemy_slash_Step_0_gml_49_0" );
|
|
29
|
fearact = 0;
|
|
30
|
}
|
|
31
|
if (complimentact)
|
|
32
|
{
|
|
33
|
msgsetloc(0, (I can't help it,Delay 11 I'm a cutey guy.)"(I can't help it^1,&I'm a cutey guy.)", "obj_maus_enemy_slash_Step_0_gml_55_0" );
|
|
34
|
complimentact = 0;
|
|
35
|
}
|
|
36
|
if (tasque_joined)
|
|
37
|
{
|
|
38
|
tasque_joined = false;
|
|
39
|
msgsetloc(0, (I'll work with who I have to.)"(I'll work with&who I have to.)", "obj_maus_enemy_slash_Step_0_gml_51_0" );
|
|
40
|
}
|
|
41
|
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_clubs;
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_clubs;
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;
}
} (x - 40, global.monstery[myself], 10);
|
|
42
|
talked = 1;
|
|
43
|
talktimer = 0;
|
|
44
|
}
|
|
45
|
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"))
|
|
46
|
{
|
|
47
|
rtimer = 0;
|
|
48
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 2;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
} (15);
|
|
49
|
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"))
|
|
50
|
{
|
|
51
|
if (!instance_exists(obj_moveheart))
|
|
52
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy))
return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
53
|
if (!instance_exists(obj_growtangle))
|
|
54
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
55
|
}
|
|
56
|
}
|
|
57
|
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)
|
|
58
|
{
|
|
59
|
rtimer += 1;
|
|
60
|
if (rtimer == 16)
|
|
61
|
{
|
|
62
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
63
|
{
|
|
64
|
rr = 0;
|
|
65
|
}
|
|
66
|
else if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == instance_number(object_index))
|
|
67
|
{
|
|
68
|
if (myself == (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () - 1) && !scr_attackprepcheckscr_attackprepcheck
function scr_attackprepcheck(arg0, arg1)
{
if (arg0 == 0)
return 0;
var __attackcount = 0;
for (i = 0; i < arg0; i++)
{
if (global.monster[i] && global.monsterattackname[i] == arg1)
__attackcount++;
}
return __attackcount;
} (myself, "MausTrail"))
|
|
69
|
rr = 1;
|
|
70
|
else if (myself == 0 || !scr_attackprepcheckscr_attackprepcheck
function scr_attackprepcheck(arg0, arg1)
{
if (arg0 == 0)
return 0;
var __attackcount = 0;
for (i = 0; i < arg0; i++)
{
if (global.monster[i] && global.monsterattackname[i] == arg1)
__attackcount++;
}
return __attackcount;
} (myself, "MausTrail"))
|
|
71
|
rr = choose(0, 1);
|
|
72
|
else
|
|
73
|
rr = 0;
|
|
74
|
}
|
|
75
|
else
|
|
76
|
{
|
|
77
|
rr = 1;
|
|
78
|
}
|
|
79
|
if (rr == 0)
|
|
80
|
{
|
|
81
|
global.monsterattackname[myself] = "MausHoles";
|
|
82
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
83
|
dc.type = 17;
|
|
84
|
}
|
|
85
|
else
|
|
86
|
{
|
|
87
|
global.monsterattackname[myself] = "MausTrail";
|
|
88
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
89
|
dc.type = 19;
|
|
90
|
}
|
|
91
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (140);
|
|
92
|
turns += 1;
|
|
93
|
global.typer = 6;
|
|
94
|
global.fc = 0;
|
|
95
|
if (global.monsterstatus[myself] == 1)
|
|
96
|
{
|
|
97
|
global.battlemsg[0] = stringsetloc(* Maus's clicking sounds more like splat noises."* Maus's clicking sounds more like splat noises.", "obj_maus_enemy_slash_Step_0_gml_114_0" );
|
|
98
|
}
|
|
99
|
else if (global.mercymod[myself] >= global.mercymax[myself])
|
|
100
|
{
|
|
101
|
global.battlemsg[0] = stringsetloc(* Maus is squeaking cheerfully."* Maus is squeaking cheerfully.", "obj_maus_enemy_slash_Step_0_gml_117_0" );
|
|
102
|
}
|
|
103
|
else if (random(100) >= 98)
|
|
104
|
{
|
|
105
|
if (choose(0, 1) == 0)
|
|
106
|
global.battlemsg[0] = stringsetloc(* Maus would like to go to its favorite bistro in this marvelous city."* Maus would like to go to its favorite bistro in this marvelous city.", "obj_maus_enemy_slash_Step_0_gml_124_0" );
|
|
107
|
else
|
|
108
|
global.battlemsg[0] = stringsetloc(* Smells like wood shavings."* Smells like wood shavings.", "obj_maus_enemy_slash_Step_0_gml_127_0" );
|
|
109
|
}
|
|
110
|
else
|
|
111
|
{
|
|
112
|
rr = choose(0, 1, 2, 3);
|
|
113
|
if (rr == 0)
|
|
114
|
global.battlemsg[0] = stringsetloc(* Maus is thinking about overly elaborate machines."* Maus is thinking about overly elaborate machines.", "obj_maus_enemy_slash_Step_0_gml_132_0" );
|
|
115
|
if (rr == 1)
|
|
116
|
global.battlemsg[0] = stringsetloc(* Maus is clicking and squeaking."* Maus is clicking and squeaking.", "obj_maus_enemy_slash_Step_0_gml_133_0" );
|
|
117
|
if (rr == 2)
|
|
118
|
global.battlemsg[0] = stringsetloc(* Maus keeps running between your feet."* Maus keeps running between your feet.", "obj_maus_enemy_slash_Step_0_gml_134_0" );
|
|
119
|
if (rr == 3)
|
|
120
|
global.battlemsg[0] = stringsetloc(* Maus is keenly aware of the fear it invokes."* Maus is keenly aware of the fear it invokes.", "obj_maus_enemy_slash_Step_0_gml_135_0" );
|
|
121
|
}
|
|
122
|
attacked = 1;
|
|
123
|
}
|
|
124
|
else
|
|
125
|
{
|
|
126
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (120);
|
|
127
|
}
|
|
128
|
}
|
|
129
|
}
|
|
130
|
if (global.myfight == 3)
|
|
131
|
{
|
|
132
|
xx = camerax();
|
|
133
|
yy = cameray();
|
|
134
|
if (acting == 1 && actcon == 0)
|
|
135
|
{
|
|
136
|
actcon = 1;
|
|
137
|
msgsetloc(0, * MAUS - It's just a little mouse living in a little house.Wait for inputClose Message"* MAUS - It's just a little mouse living in a little house./%", "obj_maus_enemy_slash_Step_0_gml_159_0" );
|
|
138
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
139
|
}
|
|
140
|
if (acting == 2 && actcon == 0)
|
|
141
|
{
|
|
142
|
trappingX = 0;
|
|
143
|
msgsetsubloc(0, "* Press ~1 To Trap!!!", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (6), "obj_maus_enemy_slash_Step_0_gml_166_0");
|
|
144
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
145
|
actcon = 9;
|
|
146
|
alarm[4] = 10; gml_Object_obj_maus_enemy_Alarm_4.gml
actcon += 1;
|
|
147
|
}
|
|
148
|
if (acting == 3 && actcon == 0)
|
|
149
|
{
|
|
150
|
if (!scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
151
|
{
|
|
152
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("susie");
|
|
153
|
msgsetloc(0, Face 5* There's only one solution for a mouse!!Wait for input"\\E5* There's only one solution for a mouse!!/", "obj_maus_enemy_slash_Step_0_gml_177_0" );
|
|
154
|
msgnextloc(Face H* Here,Delay 11 kitty kitty!!Wait for inputClose Message"\\EH* Here^1, kitty kitty!!/%", "obj_maus_enemy_slash_Step_0_gml_178_0" );
|
|
155
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
156
|
actcon = 30;
|
|
157
|
}
|
|
158
|
else
|
|
159
|
{
|
|
160
|
nact_count++;
|
|
161
|
if (global.flag[379 noelle_beat_fear] == 1)
|
|
162
|
{
|
|
163
|
with (object_index)
|
|
164
|
complimentact = 1;
|
|
165
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
166
|
msgsetloc(0, * Noelle complimented the enemies!Wait for input"* Noelle complimented the enemies!/", "obj_maus_enemy_slash_Step_0_gml_188_0_b" );
|
|
167
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("noelle", 3);
|
|
168
|
msgnextloc(Face 3* They're...Delay 11 kind of cute,Delay 11 right...?Wait for inputClose Message"\\E3* They're..^1. kind of cute^1, right...?/%", "obj_maus_enemy_slash_Step_0_gml_190_0" );
|
|
169
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
170
|
with (obj_monsterparent)
|
|
171
|
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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_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, 100);
|
|
172
|
}
|
|
173
|
else
|
|
174
|
{
|
|
175
|
with (object_index)
|
|
176
|
fearact = 1;
|
|
177
|
if (nact_count == 1)
|
|
178
|
{
|
|
179
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
180
|
msgsetloc(0, Face E* Th-the way it moves is just so...Delay 11 so scary!Wait for input"\\EE* Th-the way it moves is just so..^1. so scary!/", "obj_maus_enemy_slash_Step_0_gml_188_0" );
|
|
181
|
msgnextloc(Face E* It's disgusting!Wait for input"\\EE* It's disgusting!/", "obj_maus_enemy_slash_Step_0_gml_189_0" );
|
|
182
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
183
|
msgnextloc(* Maus was rejected...Delay 11 everyone felt TIRED.Wait for inputClose Message"* Maus was rejected..^1. everyone felt TIRED./%", "obj_maus_enemy_slash_Step_0_gml_191_0" );
|
|
184
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
185
|
}
|
|
186
|
else
|
|
187
|
{
|
|
188
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
189
|
msgsetloc(0, * Noelle reacted in fear!Wait for input"* Noelle reacted in fear!/", "obj_maus_enemy_slash_Step_0_gml_196_0" );
|
|
190
|
msgnextloc(* The enemies felt dejected and TIRED...Wait for inputClose Message"* The enemies felt dejected and TIRED.../%", "obj_maus_enemy_slash_Step_0_gml_197_0" );
|
|
191
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
192
|
}
|
|
193
|
with (obj_monsterparent)
|
|
194
|
scr_monster_make_tiredscr_monster_make_tired
function scr_monster_make_tired(arg0)
{
global.monstercomment[arg0] = stringsetloc((Tired)"(Tired)", "scr_monster_make_tired_slash_scr_monster_make_tired_gml_1_0" );
global.monsterstatus[arg0] = 1;
} (myself);
|
|
195
|
}
|
|
196
|
actcon = 1;
|
|
197
|
}
|
|
198
|
}
|
|
199
|
if (actcon == 30)
|
|
200
|
{
|
|
201
|
if (!i_ex(battlewriter))
|
|
202
|
{
|
|
203
|
tasquemarker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (camerax() + 800, y, spr_tasque_idle);
|
|
204
|
tasquemarker.image_speed = 0.16666666666666666;
|
|
205
|
tasquemarker.depth = depth;
|
|
206
|
var currentX = x - 80;
|
|
207
|
var currentY = y - 15;
|
|
208
|
image_xscale = -2;
|
|
209
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (camerax() + 800, global.monstermakey[myself], 30);
|
|
210
|
with (tasquemarker)
|
|
211
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (currentX, currentY, 30);
|
|
212
|
actcon = 31;
|
|
213
|
alarm[4] = 30; gml_Object_obj_maus_enemy_Alarm_4.gml
actcon += 1;
|
|
214
|
}
|
|
215
|
}
|
|
216
|
if (actcon == 32)
|
|
217
|
{
|
|
218
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("ralsei");
|
|
219
|
msgsetloc(0, Face K* ...don't we just have to fight the cat now?Wait for input"\\EK* ...don't we just have to fight the cat now?/", "obj_maus_enemy_slash_Step_0_gml_251_0" );
|
|
220
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "K");
|
|
221
|
msgnextloc(Face K* Huh?Wait for inputClose Message"\\EK* Huh?/%", "obj_maus_enemy_slash_Step_0_gml_253_0" );
|
|
222
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
223
|
remove = true;
|
|
224
|
actcon = 33;
|
|
225
|
alarm[4] = 30; gml_Object_obj_maus_enemy_Alarm_4.gml
actcon += 1;
|
|
226
|
}
|
|
227
|
if (actcon == 34 && !instance_exists(obj_writer))
|
|
228
|
actcon = 1;
|
|
229
|
if (acting == 4 && actcon == 0)
|
|
230
|
{
|
|
231
|
trappingX = true;
|
|
232
|
msgsetsubloc(0, "* Press ~1 to trap all the enemies!", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (6), "obj_maus_enemy_slash_Step_0_gml_269_0");
|
|
233
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
234
|
actcon = 9;
|
|
235
|
alarm[4] = 10; gml_Object_obj_maus_enemy_Alarm_4.gml
actcon += 1;
|
|
236
|
}
|
|
237
|
if (actcon == 10)
|
|
238
|
{
|
|
239
|
basket = instance_create(x, y, obj_maus_basket);
|
|
240
|
basket.maker = id;
|
|
241
|
if (trappingX == 1)
|
|
242
|
{
|
|
243
|
basket.cancatch[0] = 1;
|
|
244
|
basket.cancatch[1] = 1;
|
|
245
|
basket.cancatch[2] = 1;
|
|
246
|
}
|
|
247
|
else
|
|
248
|
{
|
|
249
|
basket.cancatch[myself] = 1;
|
|
250
|
}
|
|
251
|
basket.trappingX = trappingX;
|
|
252
|
actcon = 11;
|
|
253
|
caught[0] = 0;
|
|
254
|
caught[1] = 0;
|
|
255
|
caught[2] = 0;
|
|
256
|
}
|
|
257
|
if (actcon == 12)
|
|
258
|
{
|
|
259
|
trappingX = false;
|
|
260
|
with (obj_writer)
|
|
261
|
instance_destroy();
|
|
262
|
caughtamount = 0;
|
|
263
|
caughtamount = caught[0] + caught[1] + caught[2];
|
|
264
|
msgsetloc(0, * Didn't catch anything...Wait for inputClose Message"* Didn't catch anything.../%", "obj_maus_enemy_slash_Step_0_gml_304_0" );
|
|
265
|
if (caughtamount == 1)
|
|
266
|
msgsetloc(0, * Caught the enemy!Wait for inputClose Message"* Caught the enemy!/%", "obj_maus_enemy_slash_Step_0_gml_305_0" );
|
|
267
|
if (caughtamount >= 2)
|
|
268
|
msgsetsubloc(0, "* Caught ~1 enemies!/%", string(caughtamount), "obj_maus_enemy_slash_Step_0_gml_306_0");
|
|
269
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
270
|
actcon = 13;
|
|
271
|
alarm[4] = 20; gml_Object_obj_maus_enemy_Alarm_4.gml
actcon += 1;
|
|
272
|
}
|
|
273
|
if (actcon == 14 && !instance_exists(obj_writer))
|
|
274
|
actcon = 1;
|
|
275
|
if (actingsus == 1 && actconsus == 1)
|
|
276
|
{
|
|
277
|
var simultext = (simultotal == 1) ? stringsetloc(* Susie got on all fours and chased the mouse around the room like an animal!!Wait for inputClose Message"* Susie got on all fours and chased the mouse around the room like an animal!!/%", "obj_maus_enemy_slash_Step_0_gml_322_0" ) : stringsetloc(* Susie chased on all fours!!Wait for inputClose Message"* Susie chased on all fours!!/%", "obj_maus_enemy_slash_Step_0_gml_322_1" );
|
|
278
|
msgset(0, simultext);
|
|
279
|
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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_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);
|
|
280
|
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");
|
|
281
|
actconsus = (simulordersus == 0) ? 20 : 0;
|
|
282
|
}
|
|
283
|
if (actingral == 1 && actconral == 1)
|
|
284
|
{
|
|
285
|
if (!trappedText)
|
|
286
|
{
|
|
287
|
with (obj_maus_enemy)
|
|
288
|
{
|
|
289
|
trappedText = true;
|
|
290
|
global.actsimulral[myself][0] = 1;
|
|
291
|
}
|
|
292
|
msgsetloc(0, * Ralsei started putting peanut butter on a spoon and put it in a trap!!Wait for inputClose Message"* Ralsei started putting peanut butter on a spoon and put it in a trap!!/%", "obj_maus_enemy_slash_Step_0_gml_343_0" );
|
|
293
|
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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_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);
|
|
294
|
actconral = 2;
|
|
295
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
296
|
}
|
|
297
|
else
|
|
298
|
{
|
|
299
|
var simultext = (simultotal == 1) ? stringsetloc(* Ralsei sang a song about mice!!Wait for inputClose Message"* Ralsei sang a song about mice!!/%", "obj_maus_enemy_slash_Step_0_gml_352_0" ) : stringsetloc(* Ralsei sang a mouse song!Wait for inputClose Message"* Ralsei sang a mouse song!/%", "obj_maus_enemy_slash_Step_0_gml_352_1" );
|
|
300
|
msgset(0, simultext);
|
|
301
|
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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_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);
|
|
302
|
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");
|
|
303
|
actconral = (simulorderral == 0) ? 20 : 0;
|
|
304
|
}
|
|
305
|
}
|
|
306
|
if (actconral == 2 && !instance_exists(obj_writer))
|
|
307
|
{
|
|
308
|
actconral = 2.5;
|
|
309
|
basket = instance_create(obj_herosusie.x - 5, cameray() - 100, obj_maus_basket_susie);
|
|
310
|
with (obj_herosusie)
|
|
311
|
visible = 0;
|
|
312
|
nise_susie = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (obj_herosusie.x + 16, obj_herosusie.y - 1, spr_susie_shock_r);
|
|
313
|
nise_susie.depth = obj_herosusie.depth;
|
|
314
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
315
|
msgsetloc(0, * Susie was captured!!Wait for inputClose Message"* Susie was captured!!/%", "obj_maus_enemy_slash_Step_0_gml_422_0" );
|
|
316
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
317
|
}
|
|
318
|
if (actconral == 2.5 && basket.gravity == 0)
|
|
319
|
{
|
|
320
|
actconral = 3;
|
|
321
|
with (nise_susie)
|
|
322
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} ();
|
|
323
|
with (basket)
|
|
324
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} ();
|
|
325
|
snd_play(snd_impact);
|
|
326
|
}
|
|
327
|
if (actconral == 3 && !instance_exists(obj_writer))
|
|
328
|
{
|
|
329
|
actcon = 1;
|
|
330
|
actconral = 0;
|
|
331
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("ralsei");
|
|
332
|
msgsetloc(0, Face N* Susie!!!Wait for input"\\EN* Susie!!!/", "obj_maus_enemy_slash_Step_0_gml_444_0" );
|
|
333
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "5");
|
|
334
|
msgnextloc(Face 5* The hell you blaming ME for!!Delay 11 YOU made the trap!!Wait for inputClose Message"\\E5* The hell you blaming ME for!^1! YOU made the trap!!/%", "obj_maus_enemy_slash_Step_0_gml_383_0" );
|
|
335
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
336
|
}
|
|
337
|
if (actingnoe == 1 && actconnoe == 1)
|
|
338
|
{
|
|
339
|
if (global.flag[379 noelle_beat_fear] == 0)
|
|
340
|
{
|
|
341
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
342
|
msgsetloc(0, * Noelle screamed quietly!Wait for inputClose Message"* Noelle screamed quietly!/%", "obj_maus_enemy_slash_Step_0_gml_391_0" );
|
|
343
|
}
|
|
344
|
else
|
|
345
|
{
|
|
346
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
347
|
msgsetloc(0, * Noelle cheered brightly!Wait for inputClose Message"* Noelle cheered brightly!/%", "obj_maus_enemy_slash_Step_0_gml_408_0" );
|
|
348
|
}
|
|
349
|
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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_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);
|
|
350
|
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);
} ("noelle");
|
|
351
|
actconnoe = (simulordernoe == 0) ? 20 : 0;
|
|
352
|
}
|
|
353
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
354
|
{
|
|
355
|
scr_act_charsprite_endscr_act_charsprite_end
function scr_act_charsprite_end()
{
for (i = 0; i < 10; i++)
{
with (_charactsprite[i])
instance_destroy();
}
with (obj_heroparent)
{
if (image_alpha == 0)
{
image_alpha = 1;
acttimer = 0;
state = 0;
global.faceaction[myself] = 0;
}
}
} ();
|
|
356
|
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 (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();
}
} ();
|
|
357
|
if (remove)
|
|
358
|
{
|
|
359
|
if (i_ex(obj_maus_enemy))
|
|
360
|
{
|
|
361
|
with (obj_maus_enemy)
|
|
362
|
tasque_joined = true;
|
|
363
|
}
|
|
364
|
global.monstermakey[myself] = y - 15;
|
|
365
|
global.monstermakex[myself] = tasquemarker.x;
|
|
366
|
newtasque = scr_monster_changescr_monster_change
function scr_monster_change(arg0, arg1, arg2)
{
global.monstertype[arg0] = arg1;
global.monsterinstancetype[arg0] = arg2;
scr_monster_statreset(arg0);
scr_monster_makeinstance(arg0);
} (myself, 32, 452);
|
|
367
|
with (tasquemarker)
|
|
368
|
instance_destroy();
|
|
369
|
var acttriggered = 0;
|
|
370
|
for (var __i = 1; __i < 3; __i++)
|
|
371
|
{
|
|
372
|
if ((global.actingtarget[__i] == myself && global.char[__i] > 0 && global.charspecial[__i] == 0) || (global.chartarget[__i] == myself && (global.charspecial[__i] == 100 || global.charspecial[__i] == 3)))
|
|
373
|
{
|
|
374
|
if (global.char[__i] == 3)
|
|
375
|
acttriggered = 1;
|
|
376
|
global.acting[__i] = 0;
|
|
377
|
global.actingsimul[__i] = 0;
|
|
378
|
global.actingsingle[__i] = 0;
|
|
379
|
global.faceaction[__i] = 0;
|
|
380
|
if (global.charspecial[__i] == 100 || global.charspecial[__i] == 3)
|
|
381
|
{
|
|
382
|
global.charspecial[__i] = 0;
|
|
383
|
global.charaction[__i] = 0;
|
|
384
|
with (obj_spellphase)
|
|
385
|
instance_destroy();
|
|
386
|
}
|
|
387
|
}
|
|
388
|
}
|
|
389
|
if (acttriggered)
|
|
390
|
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 (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();
}
} ();
|
|
391
|
instance_destroy();
|
|
392
|
}
|
|
393
|
if (basket != -4)
|
|
394
|
{
|
|
395
|
with (nise_susie)
|
|
396
|
instance_destroy();
|
|
397
|
with (basket)
|
|
398
|
instance_destroy();
|
|
399
|
with (obj_herosusie)
|
|
400
|
visible = 1;
|
|
401
|
}
|
|
402
|
}
|
|
403
|
if (actcon == 20 || actconsus == 20 || actconral == 20 || actconnoe == 20)
|
|
404
|
{
|
|
405
|
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;
} ())
|
|
406
|
{
|
|
407
|
actconsus = -1;
|
|
408
|
actconral = -1;
|
|
409
|
actconnoe = -1;
|
|
410
|
actcon = 1;
|
|
411
|
}
|
|
412
|
}
|
|
413
|
}
|
|
414
|
|
|
415
|
enum e__VW
|
|
416
|
{
|
|
417
|
XView,
|
|
418
|
YView,
|
|
419
|
WView,
|
|
420
|
HView,
|
|
421
|
Angle,
|
|
422
|
HBorder,
|
|
423
|
VBorder,
|
|
424
|
HSpeed,
|
|
425
|
VSpeed,
|
|
426
|
Object,
|
|
427
|
Visible,
|
|
428
|
XPort,
|
|
429
|
YPort,
|
|
430
|
WPort,
|
|
431
|
HPort,
|
|
432
|
Camera,
|
|
433
|
SurfaceID
|
|
434
|
}
|