Undertale script viewer

← back to main script listing

gml_Object_obj_tembattle_Step_0

(view raw script w/o annotations or w/e)
1
if (global.mnfight == 3)
2
    attacked = 0;
3
if (alarm[5] > 0)
4
{
5
    if (global.monster[0] == 1)
6
    {
7
        if (global.monsterinstance[0].alarm[5] > alarm[5])
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
8
            alarm[5] = global.monsterinstance[0].alarm[5];
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
9
    }
10
    if (global.monster[1] == 1)
11
    {
12
        if (global.monsterinstance[1].alarm[5] > alarm[5])
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
13
            alarm[5] = global.monsterinstance[1].alarm[5];
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
14
    }
15
    if (global.monster[2] == 1)
16
    {
17
        if (global.monsterinstance[2].alarm[5] > alarm[5])
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
18
            alarm[5] = global.monsterinstance[2].alarm[5];
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
19
    }
20
}
21
if (global.mnfight == 1)
22
{
23
    if (talked == 0)
24
    {
25
        alarm[5] = 110;
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
26
        alarm[6] = 1;
gml_Object_obj_tembattle_Alarm_6.gml

if (whatiheard == 7) { talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; alarm[5] = -2; if (instance_exists(blt_temhand)) { with (blt_temhand) instance_destroy(); } obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; } else { blcon = instance_create(x + 95, y - 25, obj_blconsm); gg = floor(random(3)); mycommand = round(random(100)); if (mycommand >= 0) global.msg[0] =
awwAwa
cute!!
(pets u)
scr_gettext("obj_tembattle_282")
; if (mycommand > 25 && mycommand < 50) { global.msg[0] =
OMG!!
humans
TOO CUTE
(dies)
scr_gettext("obj_tembattle_283")
; with (mypart1) instance_destroy(); image_index = 1; } if (mycommand >= 50) global.msg[0] =
hOI!!!
i'm
TEMMIE!!
scr_gettext("obj_tembattle_284")
; if (mycommand >= 75) global.msg[0] =
fhsdhjf
dsfjsd
dshjfsd
scr_gettext("obj_tembattle_285")
; if (whatiheard == 3) global.msg[0] =
NO!!!!!
muscles
......
NOT CUTE
scr_gettext("obj_tembattle_288")
; if (whatiheard == 1) { global.msg[0] =
NO!!!
so
hungr...
(dies)
scr_gettext("obj_tembattle_292")
; with (mypart1) instance_destroy(); image_index = 1; } if (whatiheard == 4) global.msg[0] =
hOI!!!
i'm
tEMMIE!!
scr_gettext("obj_tembattle_298")
; if (whatiheard == 6) { global.msg[0] =
FOOB!!!
scr_gettext("obj_tembattle_302")
; mercymod = 300; } global.msg[1] =
Close MessageClose MessageClose Message
scr_gettext("obj_tembattle_307")
; global.typer = 2; blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER); global.border = 6; obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; global.heard = 0; }
27
        talked = 1;
28
        global.heard = 0;
29
    }
30
}
31
if (control_check_pressed(0))
32
{
33
    if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0)
gml_Object_obj_tembattle_Alarm_6.gml

