Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_rudinnranger_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; if (global.chapter >= 2 && mytarget != 3) { if (global.charcantarget[0]) global.targeted[0] = 1; if (global.charcantarget[1]) global.targeted[1] = 1; if (global.charcantarget[2]) global.targeted[2] = 1; mytarget = 4; } }
();
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] = stringsetloc(
Long live
the king!
"Long live&the king!", "obj_rudinnranger_slash_Step_0_gml_11_0"
);
12
        if (rr == 1)
13
            global.msg[0] = stringsetloc(
Glimmer
glammor
"Glimmer&glammor", "obj_rudinnranger_slash_Step_0_gml_12_0"
);
14
        if (rr == 2)
15
            global.msg[0] = stringsetloc(
Perish,
Lightners!
"Perish,&Lightners!", "obj_rudinnranger_slash_Step_0_gml_13_0"
);
16
        if (rr == 3)
17
            global.msg[0] = stringsetloc(
I'm the,
diamond,
here's the
rough!
"I'm the,&diamond,&here's the&rough!", "obj_rudinnranger_slash_Step_0_gml_14_0"
);
18
        if (acting == 2)
19
            global.msg[0] = stringsetloc(
Enough!
You can't
convince
me!
"Enough!&You can't&convince&me!", "obj_rudinnranger_slash_Step_0_gml_17_0"
);
20
        if (acting == 3)
21
        {
22
            if (rr == 0 || rr == 1)
23
                global.msg[0] = stringsetloc(
No one ever
said THAT to
me before
...
"No one ever&said THAT to&me before&...", "obj_rudinnranger_slash_Step_0_gml_21_0"
);
24
            if (rr == 2 || rr == 3)
25
                global.msg[0] = stringsetloc(
The King
never said
THAT to me
before...
"The King&never said&THAT to me&before...", "obj_rudinnranger_slash_Step_0_gml_22_0"
);
26
            if (complimented >= 2)
27
                global.msg[0] = stringsetloc(
Yeah it
would be
weird.
"Yeah it&would be&weird.", "obj_rudinnranger_slash_Step_0_gml_25_0"
);
28
        }
29
        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; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 160, y, 3);
30
        talked = 1;
31
        talktimer = 0;
32
    }
33
    if (talked == 1 && global.mnfight == 1)
34
    {
35
        rtimer = 0;
36
        scr_blconskip
scr_blconskip

function scr_blconskip(arg0) { if (arg0 >= 0) { if (button1_p() && talktimer > arg0) talktimer = talkmax; talktimer += 1; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); global.mnfight = 2; } } else if (arg0 == -1) { if (instance_exists(obj_writer) == false) global.mnfight = 2; } else if (arg0 == -2) { talktimer += 1; if (talktimer > 15) talktimer = talkmax; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); global.mnfight = 2; } } }
(15);
37
        if (global.mnfight == 2)
38
        {
39
            if (!instance_exists(obj_moveheart))
40
                scr_moveheart
scr_moveheart

function scr_moveheart() { global.inv = 0; if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy)) return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart); else return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
41
            if (!instance_exists(obj_growtangle))
42
                instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
43
        }
44
    }
45
    if (global.mnfight == 2 && attacked == 0)
46
    {
47
        rtimer += 1;
48
        if (rtimer == 12)
49
        {
50
            rr = instance_number(object_index);
51
            if (rr == 99)
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
                dc.ratio = 1;
58
            }
59
            else
60
            {
61
                visible = 0;
62
                dc = instance_create(x, y, obj_dknight_slasher);
63
                dc.inv = 60;
64
                dc.target = mytarget;
65
                dc.grazepoints = 6;
66
                dc.timepoints = 2;
67
                dc.active = 0;
68
                dc.creator = id;
69
                dc.damage = global.monsterat[myself] * 5;
70
            }
71
            turns += 1;
72
            global.turntimer = 180;
73
            attacked = 1;
74
            global.typer = 6;
75
            global.fc = 0;
76
            rr = choose(0, 1, 2, 3, 4);
77
            if (rr == 0)
78
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger gleams gallantly.
"* Rudinn Ranger gleams gallantly.", "obj_rudinnranger_slash_Step_0_gml_81_0"
);
79
            if (rr == 1)
80
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger puts a power limiter on its feelings.
"* Rudinn Ranger puts a power limiter on its feelings.", "obj_rudinnranger_slash_Step_0_gml_82_0"
);
81
            if (rr == 2)
82
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger fantasizes about divine gems.
"* Rudinn Ranger fantasizes about divine gems.", "obj_rudinnranger_slash_Step_0_gml_83_0"
);
83
            if (rr == 3)
