|
1
|
if (krboard == 0)
|
|
2
|
{
|
|
3
|
with (obj_mainchara_board)
|
|
4
|
{
|
|
5
|
if (name == "kris")
|
|
6
|
other.krboard = id;
|
|
7
|
}
|
|
8
|
}
|
|
9
|
if (realra == 0)
|
|
10
|
{
|
|
11
|
with (obj_caterpillarchara)
|
|
12
|
{
|
|
13
|
if (name == "ralsei")
|
|
14
|
other.realra = id;
|
|
15
|
}
|
|
16
|
}
|
|
17
|
if (realsu == 0)
|
|
18
|
{
|
|
19
|
with (obj_caterpillarchara)
|
|
20
|
{
|
|
21
|
if (name == "susie")
|
|
22
|
other.realsu = id;
|
|
23
|
}
|
|
24
|
}
|
|
25
|
if (tenna == 0)
|
|
26
|
tenna = obj_actor_tenna;
|
|
27
|
if (active)
|
|
28
|
{
|
|
29
|
if (con == 0)
|
|
30
|
{
|
|
31
|
timer++;
|
|
32
|
if (timer == 1)
|
|
33
|
{
|
|
34
|
with (obj_mainchara_board)
|
|
35
|
{
|
|
36
|
if (name == "ralsei")
|
|
37
|
follow = 0;
|
|
38
|
}
|
|
39
|
}
|
|
40
|
if (timer == 30)
|
|
41
|
con = 21;
|
|
42
|
}
|
|
43
|
if (con == 21)
|
|
44
|
{
|
|
45
|
contimer++;
|
|
46
|
if (contimer == 1)
|
|
47
|
{
|
|
48
|
global.interact = 0;
|
|
49
|
tenna.bounce = 1;
|
|
50
|
var tennacouchtalk = stringsetloc(Now begin! Our state of the art... Modern electronic video adventure!!!"Now begin! Our state of the art... Modern electronic video adventure!!!", "obj_board_event_intro_slash_Step_0_gml_29_0" );
|
|
51
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (tennacouchtalk, "tenna", 2, 75);
|
|
52
|
var ralseimove = "0U0U0U0U0U0U0U0U0U0U0U";
|
|
53
|
scr_play_ralsei_recordingscr_play_ralsei_recording
function scr_play_ralsei_recording(arg0)
{
with (obj_mainchara_board)
{
if (name == "ralsei")
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg0;
susierecordsave = false;
}
}
} (ralseimove);
|
|
54
|
var sumove = "0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0W0W0W0W0W0W0L0L0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0U0W0W0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0W0W0W0W0W0W0W0W0W0W0D0D0W0W0W0W0W0W0W0W0W0W0W0W0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0W0W0W0W0W0W0W0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0D0D0D0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0R0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W0W";
|
|
55
|
scr_play_susie_recordingscr_play_susie_recording
function scr_play_susie_recording(arg0)
{
with (obj_mainchara_board)
{
if (name == "susie")
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg0;
susierecordsave = false;
}
}
} (sumove);
|
|
56
|
}
|
|
57
|
if (contimer == 60)
|
|
58
|
{
|
|
59
|
with (realsu)
|
|
60
|
{
|
|
61
|
sprite_index = spr_susie_walk_right_dw_unhappy;
|
|
62
|
scr_resetgameshowcharacter_delayscr_resetgameshowcharacter_delay
function scr_resetgameshowcharacter_delay()
{
var _x_smooth = 0;
if (argument_count == 3)
_x_smooth = 1;
return scr_script_delayed(scr_resetgameshowcharacter, argument1, argument0, _x_smooth);
} ("susie", 120);
|
|
63
|
}
|
|
64
|
var susiecouchtalk = stringsetloc(Looks like crap."Looks like crap.", "obj_board_event_intro_slash_Step_0_gml_46_0" );
|
|
65
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (susiecouchtalk, "susie", 2, 120);
|
|
66
|
}
|
|
67
|
if (contimer == 105)
|
|
68
|
{
|
|
69
|
with (realra)
|
|
70
|
{
|
|
71
|
sprite_index = spr_ralsei_shocked_left;
|
|
72
|
x -= 16;
|
|
73
|
y -= 6;
|
|
74
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
75
|
scr_resetgameshowcharacter_delayscr_resetgameshowcharacter_delay
function scr_resetgameshowcharacter_delay()
{
var _x_smooth = 0;
if (argument_count == 3)
_x_smooth = 1;
return scr_script_delayed(scr_resetgameshowcharacter, argument1, argument0, _x_smooth);
} ("ralsei", 105);
|
|
76
|
}
|
|
77
|
var ralseicouchtalk = stringsetloc(SUSIE!"SUSIE!", "obj_board_event_intro_slash_Step_0_gml_60_0" );
|
|
78
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (ralseicouchtalk, "ralsei", 2, 105);
|
|
79
|
}
|
|
80
|
if (contimer == 135)
|
|
81
|
{
|
|
82
|
tenna.bounce = 1;
|
|
83
|
var tennacouchtalk = stringsetloc(It's cutting edge!!!"It's cutting edge!!!", "obj_board_event_intro_slash_Step_0_gml_67_0" );
|
|
84
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (tennacouchtalk, "tenna", 2, 80);
|
|
85
|
con = 21;
|
|
86
|
}
|
|
87
|
}
|
|
88
|
if (makeitemsvis == 1)
|
|
89
|
{
|
|
90
|
makeitemsvis = 2;
|
|
91
|
obj_ch3_gameshow.kr_healthbar.visible = true;
|
|
92
|
obj_ch3_gameshow.su_healthbar.visible = true;
|
|
93
|
obj_ch3_gameshow.ra_healthbar.visible = true;
|
|
94
|
obj_ch3_gameshow.scoreboard.visible = true;
|
|
95
|
obj_ch3_gameshow.inventory.visible = true;
|
|
96
|
}
|
|
97
|
if (suwalk == 0 && obj_board_camera.con == 0)
|
|
98
|
{
|
|
99
|
suwalktimer++;
|
|
100
|
if (suwalktimer == 9)
|
|
101
|
{
|
|
102
|
scr_pathfind_to_pointscr_pathfind_to_point
function scr_pathfind_to_point(arg0, arg1, arg2)
{
var __destx = arg1 + 16;
var __desty = arg2 + 16;
if (arg1 < 12 && arg2 < 8)
{
__destx = 128 + (32 * arg1) + 16;
__desty = 64 + (32 * arg2) + 16;
}
with (obj_mainchara_board)
{
if (name == arg0)
{
path_end();
is_moving_timer = 0;
is_moving = true;
path_target_x = __destx;
path_target_y = __desty;
follow = false;
if (argument_count == 4)
{
if (argument3 != -1)
path_end_facing = argument3;
}
if (argument_count == 5)
{
if (argument4 != -1)
allow_diagonals = argument4;
}
}
}
} ("susie", choose(4, 5, 6, 7), choose(2, 3, 4, 5), 0);
|
|
103
|
suwalk = 1;
|
|
104
|
}
|
|
105
|
}
|
|
106
|
}
|
|
107
|
else
|
|
108
|
{
|
|
109
|
con = 999;
|
|
110
|
suwalk = 0;
|
|
111
|
suwalktimer = 0;
|
|
112
|
}
|
|
113
|
if (global.flag[20 other_text_command] == 1)
|
|
114
|
aww_track = true;
|
|
115
|
if (aww_track)
|
|
116
|
{
|
|
117
|
aww_track_timer++;
|
|
118
|
if (aww_track_timer == 1)
|
|
119
|
snd_play(snd_audience_aww);
|
|
120
|
if (aww_track_timer >= 30 && !d_ex())
|
|
121
|
{
|
|
122
|
aww_track = false;
|
|
123
|
aww_track_timer = 0;
|
|
124
|
global.flag[20 other_text_command] = 0;
|
|
125
|
}
|
|
126
|
}
|