if (whatiheard == 7) { talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; alarm[5] = -2; if (instance_exists(blt_temhand)) { with (blt_temhand) instance_destroy(); } obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; } else { blcon = instance_create(x + 95, y - 25, obj_blconsm); gg = floor(random(3)); mycommand = round(random(100)); if (mycommand >= 0) global.msg[0] =
awwAwa
cute!!
(pets u)
scr_gettext("obj_tembattle_282")
; if (mycommand > 25 && mycommand < 50) { global.msg[0] =
OMG!!
humans
TOO CUTE
(dies)
scr_gettext("obj_tembattle_283")
; with (mypart1) instance_destroy(); image_index = 1; } if (mycommand >= 50) global.msg[0] =
hOI!!!
i'm
TEMMIE!!
scr_gettext("obj_tembattle_284")
; if (mycommand >= 75) global.msg[0] =
fhsdhjf
dsfjsd
dshjfsd
scr_gettext("obj_tembattle_285")
; if (whatiheard == 3) global.msg[0] =
NO!!!!!
muscles
......
NOT CUTE
scr_gettext("obj_tembattle_288")
; if (whatiheard == 1) { global.msg[0] =
NO!!!
so
hungr...
(dies)
scr_gettext("obj_tembattle_292")
; with (mypart1) instance_destroy(); image_index = 1; } if (whatiheard == 4) global.msg[0] =
hOI!!!
i'm
tEMMIE!!
scr_gettext("obj_tembattle_298")
; if (whatiheard == 6) { global.msg[0] =
FOOB!!!
scr_gettext("obj_tembattle_302")
; mercymod = 300; } global.msg[1] =
Close MessageClose MessageClose Message
scr_gettext("obj_tembattle_307")
; global.typer = 2; blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER); global.border = 6; obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; global.heard = 0; }
34
        alarm[5] = 2;
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
35
}
36
if (global.hurtanim[myself] == 1)
37
{
38
    shudder = 8;
39
    alarm[3] = global.damagetimer;
gml_Object_obj_tembattle_Alarm_3.gml

if (image_index == 0) { with (mypart1) instance_destroy(); dmgwriter = instance_create((x + (sprite_width / 2)) - 48, y + 120, obj_dmgwriter); global.damage = takedamage; with (dmgwriter) dmg = global.damage; image_index = 1; snd_play(snd_damage); alarm[8] = 11; } if (sha == 0) sha = x; x = sha + shudder; if (shudder < 0) shudder = -(shudder + 1); else shudder = -shudder; if (shudder == 0) { sha = 0; global.hurtanim[myself] = 2; exit; } alarm[3] = 2;
40
    global.hurtanim[myself] = 3;
41
}
42
if (global.hurtanim[myself] == 2)
43
{
44
    global.monsterhp[myself] -= takedamage;
45
    with (dmgwriter)
46
alarm[2]
47
    if (global.monsterhp[myself] >= 1)
48
    {
49
        mypart1 = instance_create(x, y, part1);
50
        global.hurtanim[myself] = 0;
51
        image_index = 0;
52
        global.myfight = 0;
53
        global.mnfight = 1;
54
    }
55
    else
56
    {
57
        global.myfight = 0;
58
        global.mnfight = 1;
59
        killed = 1;
60
        instance_destroy();
61
    }
62
}
63
if (global.hurtanim[myself] == 5)
64
{
65
    global.damage = 0;
66
    instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter);
67
    with (obj_dmgwriter)
68
alarm[2]
69
    global.myfight = 0;
70
    global.mnfight = 1;
71
    global.hurtanim[myself] = 0;
