Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_diamondenemy_Step_0

(view raw script w/o annotations or w/e)
1
if (global.monster[myself] == 1)
2
{
3
    if (global.mnfight == 1 && talked == 0)
4
    {
5
        scr_randomtarget
scr_randomtarget

function scr_randomtarget() { abletotarget = 1; if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0) abletotarget = 0; mytarget = choose(0, 1, 2); if (abletotarget == 1) { while (global.charcantarget[mytarget] == 0) mytarget = choose(0, 1, 2); } else { mytarget = 3; } global.targeted[mytarget] = 1; }
();
6
        if (!instance_exists(obj_darkener))
7
            instance_create(0, 0, obj_darkener);
8
        global.typer = 50;
9
        rr = choose(0, 1, 2, 3);
10
        if (rr == 0)
11
            global.msg[0] = 
Long live
the guy
who pays us!
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_11_0")
;
12
        if (rr == 1)
13
            global.msg[0] = 
Shine,
shine
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_12_0")
;
14
        if (rr == 2)
15
            global.msg[0] = 
I'm just a
normal
person.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_13_0")
;
16
        if (rr == 3)
17
            global.msg[0] = 
Face my
Diamond
Cutter!
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_14_0")
;
18
        if (acting == 2)
19
            global.msg[0] = 
Yeah I
guess that
makes
sense.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_24_0")
;
20
        if (acting == 3)
21
            global.msg[0] = 
(Yawn)...
What? OK...
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_28_0")
;
22
        scr_enemyblcon
scr_enemyblcon

function scr_enemyblcon(arg0, arg1, arg2) { if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } }
(x - 160, y, 3);
23
        talked = 1;
24
        talktimer = 0;
25
    }
26
    if (talked == 1 && global.mnfight == 1)
27
    {
28
        rtimer = 0;
29
        scr_blconskip
scr_blconskip

function scr_blconskip(arg0) { if (arg0 != -1) { if (button1_p() && talktimer > arg0) talktimer = talkmax; talktimer += 1; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); global.mnfight = 2; } } if (arg0 == -1) { if (instance_exists(obj_writer) == false) global.mnfight = 2; } }
(15);
30
        if (global.mnfight == 2)
31
        {
32
            if (!instance_exists(obj_moveheart))
33
                scr_moveheart
scr_moveheart

function scr_moveheart() { return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
34
            if (!instance_exists(obj_growtangle))
35
                instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
36
        }
37
    }
38
    if (global.mnfight == 2 && attacked == 0)
39
    {
40
        rtimer += 1;
41
        if (rtimer == 12)
42
        {
43
            rr = choose(0, 1);
44
            if (rr == 0)
45
            {
46
                dc = instance_create(x, y, obj_dbulletcontroller);
47
                dc.type = 0;
48
                dc.target = mytarget;
49
                dc.damage = global.monsterat[myself] * 5;
50
            }
51
            else
52
            {
53
                dc = instance_create(x, y, obj_dbulletcontroller);
54
                dc.type = 1;
55
                dc.target = mytarget;
56
                dc.damage = global.monsterat[myself] * 5;
57
            }
58
            turns += 1;
59
            global.turntimer = 140;
60
            attacked = 1;
61
            global.typer = 6;
62
            global.fc = 0;
63
            rr = choose(0, 1, 2, 3, 4);
64
            if (rr == 0)
65
                global.battlemsg[0] = 
* Rudinn is glimmering plainly.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_77_0")
;
66
            if (rr == 1)
67
                global.battlemsg[0] = 
* Rudinn has no strong opinions one way or the other.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_78_0")
;
68
            if (rr == 2)
69
                global.battlemsg[0] = 
* Rudinn thinks about elaborate stones.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_79_0")
;
70
            if (rr == 3)
71
                global.battlemsg[0] = 
* Rudinn dislikes its boss,Delay 11 but doesn't care enough to quit.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_80_0")
;
72
            if (rr == 4)
73
                global.battlemsg[0] = 
* Smells like jewelry.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_81_0")
;
74
            if (global.monsterstatus[myself] == 1)
75
                global.battlemsg[0] = 
* Rudinn is starting to fall asleep.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_82_0")
;
76
            if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3))
77
                global.battlemsg[0] = 
* Rudinn's luster begins to fade.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_83_0")
;
78
            if (global.mercymod[myself] >= global.mercymax[myself])
79
                global.msg[0] = 
* Rudinn is alright with not fighting.
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_84_0")
;
80
        }
