|
1
|
image_alpha += 0.1;
|
|
2
|
siner++;
|
|
3
|
var offset = sin(siner / 6) * 2;
|
|
4
|
if (character == "susie")
|
|
5
|
targetid = 1411;
|
|
6
|
else
|
|
7
|
targetid = 1412;
|
|
8
|
draw_set_alpha(image_alpha);
|
|
9
|
ossafe_fill_rectangle_color(targetid.x - offset, targetid.y - offset, targetid.x + 96 + offset, targetid.y + 100 + offset, c_red, c_red, c_red, c_red, true);
|
|
10
|
ossafe_fill_rectangle_color(targetid.x - 1 - offset, targetid.y - 1 - offset, targetid.x + 96 + 1 + offset, targetid.y + 100 + 1 + offset, c_red, c_red, c_red, c_red, true);
|
|
11
|
draw_set_alpha(1);
|
|
12
|
draw_sprite_ext(spr_shutta_hands, 0, targetid.x - offset, targetid.y - offset, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
13
|
draw_sprite_ext(spr_shutta_hands, 1, targetid.x + 96 + offset, targetid.y + 102 + offset, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
14
|
if (targetid.x < camerax())
|
|
15
|
targetid.x = camerax();
|
|
16
|
if (targetid.x > ((camerax() + camerawidth()) - targetid.sprite_width))
|
|
17
|
targetid.x = (camerax() + camerawidth()) - targetid.sprite_width;
|
|
18
|
if (targetid.y < cameray())
|
|
19
|
targetid.y = cameray();
|
|
20
|
if (targetid.y > ((cameray() + 316) - targetid.sprite_height))
|
|
21
|
targetid.y = (cameray() + 316) - targetid.sprite_height;
|
|
22
|
if (character == "susie")
|
|
23
|
{
|
|
24
|
if (con == 1)
|
|
25
|
{
|
|
26
|
with (obj_writer)
|
|
27
|
instance_destroy();
|
|
28
|
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;
... ("susie");
|
|
29
|
msgsetloc(0, Face 2* Hey, don't take a -- achoo!!Wait for inputClose Message"\\E2* Hey, don't take a -- achoo!!/%", "obj_shutta_move_char_controller_slash_Draw_0_gml_36_0" );
|
|
30
|
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);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
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
} ();
|
|
31
|
con = 2;
|
|
32
|
}
|
|
33
|
if (con == 2)
|
|
34
|
{
|
|
35
|
if (!i_ex(obj_writer))
|
|
36
|
{
|
|
37
|
with (obj_writer)
|
|
38
|
instance_destroy();
|
|
39
|
snd_play_volume(snd_camera_flash, 0.8);
|
|
40
|
msgsetloc(0, * Camenary took a bad picture... it got a little embarrassedWait for inputClose Message"* Camenary took a bad picture... it got a little embarrassed/%", "obj_shutta_move_char_controller_slash_Draw_0_gml_46_0" );
|
|
41
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
42
|
con = 3;
|
|
43
|
}
|
|
44
|
}
|
|
45
|
if (con == 3)
|
|
46
|
{
|
|
47
|
if (alpha2 <= 0)
|
|
48
|
instance_destroy();
|
|
49
|
draw_set_alpha(alpha2);
|
|
50
|
ossafe_fill_rectangle_color(targetid.x - offset, targetid.y - offset, targetid.x + 96 + offset, targetid.y + 100 + offset, c_white, c_white, c_white, c_white, false);
|
|
51
|
draw_set_alpha(1);
|
|
52
|
alpha2 -= 0.05;
|
|
53
|
}
|
|
54
|
}
|
|
55
|
else
|
|
56
|
{
|
|
57
|
if (con == 1)
|
|
58
|
{
|
|
59
|
snd_play_volume(snd_camera_flash, 0.8);
|
|
60
|
with (obj_writer)
|
|
61
|
instance_destroy();
|
|
62
|
con = 2;
|
|
63
|
}
|
|
64
|
if (con == 2)
|
|
65
|
{
|
|
66
|
if (alpha2 <= 0)
|
|
67
|
instance_destroy();
|
|
68
|
draw_set_alpha(alpha2);
|
|
69
|
ossafe_fill_rectangle_color(targetid.x - offset, targetid.y - offset, targetid.x + 96 + offset, targetid.y + 100 + offset, c_white, c_white, c_white, c_white, false);
|
|
70
|
draw_set_alpha(1);
|
|
71
|
alpha2 -= 0.05;
|
|
72
|
}
|
|
73
|
}
|
|
74
|
if (left_h())
|
|
75
|
targetid.x -= 4;
|
|
76
|
if (right_h())
|
|
77
|
targetid.x += 4;
|
|
78
|
if (up_h())
|
|
79
|
targetid.y -= 4;
|
|
80
|
if (down_h())
|
|
81
|
targetid.y += 4;
|
|
82
|
if (button1_p() == 1 && con == 0)
|
|
83
|
con = 1;
|