84
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger pledges allegiance.
"* Rudinn Ranger pledges allegiance.", "obj_rudinnranger_slash_Step_0_gml_84_0"
);
85
            if (rr == 4)
86
                global.battlemsg[0] = stringsetloc(
* Smells like crystal.
"* Smells like crystal.", "obj_rudinnranger_slash_Step_0_gml_85_0"
);
87
            if (global.monsterstatus[myself] == 1)
88
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger is starting to fall asleep.
"* Rudinn Ranger is starting to fall asleep.", "obj_rudinnranger_slash_Step_0_gml_86_0"
);
89
            if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3))
90
                global.battlemsg[0] = stringsetloc(
* Rudinn Ranger's luster begins to fade.
"* Rudinn Ranger's luster begins to fade.", "obj_rudinnranger_slash_Step_0_gml_87_0"
);
91
            if (global.mercymod[myself] >= global.mercymax[myself])
92
                global.msg[0] = stringsetloc(
* Rudinn Ranger seems totally flattered.
"* Rudinn Ranger seems totally flattered.", "obj_rudinnranger_slash_Step_0_gml_88_0"
);
93
        }
94
        else
95
        {
96
            global.turntimer = 120;
97
        }
98
    }
99
    if (global.mnfight == 2)
100
    {
101
        if (global.turntimer <= 1)
102
        {
103
            if (battlecancel == 1)
104
                global.mercymod[myself] = 999;
105
            if (battlecancel == 2)
106
            {
107
                with (obj_battlecontroller)
108
                    noreturn = 1;
109
                con = 1;
110
                battlecancel = 3;
111
            }
112
        }
113
    }
114
}
115
if (con == 1)
116
{
117
    con = 2;
118
    alarm[4] = 10;
119
}
120
if (con == 3)
121
{
122
    global.typer = 50;
123
    global.mercymod[myself] = 999;
124
    global.msg[0] = stringsetloc(
Alright,Delay 11
you convinced
me!!Wait for inputClose Message
"Alright^1,&you convinced&me!!/%", "obj_rudinnranger_slash_Step_0_gml_122_0"
);
125
    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; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 160, y, 3);
126
    con = 4;
127
}
128
if (con == 4 && !instance_exists(obj_writer))
129
{
130
    hspeed = 15;
131
    con = 5;
132
    alarm[4] = 15;
133
    with (obj_battlecontroller)
134
alarm[2]
135
}
136
if (con == 6)
137
{
138
    with (obj_battlecontroller)
139
        noreturn = 0;
140
    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 (fatal == 1) global.flag[44 kills]++; } 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 (global.flag[51 + myself] == 6) { global.flag[45 freezes] += 1; global.monstergold[3] += 24; } if (scr_monsterpop() == 0) { _amt_add = 0; _frozened = 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 (global.flag[51 + d_i] == 6) _frozened += 1; } if (_frozened > 0) global.flag[50 last_encounter_end] = 6; 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; if (_frozened > 0) { if (_pacified > 0 || _violenced > 0 || _spared > 0) global.flag[50 last_encounter_end] = 1; } if (global.flag[50 last_encounter_end] == 6) global.flag[926 iceshocked_encounters]++; if (global.flag[54 encounter_pointer] != 0) { global.flag[global.flag[54 encounter_pointer]] = global.flag[50 last_encounter_end]; global.flag[54 encounter_pointer] = 0; } } event_user(11); } }
();
141
    instance_destroy();
142
    con = 7;
143
}
144
if (global.myfight == 3)
145
{
146
    xx = __view_get(e__VW.XView, 0);
147
    yy = __view_get(e__VW.YView, 0);
148
    if (acting == 1 && actcon == 0)
149
    {
150
        actcon = 1;
151
        global.msg[0] = stringsetloc(
* RUDINN RANGER - AT 8 DF 0
* Ideally multicolored, but they all wanted to be red.Wait for inputClose Message
"* RUDINN RANGER - AT 8 DF 0&* Ideally multicolored, but they all wanted to be red./%", "obj_rudinnranger_slash_Step_0_gml_158_0"
);
152
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
153
    }
154
    if (acting == 2 && actcon == 0)
155
    {
156
        global.msg[0] = stringsetloc(
* You tried to explain why fighting is bad.Wait for input
"* You tried to explain why fighting is bad./", "obj_rudinnranger_slash_Step_0_gml_167_0"
);
157
        global.msg[1] = stringsetloc(
* But Rudinn Ranger just became TIRED...Wait for inputClose Message
"* But Rudinn Ranger just became \\cBTIRED\\cW.../%", "obj_rudinnranger_slash_Step_0_gml_168_0"
);
158
        global.monstercomment[myself] = "(Tired)";
159
        global.monsterstatus[myself] = 1;
160
        scr_mercyadd
scr_mercyadd

function scr_mercyadd(arg0, arg1) { global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; if (i_ex(obj_dmgwriter)) { with (obj_dmgwriter) { if (type == 5) _playsound = 0; } } if (_playsound) { var _pitch = 0.8; if (arg1 < 99) _pitch = 1; if (arg1 <= 50) _pitch = 1.2; if (arg1 <= 25) _pitch = 1.4; snd_play_x(snd_mercyadd, 0.8, _pitch); } __mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter); __mercydmgwriter.damage = arg1; __mercydmgwriter.type = 5; global.hittarget[arg0]++; }
(myself, 50);
161
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
162
        actcon = 1;
163
    }
