Undertale script viewer

← back to main script listing

gml_Object_obj_pyrope_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_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
8
            alarm[5] = global.monsterinstance[0].alarm[5];
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
9
    }
10
    if (global.monster[1] == 1)
11
    {
12
        if (global.monsterinstance[1].alarm[5] > alarm[5])
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
13
            alarm[5] = global.monsterinstance[1].alarm[5];
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
14
    }
15
    if (global.monster[2] == 1)
16
    {
17
        if (global.monsterinstance[2].alarm[5] > alarm[5])
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
18
            alarm[5] = global.monsterinstance[2].alarm[5];
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
19
    }
20
}
21
if (global.mnfight == 1)
22
{
23
    if (talked == 0)
24
    {
25
        alarm[5] = 110;
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
26
        alarm[6] = 1;
gml_Object_obj_pyrope_Alarm_6.gml

global.msg[0] =
Hot!!!
Error.
scr_gettext("obj_pyrope_266")
; blcon = instance_create(x + 110, y, obj_blconsm); gg = floor(random(3)); mycommand = round(random(100)); if (mycommand >= 0 && mycommand < 25) global.msg[0] =
Burn,
baby,
BURN!
scr_gettext("obj_pyrope_270")
; if (mycommand >= 25 && mycommand < 50) global.msg[0] =
Hot
enough
for
ya!?
scr_gettext("obj_pyrope_271")
; if (mycommand >= 50 && mycommand < 75) global.msg[0] =
Feel
the
heat.
scr_gettext("obj_pyrope_272")
; if (mycommand >= 75 && mycommand < 100) global.msg[0] =
Is it
cold in
here?
scr_gettext("obj_pyrope_273")
; if (whatiheard == 1) global.msg[0] =
Hot!!
HOT!!
Hotter!
HOTTER!!
scr_gettext("obj_pyrope_280")
; if (whatiheard == 3) global.msg[0] =
BRRRR!
What's
the
deal!?
scr_gettext("obj_pyrope_285")
; if (whatiheard == 4) global.msg[0] =
Sorry!!
I'm all
tied
up!!
scr_gettext("obj_pyrope_289")
; global.msg[1] =
Close MessageClose MessageClose Message
scr_gettext("obj_pyrope_294")
; global.typer = 2; blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER); global.border = 17; obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
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_pyrope_Alarm_6.gml

global.msg[0] =
Hot!!!
Error.
scr_gettext("obj_pyrope_266")
; blcon = instance_create(x + 110, y, obj_blconsm); gg = floor(random(3)); mycommand = round(random(100)); if (mycommand >= 0 && mycommand < 25) global.msg[0] =
Burn,
baby,
BURN!
scr_gettext("obj_pyrope_270")
; if (mycommand >= 25 && mycommand < 50) global.msg[0] =
Hot
enough
for
ya!?
scr_gettext("obj_pyrope_271")
; if (mycommand >= 50 && mycommand < 75) global.msg[0] =
Feel
the
heat.
scr_gettext("obj_pyrope_272")
; if (mycommand >= 75 && mycommand < 100) global.msg[0] =
Is it
cold in
here?
scr_gettext("obj_pyrope_273")
; if (whatiheard == 1) global.msg[0] =
Hot!!
HOT!!
Hotter!
HOTTER!!
scr_gettext("obj_pyrope_280")
; if (whatiheard == 3) global.msg[0] =
BRRRR!
What's
the
deal!?
scr_gettext("obj_pyrope_285")
; if (whatiheard == 4) global.msg[0] =
Sorry!!
I'm all
tied
up!!
scr_gettext("obj_pyrope_289")
; global.msg[1] =
Close MessageClose MessageClose Message
scr_gettext("obj_pyrope_294")
; global.typer = 2; blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER); global.border = 17; obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8; obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
34
        alarm[5] = 2;
gml_Object_obj_pyrope_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; global.mnfight = 2;
35
}
36
if (global.hurtanim[myself] == 1)
37
{
38
    shudder = 8;
39
    alarm[3] = global.damagetimer;
gml_Object_obj_pyrope_Alarm_3.gml

if (mypart1.hurt != 1) { dmgwriter = instance_create((x + (sprite_width / 2)) - 48, (y + ht) - 60, obj_dmgwriter); global.damage = takedamage; with (dmgwriter) dmg = global.damage; mypart1.hurt = 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
        global.hurtanim[myself] = 0;
50
        mypart1.hurt = 0;
51
        global.myfight = 0;
52
        global.mnfight = 1;
53
    }
54
    else
55
    {
56
        global.myfight = 0;
57
        global.mnfight = 1;
58
        killed = 1;
59
        instance_destroy();
60
    }
61
}
62
if (global.hurtanim[myself] == 5)
63
{
64
    global.damage = 0;
65
    instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter);
66
    with (obj_dmgwriter)
67
alarm[2]
68
    global.myfight = 0;
69
    global.mnfight = 1;
70
    global.hurtanim[myself] = 0;
