|
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, (I'm no cheater! It's just cheese...)"(I'm no cheater!&It's just cheese...)", "obj_mauswheel_enemy_slash_Step_0_gml_18_0" );
|
|
12
|
if (rr == 1)
|
|
13
|
msgsetloc(0, (We are grippable. We are many.)"(We are grippable.&We are many.)", "obj_mauswheel_enemy_slash_Step_0_gml_23_0" );
|
|
14
|
if (rr == 2)
|
|
15
|
msgsetloc(0, (Rolling around at the speed of mouse...)"(Rolling around at&the speed of mouse...)", "obj_mauswheel_enemy_slash_Step_0_gml_27_0" );
|
|
16
|
if (rr == 3)
|
|
17
|
msgsetloc(0, (Wired is FASTER!)"(Wired is FASTER!)", "obj_mauswheel_enemy_slash_Step_0_gml_31_0" );
|
|
18
|
if (global.mercymod[myself] >= global.mercymax[myself])
|
|
19
|
msgsetloc(0, (Well, everyone's captured.) (What does that make me?)"(Well, everyone's captured.)&(What does that make me?)", "obj_mauswheel_enemy_slash_Step_0_gml_36_0" );
|
|
20
|
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 - 20, global.monstery[myself], 10);
|
|
21
|
talked = 1;
|
|
22
|
talktimer = 0;
|
|
23
|
}
|
|
24
|
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"))
|
|
25
|
{
|
|
26
|
rtimer = 0;
|
|
27
|
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);
|
|
28
|
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"))
|
|
29
|
{
|
|
30
|
if (!instance_exists(obj_moveheart) && !instance_exists(obj_heart))
|
|
31
|
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);
} ();
|
|
32
|
if (!instance_exists(obj_growtangle))
|
|
33
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
34
|
}
|
|
35
|
}
|
|
36
|
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)
|
|
37
|
{
|
|
38
|
rtimer += 1;
|
|
39
|
if (rtimer == 16)
|
|
40
|
{
|
|
41
|
rr = 0;
|
|
42
|
if (rr == 0)
|
|
43
|
{
|
|
44
|
event_user(9);
|
|
45
|
}
|
|
46
|
else
|
|
47
|
{
|
|
48
|
global.monsterattackname[myself] = "MausTrail";
|
|
49
|
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);
|
|
50
|
dc.type = 19;
|
|
51
|
dc.target = mytarget;
|
|
52
|
}
|
|
53
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (140);
|
|
54
|
turns += 1;
|
|
55
|
global.typer = 6;
|
|
56
|
global.fc = 0;
|
|
57
|
if (global.monsterstatus[myself] == 1)
|
|
58
|
{
|
|
59
|
global.battlemsg[0] = stringsetloc(* Mauswheel's DPI is lowering."* Mauswheel's DPI is lowering.", "obj_mauswheel_enemy_slash_Step_0_gml_112_0" );
|
|
60
|
}
|
|
61
|
else if (global.mercymod[myself] >= global.mercymax[myself])
|
|
62
|
{
|
|
63
|
global.battlemsg[0] = stringsetloc(* Mauswheel is just a spareable husk now."* Mauswheel is just a spareable husk now.", "obj_mauswheel_enemy_slash_Step_0_gml_115_0" );
|
|
64
|
}
|
|
65
|
else
|
|
66
|
{
|
|
67
|
rr = choose(0, 1, 2, 3);
|
|
68
|
if (rr == 0)
|
|
69
|
global.battlemsg[0] = stringsetloc(* Mauswheel is rolling around with an annoying wheel sound."* Mauswheel is rolling around with an annoying wheel sound.", "obj_mauswheel_enemy_slash_Step_0_gml_130_0" );
|
|
70
|
if (rr == 1)
|
|
71
|
global.battlemsg[0] = stringsetloc(* Mauswheel might make a good wreath, as a prank."* Mauswheel might make a good wreath, as a prank.", "obj_mauswheel_enemy_slash_Step_0_gml_131_0" );
|
|
72
|
if (rr == 2)
|
|
73
|
global.battlemsg[0] = stringsetloc(* It's a cacophony of clicks."* It's a cacophony of clicks.", "obj_mauswheel_enemy_slash_Step_0_gml_132_0" );
|
|
74
|
if (rr == 3)
|
|
75
|
global.battlemsg[0] = stringsetloc(* Smells like a three-cheese pizza."* Smells like a three-cheese pizza.", "obj_mauswheel_enemy_slash_Step_0_gml_133_0" );
|
|
76
|
}
|
|
77
|
attacked = 1;
|
|
78
|
}
|
|
79
|
else
|
|
80
|
{
|
|
81
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (120);
|
|
82
|
}
|
|
83
|
}
|
|
84
|
}
|
|
85
|
if (global.myfight == 3)
|
|
86
|
{
|
|
87
|
xx = camerax();
|
|
88
|
yy = cameray();
|
|
89
|
if (acting == 1 && actcon == 0)
|
|
90
|
{
|
|
91
|
actcon = 1;
|
|
92
|
msgsetloc(0, * MAUSWHEEL - Two mice are better than one! ... Three,Delay 11 maybe not.Wait for input"* MAUSWHEEL - Two mice are better than one! ... Three^1, maybe not./", "obj_mauswheel_enemy_slash_Step_0_gml_157_0" );
|
|
93
|
msgnextloc(* The cursor will follow you everywhere.Delay 11 Keep moving!Wait for inputClose Message"* The cursor will follow you everywhere^1. Keep moving!/%", "obj_mauswheel_enemy_slash_Step_0_gml_132_0_b" );
|
|
94
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
95
|
}
|
|
96
|
if (acting == 2 && actcon == 0)
|
|
97
|
{
|
|
98
|
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_mauswheel_enemy_slash_Step_0_gml_163_0");
|
|
99
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
100
|
actfailure = 1;
|
|
101
|
actcon = 15;
|
|
102
|
basket_size = 0;
|
|
103
|
alarm[4] = 10; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
104
|
}
|
|
105
|
if (acting == 3 && actcon == 0)
|
|
106
|
{
|
|
107
|
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_mauswheel_enemy_slash_Step_0_gml_173_0");
|
|
108
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
109
|
actfailure = 1;
|
|
110
|
actcon = 15;
|
|
111
|
basket_size = 1;
|
|
112
|
alarm[4] = 10; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
113
|
}
|
|
114
|
if (actingsus == 1 && actconsus == 1)
|
|
115
|
{
|
|
116
|
msgsetloc(0, * 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_mauswheel_enemy_slash_Step_0_gml_183_0" );
|
|
117
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
118
|
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, 5);
|
|
119
|
actingsus = 0;
|
|
120
|
actconsus = 0;
|
|
121
|
actcon = 1;
|
|
122
|
}
|
|
123
|
if (actingral == 1 && actconral == 1 && !i_ex(obj_writer))
|
|
124
|
{
|
|
125
|
if (!trappedText)
|
|
126
|
{
|
|
127
|
trappedText = true;
|
|
128
|
global.actsimulral[myself][0] = 1;
|
|
129
|
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_mauswheel_enemy_slash_Step_0_gml_202_0" );
|
|
130
|
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, 5);
|
|
131
|
actconral = 2;
|
|
132
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
133
|
}
|
|
134
|
else
|
|
135
|
{
|
|
136
|
var simultext = (simultotal == 1) ? stringsetloc(* Ralsei sang a song about mice!!Wait for inputClose Message"* Ralsei sang a song about mice!!/%", "obj_mauswheel_enemy_slash_Step_0_gml_212_0" ) : stringsetloc(* Ralsei sang a mouse song!Wait for inputClose Message"* Ralsei sang a mouse song!/%", "obj_mauswheel_enemy_slash_Step_0_gml_212_1" );
|
|
137
|
msgset(0, simultext);
|
|
138
|
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, 5);
|
|
139
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
140
|
actingral = 0;
|
|
141
|
actconral = 0;
|
|
142
|
actcon = 1;
|
|
143
|
}
|
|
144
|
}
|
|
145
|
if (actconral == 2 && !instance_exists(obj_writer))
|
|
146
|
{
|
|
147
|
actconral = 2.5;
|
|
148
|
basket = instance_create(obj_herosusie.x - 5, cameray() - 100, obj_maus_basket_susie);
|
|
149
|
with (obj_herosusie)
|
|
150
|
visible = 0;
|
|
151
|
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);
|
|
152
|
nise_susie.depth = obj_herosusie.depth;
|
|
153
|
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");
|
|
154
|
msgsetloc(0, * Susie was captured!!Wait for inputClose Message"* Susie was captured!!/%", "obj_mauswheel_enemy_slash_Step_0_gml_209_0" );
|
|
155
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
156
|
}
|
|
157
|
if (actconral == 2.5 && basket.gravity == 0)
|
|
158
|
{
|
|
159
|
actconral = 3;
|
|
160
|
with (nise_susie)
|
|
161
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} ();
|
|
162
|
with (basket)
|
|
163
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} ();
|
|
164
|
snd_play(snd_impact);
|
|
165
|
}
|
|
166
|
if (actconral == 3 && !instance_exists(obj_writer))
|
|
167
|
{
|
|
168
|
actcon = 1;
|
|
169
|
actconral = 0;
|
|
170
|
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");
|
|
171
|
msgsetloc(0, Face N* Susie!!!Wait for input"\\EN* Susie!!!/", "obj_mauswheel_enemy_slash_Step_0_gml_230_0" );
|
|
172
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "5");
|
|
173
|
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_mauswheel_enemy_slash_Step_0_gml_243_0" );
|
|
174
|
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
} ();
|
|
175
|
}
|
|
176
|
if (actcon == 10)
|
|
177
|
{
|
|
178
|
basket = instance_create(x, y, obj_maus_basket);
|
|
179
|
basket.maker = id;
|
|
180
|
actcon = 11;
|
|
181
|
actfailure = 1;
|
|
182
|
basket.cancatch[myself] = 1;
|
|
183
|
caught[0] = 0;
|
|
184
|
caught[1] = 0;
|
|
185
|
caught[2] = 0;
|
|
186
|
}
|
|
187
|
if (actcon == 12)
|
|
188
|
{
|
|
189
|
trappingX = false;
|
|
190
|
with (obj_writer)
|
|
191
|
instance_destroy();
|
|
192
|
if (actfailure == 1)
|
|
193
|
msgsetloc(0, * You missed!Wait for inputClose Message"* You missed!/%", "obj_mauswheel_enemy_slash_Step_0_gml_269_0" );
|
|
194
|
else
|
|
195
|
msgsetloc(0, * You caught them!Wait for inputClose Message"* You caught them!/%", "obj_mauswheel_enemy_slash_Step_0_gml_270_0" );
|
|
196
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
197
|
actcon = 13;
|
|
198
|
alarm[4] = 20; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
199
|
}
|
|
200
|
if (actcon == 14 && !instance_exists(obj_writer))
|
|
201
|
actcon = 1;
|
|
202
|
if (actcon == 16)
|
|
203
|
{
|
|
204
|
instance_create(x + 60, y + 64, obj_maus_split);
|
|
205
|
actcon = 17;
|
|
206
|
}
|
|
207
|
if (actcon == 18)
|
|
208
|
{
|
|
209
|
with (obj_writer)
|
|
210
|
instance_destroy();
|
|
211
|
if (actfailure == 1)
|
|
212
|
msgsetloc(0, * You missed!Wait for inputClose Message"* You missed!/%", "obj_mauswheel_enemy_slash_Step_0_gml_296_0" );
|
|
213
|
else
|
|
214
|
msgsetloc(0, * You caught them!Wait for inputClose Message"* You caught them!/%", "obj_mauswheel_enemy_slash_Step_0_gml_297_0" );
|
|
215
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
216
|
actcon = 13;
|
|
217
|
alarm[4] = 20; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
218
|
}
|
|
219
|
if (actcon == 19)
|
|
220
|
{
|
|
221
|
with (obj_writer)
|
|
222
|
instance_destroy();
|
|
223
|
if (global.flag[642 recruit_task_manager] == 1)
|
|
224
|
{
|
|
225
|
actcon = 22.1;
|
|
226
|
}
|
|
227
|
else
|
|
228
|
{
|
|
229
|
msgsetloc(0, * Mauswheel ran out of maice!Wait for inputClose Message"* Mauswheel ran out of maice!/%", "obj_mauswheel_enemy_slash_Step_0_gml_312_0" );
|
|
230
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
231
|
actcon = 21;
|
|
232
|
alarm[4] = 20; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
233
|
}
|
|
234
|
}
|
|
235
|
if (actcon == 22)
|
|
236
|
scr_sparescr_spare
function scr_spare(arg0)
{
with (global.monsterinstance[arg0])
event_user(10);
} (myself);
|
|
237
|
if (actcon == 22.1)
|
|
238
|
{
|
|
239
|
msgsetloc(0, * Mauswheel reached 100% mercy!Wait for inputClose Message"* Mauswheel reached 100`% mercy!/%", "obj_mauswheel_enemy_slash_Step_0_gml_317_0" );
|
|
240
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
241
|
actcon = 22.2;
|
|
242
|
}
|
|
243
|
if (actcon == 22.2 && !i_ex(obj_writer))
|
|
244
|
{
|
|
245
|
msgsetloc(0, * But, it's still rolling out of control...Wait for inputClose Message"* But, it's still rolling out of control.../%", "obj_mauswheel_enemy_slash_Step_0_gml_324_0" );
|
|
246
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
247
|
actcon = 22.3;
|
|
248
|
}
|
|
249
|
if (actcon == 22.3 && !i_ex(obj_writer))
|
|
250
|
{
|
|
251
|
msgsetloc(0, * Suddenly...!Wait for inputClose Message"* Suddenly...!/%", "obj_mauswheel_enemy_slash_Step_0_gml_331_0" );
|
|
252
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
253
|
actcon = 23;
|
|
254
|
}
|
|
255
|
if (actcon > 22 && actcon < 23 && image_speed < 2)
|
|
256
|
image_speed += 0.02;
|
|
257
|
if (actcon == 23 && !i_ex(obj_writer))
|
|
258
|
{
|
|
259
|
instance_create((camerax() + 315) - 76, cameray() - 138, obj_mauswheel_tasquemanager);
|
|
260
|
instance_create((camerax() + 435) - 74, cameray() - 80, obj_mauswheel_tasque);
|
|
261
|
actcon = 25;
|
|
262
|
alarm[4] = 25; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
263
|
}
|
|
264
|
if (actcon == 26)
|
|
265
|
{
|
|
266
|
msgsetloc(0, * We'll take it from here!Wait for inputClose Message"* We'll take it from here!/%", "obj_mauswheel_enemy_slash_Step_0_gml_337_0" );
|
|
267
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
268
|
actcon = 27;
|
|
269
|
alarm[4] = 12; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
270
|
}
|
|
271
|
if (actcon == 28 && !instance_exists(obj_writer))
|
|
272
|
{
|
|
273
|
with (obj_mauswheel_tasquemanager)
|
|
274
|
alarm[0]
|
|
275
|
with (obj_mauswheel_tasque)
|
|
276
|
alarm[0]
|
|
277
|
scr_spareanimscr_spareanim
function scr_spareanim()
{
spareanim = instance_create(x, y, obj_spareanim);
spareanim.sprite_index = sprite_index;
spareanim.sprite_index = sparedsprite;
spareanim.image_index = 0;
spareanim.image_xscale = image_xscale;
spareanim.image_yscale = image_yscale;
} ();
|
|
278
|
scr_recruitscr_recruit
function scr_recruit()
{
if (recruitable == 1 && global.flag[61 disable_recruiting] == 0)
{
if (global.flag[global.monstertype[myself] + 600] >= 0(None) && global.flag[global.monstertype[myself] + 600] < 1 && recruitcount > 0)
{
if (recruitcount == -1)
{
scr_recruit_info(global.monstertype[myself]);
recruitcount = _recruitcount;
}
global.flag[global.monstertype[myself] + 600] += 1Enemy (placeholder/G-BODY) / recruitcount;
if (global.flag[global.monstertype[myself] + 600] > 1)
global.flag[global.monstertype[myself] + 600] = 1Enemy (placeholder/G-BODY);
snd_play(snd_sparkle_gem);
_recruitanim = instance_create(global.monsterx[myself], global.monstery[myself] - 40, obj_recruitanim);
_recruitanim.firstnumber = round(global.flag[global.monstertype[myself] + 600] / (1 / recruitcount));
_recruitanim.secondnumber = recruitcount;
}
}
} ();
|
|
279
|
visible = false;
|
|
280
|
actcon = 29;
|
|
281
|
alarm[4] = 60; gml_Object_obj_mauswheel_enemy_Alarm_4.gml
actcon += 1;
|
|
282
|
}
|
|
283
|
if (actcon == 30 && !instance_exists(obj_mauswheel_tasquemanager))
|
|
284
|
{
|
|
285
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
286
|
instance_destroy();
|
|
287
|
}
|
|
288
|
if (actingnoe == 1 && actconnoe == 1)
|
|
289
|
{
|
|
290
|
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");
|
|
291
|
msgsetloc(0, * Noelle screamed quietly!Wait for inputClose Message"* Noelle screamed quietly!/%", "obj_mauswheel_enemy_slash_Step_0_gml_360_0" );
|
|
292
|
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);
|
|
293
|
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");
|
|
294
|
actconnoe = (simulordernoe == 0) ? 20 : 0;
|
|
295
|
}
|
|
296
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
297
|
{
|
|
298
|
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;
}
}
} ();
|
|
299
|
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();
}
} ();
|
|
300
|
if (remove)
|
|
301
|
{
|
|
302
|
if (i_ex(obj_maus_enemy))
|
|
303
|
{
|
|
304
|
with (obj_maus_enemy)
|
|
305
|
tasque_joined = true;
|
|
306
|
}
|
|
307
|
global.monstermakey[myself] = y - 15;
|
|
308
|
global.monstermakex[myself] = tasquemarker.x;
|
|
309
|
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);
|
|
310
|
with (tasquemarker)
|
|
311
|
instance_destroy();
|
|
312
|
instance_destroy();
|
|
313
|
}
|
|
314
|
if (basket != -4)
|
|
315
|
{
|
|
316
|
with (nise_susie)
|
|
317
|
instance_destroy();
|
|
318
|
with (basket)
|
|
319
|
instance_destroy();
|
|
320
|
with (obj_herosusie)
|
|
321
|
visible = 1;
|
|
322
|
}
|
|
323
|
}
|
|
324
|
if (actcon == 20 || actconsus == 20 || actconral == 20 || actconnoe == 20)
|
|
325
|
{
|
|
326
|
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;
} ())
|
|
327
|
{
|
|
328
|
actconsus = -1;
|
|
329
|
actconral = -1;
|
|
330
|
actconnoe = -1;
|
|
331
|
actcon = 1;
|
|
332
|
}
|
|
333
|
}
|
|
334
|
}
|
|
335
|
|
|
336
|
enum e__VW
|
|
337
|
{
|
|
338
|
XView,
|
|
339
|
YView,
|
|
340
|
WView,
|
|
341
|
HView,
|
|
342
|
Angle,
|
|
343
|
HBorder,
|
|
344
|
VBorder,
|
|
345
|
HSpeed,
|
|
346
|
VSpeed,
|
|
347
|
Object,
|
|
348
|
Visible,
|
|
349
|
XPort,
|
|
350
|
YPort,
|
|
351
|
WPort,
|
|
352
|
HPort,
|
|
353
|
Camera,
|
|
354
|
SurfaceID
|
|
355
|
}
|