164
    if (acting == 3 && actcon == 0)
165
    {
166
        global.msg[0] = stringsetloc(
* Susie COMPLIMENTed the enemy...?Wait for input
"* Susie COMPLIMENTed the enemy...?/", "obj_rudinnranger_slash_Step_0_gml_181_0"
);
167
        scr_susface
scr_susface

function scr_susface(arg0, arg1) { global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0"); }
(1, 2);
168
        rrr = choose(0, 1, 2);
169
        if (rrr == 0)
170
            global.msg[2] = stringsetloc(
* "Your outfit is NOT disgusting."Wait for inputClose Message
"* \"Your outfit is NOT disgusting.\"/%", "obj_rudinnranger_slash_Step_0_gml_184_0"
);
171
        if (rrr == 1)
172
            global.msg[2] = stringsetloc(
* "Please keep body tackling the soda machine."Wait for inputClose Message
"* \"Please keep body tackling the soda machine.\"/%", "obj_rudinnranger_slash_Step_0_gml_185_0"
);
173
        if (rrr == 2)
174
            global.msg[2] = stringsetloc(
* Nice,Delay 11 you guys look like you're gonna kill me.Wait for inputClose Message
"* Nice^1, you guys look like you're gonna kill me./%", "obj_rudinnranger_slash_Step_0_gml_186_0"
);
175
        if (global.flag[503 susie_complimented] == 0)
176
        {
177
            global.msg[0] = stringsetloc(
* You told Susie to COMPLIMENT the enemy!Wait for input
"* You told Susie to COMPLIMENT the enemy!/", "obj_rudinnranger_slash_Step_0_gml_190_0"
);
178
            scr_susface
scr_susface

function scr_susface(arg0, arg1) { global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0"); }
(1, 0);
179
            global.msg[2] = stringsetloc(
* ... uhhh,Delay 11 are you serious?Wait for input
"* ... uhhh^1, are you serious?/", "obj_rudinnranger_slash_Step_0_gml_192_0"
);
180
            global.msg[3] = stringsetloc(
Face 2* What good can I say about someone trying to kill us?Wait for input
"\\E2* What good can I say about someone trying to kill us?/", "obj_rudinnranger_slash_Step_0_gml_193_0"
);
181
            scr_ralface
scr_ralface

function scr_ralface(arg0, arg1) { global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0"); }
(4, 6);
182
            global.msg[5] = stringsetloc(
* Aww,Delay 11 Susie...Delay 11 if you're stuck,Delay 11 why not try...Wait for input
"* Aww^1, Susie..^1. if you're stuck^1, why not try.../", "obj_rudinnranger_slash_Step_0_gml_195_0"
);
183
            global.msg[6] = stringsetloc(
* ... saying something you wish someone'd say to you?Wait for input
"* ... saying something you wish someone'd say to you?/", "obj_rudinnranger_slash_Step_0_gml_196_0"
);
184
            scr_susface
scr_susface

function scr_susface(arg0, arg1) { global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0"); }
(7, 0);
185
            global.msg[8] = stringsetloc(
* ...Wait for input
"* .../", "obj_rudinnranger_slash_Step_0_gml_198_0"
);
186
            global.msg[9] = stringsetloc(
Face 2* "You are unbanned from free ham sandwich day"Wait for inputClose Message
"\\E2* \"You are unbanned from free ham sandwich day\"/%", "obj_rudinnranger_slash_Step_0_gml_199_0"
);
187
            global.flag[503 susie_complimented] = 1;
188
        }
189
        if (complimented >= 1)
190
        {
191
            global.msg[0] = stringsetloc(
* Susie actively didn't COMPLIMENT the enemy!Wait for input
"* Susie actively didn't COMPLIMENT the enemy!/", "obj_rudinnranger_slash_Step_0_gml_205_0"
);
192
            scr_susface
scr_susface

function scr_susface(arg0, arg1) { global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0"); }
(1, 0);
193
            global.msg[2] = stringsetloc(
* Look,Delay 11 it's just gonna be weird if I keep going.Wait for inputClose Message
"* Look^1, it's just gonna be weird if I keep going./%", "obj_rudinnranger_slash_Step_0_gml_207_0"
);
194
            complimented = 2;
195
        }
196
        scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
197
        actcon = 1;
198
        if (complimented == 0)
199
            complimented = 1;
200
    }
201
    if (actcon == 1 && !instance_exists(obj_writer))
202
    {
203
        if (acting == 3)
204
            scr_mercyadd
scr_mercyadd

function scr_mercyadd(arg0, arg1) { global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; if (i_ex(obj_dmgwriter)) { with (obj_dmgwriter) { if (type == 5) _playsound = 0; } } if (_playsound) { var _pitch = 0.8; if (arg1 < 99) _pitch = 1; if (arg1 <= 50) _pitch = 1.2; if (arg1 <= 25) _pitch = 1.4; snd_play_x(snd_mercyadd, 0.8, _pitch); } __mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter); __mercydmgwriter.damage = arg1; __mercydmgwriter.type = 5; global.hittarget[arg0]++; }
(myself, 100);
205
        actcon = 0;
206
        scr_attackphase
scr_attackphase

function scr_attackphase() { with (obj_battlecontroller) { techwon = 0; if (scr_monsterpop() == 0) techwon = 1; if (global.chapter == 2 && i_ex(obj_berdlyb_enemy) && obj_berdlyb_enemy.endcon == 1) techwon = 1; else if (techwon == 1) scr_wincombat(); if (techwon == 0) { for (__hiti = 0; __hiti < 3; __hiti++) global.hittarget[__hiti] = 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); } } } }
();
207
    }
208
    if (actcon == 10 && instance_exists(obj_writer) == false)
209
    {
210
        global.typer = 50;
211
        global.msg[0] = stringsetloc(
You kidding?
I can't quit.
Stopping you
is my job!Wait for inputClose Message
"You kidding?&I can't quit.&Stopping you&is my job!/%", "obj_rudinnranger_slash_Step_0_gml_235_0"
);
212
        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; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 160, y, 3);
213
        actcon = 11;
214
    }
215
    if (actcon == 11 && instance_exists(obj_writer) == false)
216
    {
217
        global.typer = 45;
218
        global.fc = 2;
219
        global.fe = 8;
220
        global.msg[0] = stringsetloc(
* Really?Delay 11
* What do you spend your money on?Wait for inputClose Message
"* Really^1?&* What do you spend your money on?/%", "obj_rudinnranger_slash_Step_0_gml_245_0"
);
221
        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 }
();
222
        actcon = 12;
223
    }