72
}
73
if (global.mnfight == 2)
74
{
75
    if (attacked == 0)
76
    {
77
        pop = scr_monstersum
scr_monstersum

return global.monster[0] + global.monster[1] + global.monster[2];
();
78
        with (mypart1)
79
            instance_destroy();
80
        mypart1 = instance_create(x, y, part1);
81
        global.turntimer = 160;
82
        global.firingrate = 25;
83
        if (pop == 3)
84
            global.firingrate = global.firingrate * 2.4;
85
        if (pop == 2)
86
            global.firingrate = global.firingrate * 1.7;
87
        if (mycommand >= 0 && mycommand < 25)
88
        {
89
            global.turntimer = 200;
90
            gen = instance_create(x + 24, y + 96, blt_temhand);
91
            gen.dmg = global.monsteratk[myself];
92
        }
93
        else
94
        {
95
            global.firingrate = 4;
96
            gen = instance_create(global.idealborder[0] + 80 + random(20), global.idealborder[2], obj_maintem);
97
            gen.bullettype = 0;
98
        }
99
        gen.myself = myself;
100
        if (mycommand >= 0)
101
            global.msg[0] = 
* Temmie is trying to glomp
you.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_504")
;
102
        if (mycommand >= 25)
103
            global.msg[0] = 
* Temmie forgot her other
attack.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_505")
;
104
        if (mycommand >= 50)
105
            global.msg[0] = 
* Temmie vibrates intensely.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_506")
;
106
        if (mycommand >= 75)
107
            global.msg[0] = 
* Temmie is doing her hairs.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_507")
;
108
        if (mycommand >= 83)
109
            global.msg[0] = 
* Temmiy accidentally misspells
her own name.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_508")
;
110
        if (mycommand >= 90)
111
            global.msg[0] = 
* Smells like Temmie Flakes.
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_509")
;
112
        if (global.monsterhp[myself] < 3)
113
            global.msg[0] = 
* How'd you do that?
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_511")
;
114
        attacked = 1;
115
    }
116
}
117
if (global.myfight == 2)
118
{
119
    if (whatiheard != -1)
120
    {
121
        if (global.heard == 0)
122
        {
123
            if (whatiheard == 0)
124
            {
125
                global.msc = 0;
126
                global.msg[0] = 
* TEMMIE - RATED TEM OUTTA TEM
* Loves to pet cute humans.Delay 11
* But you're allergic!Wait for input^
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_527")
;
127
                OBJ_WRITER.halt = 3;
128
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
129
                with (iii)
130
                    halt = 0;
131
                whatiheard = 9;
132
            }
133
            if (whatiheard == 1)
134
            {
135
                scr_itemcheck
scr_itemcheck

haveit = 0; itemcount = 0; for (i = 0; i < 8; i += 1) { if (global.item[i] == argument0) haveit = 1; if (global.item[i] == argument0) itemcount += 1; }
(22);
136
                if (haveit == 0)
137
                {
138
                    global.msc = 0;
139
                    global.msg[0] = 
* Temmie only wants the
Temmie Flakes.Wait for input^
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_539")
;
140
                    OBJ_WRITER.halt = 3;
141
                    iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
142
                    with (iii)
143
                        halt = 0;
144
                }
145
                else
146
                {
147
                    global.msc = 0;
148
                    global.myfight = 3;
149
                    global.bmenuno = 6;
150
                    global.msg[0] = 
Give the Temmie Flakes?

Yas NO!!!!!!!\C
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_550")
;
151
                    OBJ_WRITER.halt = 3;
152
                    iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_INSTAWRITER);
153
                }
154
            }
155
            if (whatiheard == 3)
156
            {
157
                global.msc = 0;
158
                global.msg[0] = 
* You flex at Temmie...Wait for inputClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_561")
;
159
                flex += 1;
160
                if (global.at < 150)
161
                    global.at += 7;
162
                OBJ_WRITER.halt = 3;
163
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
164
                with (iii)
165
                    halt = 0;
166
                global.monsteratk[myself] += 1;
167
            }
168
            if (whatiheard == 4)
169
            {
170
                global.flag[146 spared_temmie] = 1;
171
                global.msc = 0;
172
                global.msg[0] = 
* You say hello to Temmie.Wait for input^
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_573")
;
173
                OBJ_WRITER.halt = 3;
174
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
175
                with (iii)
176
                    halt = 0;
177
                mercymod = -10;
178
            }
179
            if (whatiheard == 6)
180
            {
181
                i = 0;
182
                n = 0;
183
                repeat (8)
184
                {
185
                    if (global.item[i] == 22)
186
                    {
187
                        n = 1;
188
                        global.flag[146 spared_temmie] = 1;
189
                    }
190
                    else
191
                    {
192
                        i += 1;
193
                    }
194
                }
195
                scr_itemshift
scr_itemshift

global.item[8] = argument1; for (i = argument0; i < 8; i += 1) global.item[i] = global.item[i + 1]; script_execute(scr_itemnameb); script_execute(scr_itemname);
(i, 0);
196
                with (OBJ_INSTAWRITER)
197
                    instance_destroy();
198
                alarm[6] = 1;
gml_Object_obj_tembattle_Alarm_6.gml

if (whatiheard == 7) { talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; alarm[5] = -2; if (instance_exists(blt_temhand)) { with (blt_temhand) instance_destroy(); } obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; } else { blcon = instance_create(x + 95, y - 25, obj_blconsm); gg = floor(random(3)); mycommand = round(random(100)); if (mycommand >= 0) global.msg[0] =
awwAwa
cute!!
(pets u)
scr_gettext("obj_tembattle_282")
; if (mycommand > 25 && mycommand < 50) { global.msg[0] =
OMG!!
humans
TOO CUTE
(dies)
scr_gettext("obj_tembattle_283")
; with (mypart1) instance_destroy(); image_index = 1; } if (mycommand >= 50) global.msg[0] =
hOI!!!
i'm
TEMMIE!!
scr_gettext("obj_tembattle_284")
; if (mycommand >= 75) global.msg[0] =
fhsdhjf
dsfjsd
dshjfsd
scr_gettext("obj_tembattle_285")
; if (whatiheard == 3) global.msg[0] =
NO!!!!!
muscles
......
NOT CUTE
scr_gettext("obj_tembattle_288")
; if (whatiheard == 1) { global.msg[0] =
NO!!!
so
hungr...
(dies)
scr_gettext("obj_tembattle_292")
; with (mypart1) instance_destroy(); image_index = 1; } if (whatiheard == 4) global.msg[0] =
hOI!!!
i'm
tEMMIE!!
scr_gettext("obj_tembattle_298")
; if (whatiheard == 6) { global.msg[0] =
FOOB!!!
scr_gettext("obj_tembattle_302")
; mercymod = 300; } global.msg[1] =
Close MessageClose MessageClose Message
scr_gettext("obj_tembattle_307")
; global.typer = 2; blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER); global.border = 6; obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; global.heard = 0; }
199
                alarm[5] = 100;
gml_Object_obj_tembattle_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2; global.border = 7; if (mycommand >= 25) global.border = 10; SCR_BORDERSETUP(); image_index = 0;
200
                global.myfight = 0;
201
            }
202
            if (whatiheard == 7)
203
            {
204
                with (mypart1)
205
                    atk = 3;
206
                caster_pause(global.batmusic);
207
                alarm[7] = 190;
gml_Object_obj_tembattle_Alarm_7.gml

caster_resume(global.batmusic); mycommand = round(random(100)); global.myfight = 0; global.mnfight = 1;
208
                with (OBJ_INSTAWRITER)
209
                    instance_destroy();
210
                with (mypart1)
211
                    sprite_index = spr_temsmug;
212
                with (mypart1)
213
alarm[9]
214
            }
215
            global.heard = 1;
216
        }
