|
1
|
scr_board_populatevarsscr_board_populatevars
function scr_board_populatevars()
{
if (!variable_instance_exists(id, "kris"))
kris = 0;
if (!variable_instance_exists(id, "susie"))
susie = 0;
if (!variable_instance_exists(id, "ralsei"))
ralsei = 0;
if (kris == 0)
{
with (obj_mainchara_board)
{
if (name == "kris")
other.kris = id;
}
}
if (ralsei == 0)
{
with (obj_mainchara_board)
{
if (name == "ralsei")
other.ralsei = id;
}
}
if (susie == 0)
{
with (obj_mainchara_board)
{
if (name == "susie")
other.susie = id;
}
}
} ();
|
|
2
|
scr_gameshow_populatevarsscr_gameshow_populatevars
function scr_gameshow_populatevars()
{
if (!variable_instance_exists(id, "kr_real"))
kr_real = 0;
if (!variable_instance_exists(id, "su_real"))
su_real = 0;
if (!variable_instance_exists(id, "ra_real"))
ra_real = 0;
if (!variable_instance_exists(id, "tenna"))
tenna = 0;
if (kr_real == 0)
{
with (obj_mainchara)
other.kr_real = id;
}
if (su_real == 0)
{
with (obj_caterpillarchara)
{
if (name == "susie")
other.su_real = id;
}
}
if (ra_real == 0)
{
with (obj_caterpillarchara)
{
if (name == "ralsei")
other.ra_real = id;
}
}
if (tenna == 0)
{
with (obj_actor_tenna)
other.tenna = id;
}
} ();
|
|
3
|
if (active == 1)
|
|
4
|
{
|
|
5
|
if (stolen == 0)
|
|
6
|
{
|
|
7
|
with (obj_board_trigger)
|
|
8
|
{
|
|
9
|
if (extflag == "b2moneyholestole")
|
|
10
|
{
|
|
11
|
if (place_meeting(x, y, obj_mainchara_board))
|
|
12
|
{
|
|
13
|
debug_print("too late to turn back");
|
|
14
|
other.stolen = true;
|
|
15
|
}
|
|
16
|
}
|
|
17
|
}
|
|
18
|
}
|
|
19
|
susie.sleepy = 1;
|
|
20
|
if (con == 0 && obj_board_camera.con == 0)
|
|
21
|
{
|
|
22
|
ralsei.follow = 0;
|
|
23
|
con = 1;
|
|
24
|
}
|
|
25
|
if (con == 1)
|
|
26
|
{
|
|
27
|
timer++;
|
|
28
|
if (timer == 1)
|
|
29
|
{
|
|
30
|
tenna.bounce = 1;
|
|
31
|
var tetalk = stringsetloc(Wait! That's *MY* secret bonus zone!"Wait! That's *MY* secret bonus zone!", "obj_b2_moneyhole_slash_Step_0_gml_23_0" );
|
|
32
|
if (!global.flag[1022 tenna_board_absent])
|
|
33
|
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;
} (tetalk, "tenna", 2, 90);
|
|
34
|
scr_play_recordingscr_play_recording
function scr_play_recording(arg0, arg1)
{
with (obj_mainchara_board)
{
if (name == arg0)
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg1;
susierecordsave = false;
}
}
} ("susie", "0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0LD0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0RD0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R");
|
|
35
|
}
|
|
36
|
if (timer == 70)
|
|
37
|
{
|
|
38
|
var sutalk = stringsetloc(Wow. Looks like mine, dude."Wow. Looks like mine, dude.", "obj_b2_moneyhole_slash_Step_0_gml_30_0" );
|
|
39
|
if (!global.flag[1022 tenna_board_absent])
|
|
40
|
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;
} (sutalk, "susie", 2, 80);
|
|
41
|
}
|
|
42
|
if (timer == 200)
|
|
43
|
{
|
|
44
|
scr_play_recordingscr_play_recording
function scr_play_recording(arg0, arg1)
{
with (obj_mainchara_board)
{
if (name == arg0)
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg1;
susierecordsave = false;
}
}
} ("susie", "0L0L0L0L0L0L0L0L0U0U");
|
|
45
|
scr_play_recordingscr_play_recording
function scr_play_recording(arg0, arg1)
{
with (obj_mainchara_board)
{
if (name == arg0)
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg1;
susierecordsave = false;
}
}
} ("ralsei", "0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0W0W0W0W0W0W0W0W0W0W0W0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0W0W0W0W0W0W0W0W0W0W0W0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R0R");
|
|
46
|
}
|
|
47
|
if (timer == 220)
|
|
48
|
{
|
|
49
|
tenna.bounce = 1;
|
|
50
|
var tetalk = stringsetloc(Well, haha, good luck reaching those!"Well, haha, good luck reaching those!", "obj_b2_moneyhole_slash_Step_0_gml_43_0" );
|
|
51
|
if (!global.flag[1022 tenna_board_absent])
|
|
52
|
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;
} (tetalk, "tenna", 2, 80);
|
|
53
|
}
|
|
54
|
if (timer == 280)
|
|
55
|
{
|
|
56
|
tenna.bounce = 1;
|
|
57
|
if (!global.flag[1022 tenna_board_absent])
|
|
58
|
{
|
|
59
|
var tetalk = stringsetloc(I keep my investments SHORT-proof!"I keep my investments SHORT-proof!", "obj_b2_moneyhole_slash_Step_0_gml_52_0" );
|
|
60
|
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;
} (tetalk, "tenna", 2, 90);
|
|
61
|
}
|
|
62
|
else
|
|
63
|
{
|
|
64
|
var sutalk = stringsetloc(Hm..."Hm...", "obj_b2_moneyhole_slash_Step_0_gml_57_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;
} (sutalk, "susie", 2, 60);
|
|
66
|
}
|
|
67
|
}
|
|
68
|
if (timer == 360)
|
|
69
|
{
|
|
70
|
susie.facing = 3;
|
|
71
|
var ratalk = stringsetloc(Umm, let's just go, Susie..."Umm, let's just go, Susie...", "obj_b2_moneyhole_slash_Step_0_gml_64_0" );
|
|
72
|
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;
} (ratalk, "ralsei", 2, 90);
|
|
73
|
}
|
|
74
|
if (timer == 430)
|
|
75
|
{
|
|
76
|
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);
} (ra_real);
|
|
77
|
snd_play(snd_noise);
|
|
78
|
var ratalk = stringsetloc(W-wait!"W-wait!", "obj_b2_moneyhole_slash_Step_0_gml_71_0" );
|
|
79
|
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;
} (ratalk, "ralsei", 2, 70);
|
|
80
|
extrareach = 1;
|
|
81
|
susie.facing = 2;
|
|
82
|
with (susie)
|
|
83
|
{
|
|
84
|
grabbed = other.ralsei;
|
|
85
|
grab = 1;
|
|
86
|
grabmarker = instance_create(x, y, obj_board_grabobject);
|
|
87
|
with (grabmarker)
|
|
88
|
{
|
|
89
|
drawreticle = false;
|
|
90
|
snd_play(snd_board_lift);
|
|
91
|
grabdaddy = other.id;
|
|
92
|
grabbedid = other.grabbed;
|
|
93
|
sprite_index = grabbedid.sprite_index;
|
|
94
|
image_xscale = grabbedid.image_xscale;
|
|
95
|
image_yscale = grabbedid.image_yscale;
|
|
96
|
image_speed = grabbedid.image_speed;
|
|
97
|
sourcex = grabbedid.x;
|
|
98
|
sourcey = grabbedid.y;
|
|
99
|
}
|
|
100
|
with (grabbed)
|
|
101
|
{
|
|
102
|
visible = false;
|
|
103
|
frozen = true;
|
|
104
|
setxy(board_tilex(-1), board_tiley(-1));
|
|
105
|
if (object_index == obj_mainchara_board)
|
|
106
|
canfreemove = 0;
|
|
107
|
}
|
|
108
|
}
|
|
109
|
}
|
|
110
|
if (timer == 460)
|
|
111
|
scr_play_recordingscr_play_recording
function scr_play_recording(arg0, arg1)
{
with (obj_mainchara_board)
{
if (name == arg0)
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg1;
susierecordsave = false;
}
}
} ("susie", "0W0W0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0L0W0D0D");
|
|
112
|
if (timer == 490)
|
|
113
|
{
|
|
114
|
var ratalk = stringsetloc(I... I'm covered in ill-gotten gains!"I... I'm covered in ill-gotten gains!", "obj_b2_moneyhole_slash_Step_0_gml_114_0" );
|
|
115
|
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;
} (ratalk, "ralsei", 2, 90);
|
|
116
|
ralsei.facing = 3;
|
|
117
|
ra_real.sprite_index = spr_ralsei_walk_left_sad;
|
|
118
|
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", 101);
|
|
119
|
scr_board_forcethrowscr_board_forcethrow
function scr_board_forcethrow()
{
var delivered = false;
var _mysusie = 0;
with (obj_mainchara_board)
{
if (name == "susie")
_mysusie = id;
}
if (!i_ex(_mysusie))
{
debug_print("NO SUSIE FOUND");
return 0;
}
if (i_ex(obj_board_grabobject))
{
var realsux = round((_mysusie.x - 128) / 32);
var realsuy = round((_mysusie.y - 64) / 32);
realsux = clamp(realsux, 1, 10);
realsuy = clamp(realsuy, 1, 6);
if (!i_ex(instance_place(board_tilex(realsux - 1), board_tiley(realsuy), obj_board_solid)))
{
delivered = true;
_mysusie.facing = 3;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux - 1);
aimy = board_tiley(realsuy);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux + 1), board_tiley(realsuy), obj_board_solid)))
{
_mysusie.facing = 1;
delivered = true;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux + 1);
aimy = board_tiley(realsuy);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux), board_tiley(realsuy - 1), obj_board_solid)))
{
_mysusie.facing = 2;
delivered = true;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux);
aimy = board_tiley(realsuy - 1);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux), board_tiley(realsuy - 1), obj_board_solid)))
{
_mysusie.facing = 0;
delivered = true;
}
else
{
}
}
if (delivered == false)
{
_mysusie.facing = 2;
with (obj_board_grabobject)
{
aimx = grabdaddy.x;
aimy = grabdaddy.y;
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
... ();
|
|
120
|
}
|
|
121
|
if (timer == 504)
|
|
122
|
{
|
|
123
|
scr_play_recordingscr_play_recording
function scr_play_recording(arg0, arg1)
{
with (obj_mainchara_board)
{
if (name == arg0)
{
susierecordcon = 2;
susierecordcount = 0;
susierecordstring = arg1;
susierecordsave = false;
}
}
} ("susie", "0L0L0L0L0L0L0L0D0D");
|
|
124
|
susie.sleepy = true;
|
|
125
|
}
|
|
126
|
if (timer == 591)
|
|
127
|
{
|
|
128
|
if (tennahere())
|
|
129
|
{
|
|
130
|
tenna.bounce = 1;
|
|
131
|
var tetalk = stringsetloc(He told me digital currency was SECURE!!!"He told me digital currency was SECURE!!!", "obj_b2_moneyhole_slash_Step_0_gml_122_0" );
|
|
132
|
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;
} (tetalk, "tenna", 2, 90);
|
|
133
|
snd_play_delay(snd_laughtrack_short_temp, 30);
|
|
134
|
}
|
|
135
|
con = 10;
|
|
136
|
}
|
|
137
|
}
|
|
138
|
if (con == 15 && obj_board_camera.con == 0)
|
|
139
|
{
|
|
140
|
if (!global.flag[1022 tenna_board_absent])
|
|
141
|
{
|
|
142
|
tenna.bounce = 1;
|
|
143
|
var tetalk = stringsetloc(Sigh... Can't a guy have just one bonus zone to himself...? "Sigh... Can't a guy have just one bonus zone to himself...? ", "obj_b2_moneyhole_slash_Step_0_gml_141_0" );
|
|
144
|
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;
} (tetalk, "tenna", 2, 150);
|
|
145
|
}
|
|
146
|
con = 9999;
|
|
147
|
}
|
|
148
|
}
|
|
149
|
else
|
|
150
|
{
|
|
151
|
if (con > 0 && con < 10)
|
|
152
|
con = 20;
|
|
153
|
if (con == 10)
|
|
154
|
con = 15;
|
|
155
|
timer = 0;
|
|
156
|
extrareach = 0;
|
|
157
|
}
|
|
158
|
if (con == 20 && !active)
|
|
159
|
con = 21;
|
|
160
|
if (con == 21)
|
|
161
|
{
|
|
162
|
outtimer++;
|
|
163
|
if (!global.flag[1022 tenna_board_absent] && !stolen)
|
|
164
|
{
|
|
165
|
if (outtimer == 1)
|
|
166
|
{
|
|
167
|
var ratalk = stringsetloc(Good idea, Kris. That bonus wasn't ours."Good idea, Kris. That bonus wasn't ours.", "obj_b2_moneyhole_slash_Step_0_gml_174_0" );
|
|
168
|
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;
} (ratalk, "ralsei", 1, 90);
|
|
169
|
}
|
|
170
|
if (outtimer == 90)
|
|
171
|
{
|
|
172
|
tenna.bounce = 1;
|
|
173
|
var tetalk = stringsetloc(That's right Ralsei!! Honesty and kindness pay!!!"That's right Ralsei!! Honesty and kindness pay!!!", "obj_b2_moneyhole_slash_Step_0_gml_180_0" );
|
|
174
|
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;
} (tetalk, "tenna", 2, 90);
|
|
175
|
}
|
|
176
|
if (outtimer == 180)
|
|
177
|
{
|
|
178
|
tenna.bounce = 1;
|
|
179
|
var tetalk = stringsetloc(Here, have a single point!!!"Here, have a single point!!!", "obj_b2_moneyhole_slash_Step_0_gml_185_0" );
|
|
180
|
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;
} (tetalk, "tenna", 2, 90);
|
|
181
|
}
|
|
182
|
if (outtimer == 220)
|
|
183
|
{
|
|
184
|
var pointsDisplay = instance_create(360, 398, obj_board_pointsGetDisplay);
|
|
185
|
pointsDisplay.amount = 1;
|
|
186
|
pointsDisplay.outofboard = 1;
|
|
187
|
pointsDisplay.depth = 50;
|
|
188
|
}
|
|
189
|
if (active)
|
|
190
|
{
|
|
191
|
con = 99999;
|
|
192
|
tenna.bounce = 1;
|
|
193
|
var tetalk = stringsetloc(Hey hey hey what happened to respecting my zone!?!?"Hey hey hey what happened to respecting my zone!?!?", "obj_b2_moneyhole_slash_Step_0_gml_197_0" );
|
|
194
|
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;
} (tetalk, "tenna", 2, 80);
|
|
195
|
}
|
|
196
|
}
|
|
197
|
else
|
|
198
|
{
|
|
199
|
con = 99999;
|
|
200
|
}
|
|
201
|
}
|
|
202
|
if (extrareach == 1)
|
|
203
|
{
|
|
204
|
with (obj_board_pointsGet)
|
|
205
|
{
|
|
206
|
if (place_meeting(x, y + 32, other.susie))
|
|
207
|
event_user(0);
|
|
208
|
}
|
|
209
|
}
|