81
        else
82
        {
83
            global.turntimer = 120;
84
        }
85
    }
86
    if (global.mnfight == 2)
87
    {
88
        if (global.turntimer <= 1)
89
        {
90
            if (battlecancel == 1)
91
                global.mercymod[myself] = 999;
92
            if (battlecancel == 2)
93
            {
94
                with (obj_battlecontroller)
95
                    noreturn = 1;
96
                con = 1;
97
                battlecancel = 3;
98
            }
99
        }
100
    }
101
}
102
if (con == 1)
103
{
104
    con = 2;
105
    alarm[4] = 10;
106
}
107
if (con == 3)
108
{
109
    global.typer = 50;
110
    global.mercymod[myself] = 999;
111
    global.msg[0] = 
Alright,Delay 11
you convinced
me!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_118_0")
;
112
    scr_enemyblcon
scr_enemyblcon

function scr_enemyblcon(arg0, arg1, arg2) { if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } }
(x - 160, y, 3);
113
    con = 4;
114
}
115
if (con == 4 && !instance_exists(obj_writer))
116
{
117
    hspeed = 15;
118
    con = 5;
119
    alarm[4] = 15;
120
    with (obj_battlecontroller)
121
alarm[2]
122
}
123
if (con == 6)
124
{
125
    with (obj_battlecontroller)
126
        noreturn = 0;
127
    scr_monsterdefeat
scr_monsterdefeat

function scr_monsterdefeat() { if (global.monster[myself] == 1) { global.monstergold[3] += global.monstergold[myself]; global.monsterexp[3] += global.monsterexp[myself]; global.monster[myself] = 0; if (global.flag[51 + myself] == 0) { global.flag[51 + myself] = 2; if (global.monsterhp[myself] <= 0) global.flag[51 + myself] = 1; } if (global.flag[51 + myself] == 1) global.flag[40 violences] += 1; if (global.flag[51 + myself] == 2) global.flag[41 spares] += 1; if (global.flag[51 + myself] == 3) global.flag[42 pacifies] += 1; if (global.flag[51 + myself] == 5) global.flag[43 autosusie_violences] += 1; if (scr_monsterpop() == 0) { _amt_add = 0; _violenced = 0; _spared = 0; _pacified = 0; for (d_i = 0; d_i < 3; d_i += 1) { if (global.flag[51 + d_i] != 0) _amt_add += 1; if (global.flag[51 + d_i] == 1) _violenced += 1; if (global.flag[51 + d_i] == 2) _spared += 1; if (global.flag[51 + d_i] == 3) _pacified += 1; } if (_pacified > 0) global.flag[50 last_encounter_end] = 3; if (_spared > 0) global.flag[50 last_encounter_end] = 2; if (_violenced > 0) global.flag[50 last_encounter_end] = 1; } event_user(11); } }
();
128
    instance_destroy();
129
    con = 7;
130
}
131
if (global.myfight == 3)
132
{
133
    xx = __view_get(e__VW.XView, 0);
134
    yy = __view_get(e__VW.YView, 0);
135
    if (acting == 1 && actcon == 0)
136
    {
137
        actcon = 1;
138
        global.msg[0] = 
* RUDINN - AT 6 DF 0
* This ambivalent diamond isn't any girl's best friend.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_154_0")
;
139
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
140
    }
141
    if (acting == 2 && actcon == 0)
142
    {
143
        if (nexttry == 1)
144
            global.flag[208 re_convinced_rudinn] = 1;
145
        global.msg[0] = 
* You told Rudinn to quit fighting.Delay 11
* It was utterly swayed.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_163_0")
;
146
        scr_mercyadd
scr_mercyadd

function scr_mercyadd(arg0, arg1) { global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; }
(myself, 100);
147
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
148
        actcon = 1;
149
    }
150
    if (acting == 3 && actcon == 0)
151
    {
152
        global.msg[0] = 
* You lectured the enemies on the importance of kindness.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_173_0")
;
153
        global.msg[1] = 
* The enemies became \cBTIRED\cW...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_174_0")
;
154
        for (i = 0; i < 3; i += 1)
155
        {
156
            global.monstercomment[i] = 
(Tired)
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_177_0")
;
157
            global.monsterstatus[i] = 1;
158
        }
159
        scr_mercyadd
scr_mercyadd

function scr_mercyadd(arg0, arg1) { global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; }
(myself, 50);
160
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
161
        actcon = 1;
162
    }
163
    if (acting == 4 && actcon == 0)
164
    {
165
        actcon = 1;
166
        global.msg[0] = 
* You and Ralsei warned Rudinn about Susie.Delay 11
* The enemy went on guard...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_188_0")
;
167
        if (scr_monsterpop
scr_monsterpop

function scr_monsterpop() { return global.monster[0] + global.monster[1] + global.monster[2]; }
() > 1)
168
            global.msg[0] = 
* You and Ralsei warned the enemies about Susie.Delay 11
* Everyone went on guard.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_190_0")
;
169
        for (i = 0; i < 3; i += 1)
170
        {
171
            global.monstercomment[i] = 
(Warned)
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_193_0")
;
172
            global.automiss[i] = 1;
173
        }
174
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
175
    }
176
    if (actcon == 1 && !instance_exists(obj_writer))
177
    {
178
        actcon = 0;
179
        scr_attackphase
scr_attackphase

function scr_attackphase() { with (obj_battlecontroller) { techwon = 0; if (scr_monsterpop() == 0) techwon = 1; if (techwon == 0) { fightphase = 1; global.charturn = 3; if (global.charaction[0] == 4 || global.charaction[0] == 2) fightphase = 0; if (global.charaction[1] == 4 || global.charaction[1] == 2) fightphase = 0; if (global.charaction[2] == 4 || global.charaction[2] == 2) fightphase = 0; if (global.myfight == 4) fightphase = 1; if (fightphase == 1) { global.myfight = 1; instance_create(xx + 2, yy + 365, obj_attackpress); } else { global.myfight = 4; instance_create(0, 0, obj_spellphase); } } else { scr_wincombat(); } } }
();
180
    }
181
    if (actcon == 10 && instance_exists(obj_writer) == false)
182
    {
183
        global.typer = 50;
184
        global.msg[0] = 
You kidding?
I can't quit.
Stopping you
is my job!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_215_0")
;
185
        scr_enemyblcon
scr_enemyblcon

function scr_enemyblcon(arg0, arg1, arg2) { if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } }
(x - 160, y, 3);
186
        actcon = 11;
187
    }
