|
1
|
scr_enable_screen_borderscr_enable_screen_border
function scr_enable_screen_border(arg0)
{
var flag = arg0;
flag = flag != 0;
if (flag != global.screen_border_active)
{
global.screen_border_active = flag != 0;
global.screen_border_state = 0;
global.screen_border_dynamic_fade_id = 0;
global.screen_border_dynamic_fade_level = 0;
}
} (1);
|
|
2
|
scr_enemy_object_initscr_enemy_object_init
function scr_enemy_object_init()
{
becomeflash = 0;
flash = 0;
turnt = 0;
turns = 0;
talktimer = 0;
state = 0;
siner = 0;
fsiner = 0;
talked = 0;
attacked = 0;
hurt = 0;
hurttimer = 0;
hurtshake = 0;
shakex = 0;
mywriter = 343249823;
acttimer = 0;
con = 0;
dodgetimer = 0;
fatal = 0;
candodge = 0;
mytarget = 0;
ambushed = 0;
firststrike = 0;
damage = -1;
grazepoints = -1;
timepoints = -1;
inv = -1;
target = -1;
grazed = -1;
grazetimer = -1;
element = "none";
acting = 0;
actcon = 0;
actingsus = 0;
actingnoe = 0;
actingral = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
simulorderkri = -1;
simulordersus = -1;
simulorderral = -1;
simulordernoe = -1;
simultotal = 0;
simulboss = -1;
talkmax = 90;
mercymod = 0;
maxmercy = 100;
recruitable = 1;
freezable = 1;
recruitcount = 1;
sactionboxx = 0;
sactionboxy = 0;
hurtspriteoffx = 0;
hurtspriteoffy = 0;
image_xscale = 2;
image_yscale = 2;
image_speed = 0.2;
idlesprite = spr_diamond_knight_overworld;
hurtsprite = spr_diamond_knight_hurt;
sparedsprite = spr_diamond_knight_spared;
custombody = 0;
for (i = 0; i < 10; i++)
_charactsprite[i] = 382938298329;
depth = 90 - ((y - cameray()) / 50);
} ();
|
|
3
|
recruitcount = 5;
|
|
4
|
talkmax = 90;
|
|
5
|
image_speed = 0;
|
|
6
|
idlesprite = spr_tenna_point_up;
|
|
7
|
hurtsprite = spr_tenna_hurt;
|
|
8
|
sparedsprite = spr_tenna_sad;
|
|
9
|
custom_draw_example = 1;
|
|
10
|
darken = 0;
|
|
11
|
darkenalpha = 0;
|
|
12
|
myattackchoice = 0;
|
|
13
|
haveusedultimate = 0;
|
|
14
|
siner = 0;
|
|
15
|
turn = 0;
|
|
16
|
phaseturn = 0;
|
|
17
|
phase = 1;
|
|
18
|
phaseturn = 0;
|
|
19
|
endcon = 0;
|
|
20
|
endtimer = 0;
|
|
21
|
end_cutscene_version = 0;
|
|
22
|
balloonorder = 0;
|
|
23
|
ballooncon = 0;
|
|
24
|
balloonend = 1;
|
|
25
|
minigamedialogue = 0;
|
|
26
|
doubleminigamedialogue = 0;
|
|
27
|
smashcutdialgue = 0;
|
|
28
|
rimshotdialogue = 0;
|
|
29
|
dialogueorder = 0;
|
|
30
|
talkedcon = 0;
|
|
31
|
ralseitalks = 0;
|
|
32
|
susietalks = 0;
|
|
33
|
debugvar = 0;
|
|
34
|
attackchosen = false;
|
|
35
|
minigametype = "susiezilla";
|
|
36
|
difficulty = 0;
|
|
37
|
minigametype2 = "none";
|
|
38
|
difficulty2 = 0;
|
|
39
|
minigametype3 = "none";
|
|
40
|
difficulty3 = 0;
|
|
41
|
randomchosenprev1 = -1;
|
|
42
|
randomchosenprev2 = -1;
|
|
43
|
intro = 0;
|
|
44
|
introtimer = 0;
|
|
45
|
points = 0;
|
|
46
|
gothit = false;
|
|
47
|
bet = false;
|
|
48
|
betamount = 0;
|
|
49
|
pointsmultiplier = 1;
|
|
50
|
pointsmultiplierthisturn = 4;
|
|
51
|
haveusedbetbefore = false;
|
|
52
|
extrapointsviatension = 0;
|
|
53
|
popularboy = false;
|
|
54
|
saveralseihp = 0;
|
|
55
|
ralseihpprev = 0;
|
|
56
|
healthphase = 1;
|
|
57
|
resetralsei = false;
|
|
58
|
didkrisdoswordroute = false;
|
|
59
|
ralseiplushmarker = instance_create(-1000, -1000, obj_marker);
|
|
60
|
ralseiplushmarker.sprite_index = spr_gameshow_drowningRalsei_ralsei_origin_edit;
|
|
61
|
lancermarker = instance_create(-1000, -1000, obj_marker);
|
|
62
|
lancermarker.sprite_index = spr_lancer_lt_stool;
|
|
63
|
lancermarker.image_xscale = 2;
|
|
64
|
lancermarker.image_yscale = 2;
|
|
65
|
lancerspin = false;
|
|
66
|
lancerindex = 0;
|
|
67
|
lancercheat = false;
|
|
68
|
lancercheatpoints = 0;
|
|
69
|
ballvar = 0;
|
|
70
|
insanitycowboycount = 0;
|
|
71
|
insanitychefcount = 0;
|
|
72
|
if (global.flag[1050 beat_mantle] == 1)
|
|
73
|
didkrisdoswordroute = true;
|
|
74
|
minigametransition_con = 0;
|
|
75
|
minigametransition_timer = 0;
|
|
76
|
minigametransition_speed = 0;
|
|
77
|
minigametransition_variant = 0;
|
|
78
|
tenna_actor = instance_create(camerax() + 526, cameray() + 260, obj_actor_tenna);
|
|
79
|
tenna_actor.preset = 2;
|
|
80
|
audience_goes_away = false;
|
|
81
|
keep_em_alive = false;
|
|
82
|
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 == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
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;
... ("tenna");
|
|
83
|
global.fc = 22;
|
|
84
|
global.typer = 80;
|
|
85
|
if (!i_ex(obj_tenna_enemy_bg))
|
|
86
|
instance_create(camerax(), cameray(), obj_tenna_enemy_bg);
|
|
87
|
instance_create(x, y, obj_tenna_minigame_ui);
|
|
88
|
with (obj_battleback)
|
|
89
|
instance_destroy();
|
|
90
|
minigamefailcount = 0;
|
|
91
|
minigamefailcountprev = 0;
|
|
92
|
minigamefailcon = 0;
|
|
93
|
minigamefailtimer = 0;
|
|
94
|
minigamefailtimer2 = 0;
|
|
95
|
totalfails = 0;
|
|
96
|
deletefacebug = false;
|
|
97
|
target = 0;
|
|
98
|
damage = 0;
|
|
99
|
element = 0;
|
|
100
|
extravar = 0;
|
|
101
|
stopshoot = 0;
|
|
102
|
cowboy1tooknodamage = false;
|
|
103
|
alreadydidgianttenna = false;
|
|
104
|
alreadydidsharpshoot = false;
|
|
105
|
completedrhythmwithouttakingdamage = 0;
|
|
106
|
completedrhythmwithouttakingdamage2 = 0;
|
|
107
|
completedchefwithouttakingdamage = 0;
|
|
108
|
umbrellawithouttakingdamage = 0;
|
|
109
|
ralsei1withouttakingdamage = 0;
|
|
110
|
ralsei2withouttakingdamage = 0;
|
|
111
|
smashcutwithouttakingdamage = 0;
|
|
112
|
minigamecount = 0;
|
|
113
|
minigameactivated = false;
|
|
114
|
strng = "";
|
|
115
|
testlightemup = false;
|
|
116
|
testsharpshoot = false;
|
|
117
|
spotlightcount = 0;
|
|
118
|
extrapoints = 0;
|
|
119
|
staticfadetimer = 30;
|
|
120
|
staticfadetimermax = 300;
|
|
121
|
staticfadecon = 0;
|
|
122
|
minigameinsanity = 0;
|
|
123
|
minigameinsanitycount = 0;
|
|
124
|
minigameinsanitydamage = false;
|
|
125
|
finalattackminigameswitch = 0;
|
|
126
|
finalattackminigametimer = 0;
|
|
127
|
finalttackminigametype = 0;
|
|
128
|
finalattackminigamedifficulty = 0;
|
|
129
|
rhythm_combo[0] = 0;
|
|
130
|
rhythm_combo[1] = 0;
|
|
131
|
rhythm_combo[2] = 0;
|