217
    }
218
}
219
if (whatiheard == 3 && instance_exists(OBJ_WRITER) == 0 && dunk == 0)
220
{
221
    blconx = instance_create(x + 95, y - 25, obj_blconsm);
222
    global.msg[0] = 
NO!!!!!
muscles
r.....
NOT CUTEWait for inputClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_617")
;
223
    dunk = 1;
224
    global.msg[1] = 
Close MessageClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_621")
;
225
    global.typer = 2;
226
    blconxwd = instance_create(blconx.x + 15, blconx.y + 10, OBJ_NOMSCWRITER);
227
}
228
if (dunk == 1 && instance_exists(OBJ_WRITER) == 0)
229
{
230
    with (blconx)
231
        instance_destroy();
232
    global.monstertype[1] = 23Aaron;
233
    global.monsterinstance[1] = instance_create(420, 38, obj_aaron);
234
    obj_aaron.image_alpha = 0;
235
    obj_aaron.alphaup = 1;
236
    blconx = instance_create(obj_aaron.x + 95, obj_aaron.y - 25, obj_blconsm);
237
    blconx.depth = 50;
238
    global.msg[0] = 
Ooh, I
have to
disagree
; )Wait for inputClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_635")
;
239
    if (global.flag[95 aaron_woshua_event] == 1)
240
        global.msg[0] = 
Temmie,Delay 11
are you
okay?
; )Wait for inputClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_636")
;
241
    global.msg[1] = 
Close MessageClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_637")
;
242
    global.typer = 2;
243
    global.msc = 0;
244
    blcont = instance_create(blconx.x + 15, blconx.y + 10, OBJ_WRITER);
245
    blcont.depth = -50;
246
    dunk = 2;
247
    global.myfight = 999;
248
}
249
if (dunk == 2 && instance_exists(OBJ_WRITER) == 0)
250
{
251
    with (blconx)
252
        instance_destroy();
253
    image_index = 1;
254
    blconx = instance_create(x + 95, y - 25, obj_blconsm);
255
    obj_tembody.visible = false;
256
    global.msg[0] = 
NO!!!!!
!!!!!!!Wait for inputClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_652")
;
257
    global.msg[1] = 
Close MessageClose MessageClose Message
scr_gettext
scr_gettext

var text_id = argument[0]; var text = ds_map_find_value(global.text_data_en, text_id); if (is_undefined(text)) text = ""; if (global.language == "ja") { var loc_text = ds_map_find_value(global.text_data_ja, text_id); if (!is_undefined(loc_text)) text = loc_text; } for (var i = 1; i <= (string_length(text) - 3); i++) { if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]") { var sel = string_char_at(text, i + 2); var replace; if (sel == "C") replace = global.charname; else if (sel == "G") replace = string(global.gold); else if (sel == "I") replace = global.itemname[global.menucoord[1]]; else if (sel == "1" && argument_count > 1) replace = argument[1]; else if (sel == "2" && argument_count > 2) replace = argument[2]; else if (sel == "3" && argument_count > 3) replace = argument[3]; else if (sel == "4" && argument_count > 4) replace = argument[4]; else if (sel == "5" && argument_count > 5) replace = argument[5]; else if (sel == "6" && argument_count > 6) replace = argument[6]; else if (sel == "7" && argument_count > 7) replace = argument[7]; else if (sel == "8" && argument_count > 8) replace = argument[8]; else if (sel == "9" && argument_count > 9) replace = argument[9]; else replace = ""; var before = string_copy(text, 1, i - 1); var after = string_copy(text, i + 4, string_length(text)); text = before + replace + after; i += (string_length(replace) - 1); } } return text;
("obj_tembattle_653")
;
258
    global.typer = 2;
259
    blconxwd = instance_create(blconx.x + 15, blconx.y + 10, OBJ_NOMSCWRITER);
260
    dunk = 3;
261
}
262
if (dunk == 3 && instance_exists(OBJ_WRITER) == 0)
263
{
264
    with (blconx)
265
        instance_destroy();
266
    mercymod = 222;
267
    obj_aaron.flex = 2;
268
}
269
if (global.myfight == 4)
270
{
271
    if (global.mercyuse == 0)
272
    {
273
        script_execute(scr_mercystandard);
274
        if (mercy < 0)
275
            instance_destroy();
276
    }
277
}
278
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0)
279
{
280
    global.myfight = 4;
281
    script_execute(scr_mercystandard);
282
    if (mercy < 0)
283
        instance_destroy();
284
}