71
}
72
if (global.mnfight == 2)
73
{
74
    if (attacked == 0)
75
    {
76
        pop = scr_monstersum
scr_monstersum

return global.monster[0] + global.monster[1] + global.monster[2];
();
77
        global.turntimer = 180;
78
        global.firingrate = 9;
79
        if (pop == 3)
80
            global.firingrate = global.firingrate * 2.4;
81
        if (pop == 2)
82
            global.firingrate = global.firingrate * 1.7;
83
        num = 0;
84
        if (mycommand < 50 && pop == 1)
85
        {
86
            global.turntimer = 180;
87
            gen = instance_create(x, y, obj_ropebulgen);
88
            gen.dmg = global.monsteratk[myself];
89
        }
90
        else
91
        {
92
            global.firingrate = 40;
93
            if (pop == 3)
94
                global.firingrate = global.firingrate * 2.6;
95
            if (pop == 2)
96
                global.firingrate = global.firingrate * 1.1;
97
            gen = instance_create(0, 0, obj_bombgen);
98
            gen.dmg = global.monsteratk[myself];
99
        }
100
        if (mycommand >= 0)
101
            global.msg[0] = 
* Pyrope is protected by its
winsome smile.
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_pyrope_492")
;
102
        if (mycommand >= 25)
103
            global.msg[0] = 
* Pyrope is pretending to
pull the fire alarm.
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_pyrope_493")
;
104
        if (mycommand >= 50)
105
            global.msg[0] = 
* Pyrope is chuckling through
its teeth.
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_pyrope_494")
;
106
        if (mycommand >= 75)
107
            global.msg[0] = 
* Pyrope is pretending to be
a candle.
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_pyrope_495")
;
108
        if (mycommand >= 90)
109
            global.msg[0] = 
* Smells like rope burn.
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_pyrope_496")
;
110
        if (heat == 1)
111
            global.msg[0] = 
* Pyrope wants more heat.
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_pyrope_497")
;
112
        if (heat > 1)
113
            global.msg[0] = 
* The room is sweltering!
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_pyrope_498")
;
114
        attacked = 1;
115
    }
116
    whatiheard = -1;
117
}
118
if (global.myfight == 2)
119
{
120
    if (whatiheard != -1)
121
    {
122
        if (global.heard == 0)
123
        {
124
            if (whatiheard == 0)
125
            {
126
                global.msc = 0;
127
                global.msg[0] = 
* PYROPE - ATK 29 DEF 14
* This mischievous monster
is never warm enough.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_pyrope_524")
;
128
                OBJ_WRITER.halt = 3;
129
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
130
                with (iii)
131
                    halt = 0;
132
                whatiheard = 9;
133
            }
134
            if (whatiheard == 3)
135
            {
136
                if (instance_exists(obj_heatwaver))
137
                {
138
                    with (obj_heatwaver)
139
                        instance_destroy();
140
                }
141
                global.msc = 0;
142
                global.msg[0] = 
* You blow on Pyrope.
* Its flames die down.
* Pyrope's ATTACK dropped!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_pyrope_534")
;
143
                with (obj_pyrope)
144
                {
145
                    if (global.monsteratk[myself] > 2)
146
                        global.monsteratk[myself] -= 2;
147
                    heat = 0;
148
                    mercymod = -200;
149
                    whatiheard = 3;
150
                }
151
                OBJ_WRITER.halt = 3;
152
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
153
                with (iii)
154
                    halt = 0;
155
            }
156
            if (whatiheard == 1)
157
            {
158
                global.msc = 0;
159
                with (obj_pyrope)
160
                    whatiheard = 1;
161
                with (obj_pyrope)
162
                    mercymod += 30;
163
                with (obj_pyrope)
164
                    heat += 1;
165
                if (heat > 1)
166
                {
167
                    with (obj_pyrope)
168
                        mercymod = 900;
169
                }
170
                global.msg[0] = 
* You crank up the thermostat.
* Pyrope begins to get
excited.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_pyrope_555")
;
171
                if (heat == 2)
172
                    global.msg[0] = 
* You crank up the thermostat.
* It's super hot!
* Pyrope looks satisfied.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_pyrope_556")
;
173
                if (heat > 2)
174
                    global.msg[0] = 
* You crank up the thermostat.
* It's SOOOO hot!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_pyrope_557")
;
175
                if (heat == 1 && instance_exists(obj_heatwaver) == 0)
176
                    instance_create(0, 0, obj_heatwaver);
177
                if (heat > 1 && instance_exists(obj_heatwaver))
178
                {
179
                    if (obj_heatwaver.cfactor < 30)
180
                        obj_heatwaver.cfactor += 2;
181
                }
182
                OBJ_WRITER.halt = 3;
183
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
184
                with (iii)
185
                    halt = 0;
186
            }
187
            if (whatiheard == 4)
188
            {
189
                global.msc = 0;
190
                global.msg[0] = 
* You invite Pyrope to hang
out.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_pyrope_571")
;
191
                OBJ_WRITER.halt = 3;
192
                iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
193
                with (iii)
194
                    halt = 0;
195
            }
196
            global.heard = 1;
197
        }
198
    }
199
}
200
if (global.myfight == 4)
201
{
202
    if (global.mercyuse == 0)
203
    {
204
        script_execute(scr_mercystandard);
205
        if (mercy < 0)
206
            instance_destroy();
207
    }
208
}
209
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0)
210
{
211
    script_execute(scr_mercystandard);
212
    if (mercy < 0)
213
        instance_destroy();
214
}