224
    if (actcon == 12 && instance_exists(obj_writer) == false)
225
    {
226
        global.typer = 50;
227
        global.msg[0] = stringsetloc(
I'm a normal
person.Wait for input
"I'm a normal&person./", "obj_rudinnranger_slash_Step_0_gml_253_0"
);
228
        global.msg[1] = stringsetloc(
I spend all
my money on
RENT and
MYSTIC GEMs.Wait for inputClose Message
"I spend all&my money on&RENT and&MYSTIC GEMs./%", "obj_rudinnranger_slash_Step_0_gml_254_0"
);
229
        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; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 160, y, 3);
230
        actcon = 14;
231
    }
232
    if (actcon == 14 && instance_exists(obj_writer) == false)
233
    {
234
        global.typer = 45;
235
        global.fc = 2;
236
        global.fe = 3;
237
        global.msg[0] = stringsetloc(
* (Kris,Delay 11 let's try CONVINCING them again...)Wait for inputClose Message
"* (Kris^1, let's try CONVINCING them again...)/%", "obj_rudinnranger_slash_Step_0_gml_264_0"
);
238
        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 }
();
239
        nexttry = 1;
240
        actcon = 1;
241
    }
242
}
243
if (global.myfight == 7)
244
    hspeed = 15;
245
246
enum e__VW
247
{
248
    XView,
249
    YView,
250
    WView,
251
    HView,
252
    Angle,
253
    HBorder,
254
    VBorder,
255
    HSpeed,
256
    VSpeed,
257
    Object,
258
    Visible,
259
    XPort,
260
    YPort,
261
    WPort,
262
    HPort,
263
    Camera,
264
    SurfaceID
265
}