188
    if (actcon == 11 && instance_exists(obj_writer) == false)
189
    {
190
        global.typer = 45;
191
        global.fc = 2;
192
        global.fe = 8;
193
        global.msg[0] = 
* Really?Delay 11
* What do you spend your money on?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_225_0")
;
194
        scr_battletext
scr_battletext

function scr_battletext() { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); if (global.fc != 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); if (global.fc == 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); myface = instance_create(xx + 26, yy + 380, obj_face); with (battlewriter) { dialoguer = 1; facer = 1; if (global.fc == 0 && originalcharline == 33) charline = 26; } return battlewriter; } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }
();
195
        actcon = 12;
196
    }
197
    if (actcon == 12 && instance_exists(obj_writer) == false)
198
    {
199
        global.typer = 50;
200
        global.msg[0] = 
I'm a normal
person.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_233_0")
;
201
        global.msg[1] = 
I spend all
my money on
RENT and
MYSTIC GEMs.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_234_0")
;
202
        scr_enemyblcon
scr_enemyblcon

function scr_enemyblcon(arg0, arg1, arg2) { if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } }
(x - 160, y, 3);
203
        actcon = 14;
204
    }
205
    if (actcon == 14 && instance_exists(obj_writer) == false)
206
    {
207
        global.typer = 45;
208
        global.fc = 2;
209
        global.fe = 3;
210
        global.msg[0] = 
* (Kris,Delay 11 let's try CONVINCING them again...)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_diamondenemy_slash_Step_0_gml_244_0")
;
211
        scr_battletext
scr_battletext

function scr_battletext() { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); if (global.fc != 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); if (global.fc == 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); myface = instance_create(xx + 26, yy + 380, obj_face); with (battlewriter) { dialoguer = 1; facer = 1; if (global.fc == 0 && originalcharline == 33) charline = 26; } return battlewriter; } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }
();
212
        nexttry = 1;
213
        actcon = 1;
214
    }
215
}
216
if (global.myfight == 7)
217
    hspeed = 15;
218
219
enum e__VW
220
{
221
    XView,
222
    YView,
223
    WView,
224
    HView,
225
    Angle,
226
    HBorder,
227
    VBorder,
228
    HSpeed,
229
    VSpeed,
230
    Object,
231
    Visible,
232
    XPort,
233
    YPort,
234
    WPort,
235
    HPort,
236
    Camera,
237
    SurfaceID
238
}