Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_prophecy_Draw_0

(view raw script w/o annotations or w/e)
1
var propblue = 16764994;
2
var liteblue = 16777215;
3
image_blend = propblue;
4
var tilespr = 4064;
5
var tiletex = 1522;
6
if (alwaysactive)
7
    active = true;
8
width = 150;
9
height = 90;
10
if (musickind == 3)
11
    width = 300;
12
var xsin = 0;
13
var ysin = cos(siner / 12) * 4;
14
if (active)
15
{
16
    image_alpha = lerp(image_alpha, 1.2, 0.1);
17
    
scr_update_lightbeams
scr_update_lightbeams

function
scr_update_lightbeams(arg0, arg1)
{ with (obj_darkness_overlay) { if (!updated_this_frame) { image_alpha = lerp(0, mem_darkness, arg0); updated_this_frame = true; } else { exit; } } with (obj_light_area_mask) on_amount = lerp(0.1, 1, arg0); with (obj_lightbeamfx) image_alpha = lerp(0.1, 1, arg0); }
(1 - (image_alpha / 1.2), true);
18
}
19
else
20
{
21
    image_alpha = lerp(image_alpha, 0, 0.2);
22
    var _no_others_active = true;
23
    with (object_index)
24
    {
25
        if (id != other.id && active)
26
            _no_others_active = false;
27
    }
28
    if (_no_others_active && image_alpha > 0)
29
        
scr_update_lightbeams
scr_update_lightbeams

function
scr_update_lightbeams(arg0, arg1)
{ with (obj_darkness_overlay) { if (!updated_this_frame) { image_alpha = lerp(0, mem_darkness, arg0); updated_this_frame = true; } else { exit; } } with (obj_light_area_mask) on_amount = lerp(0.1, 1, arg0); with (obj_lightbeamfx) image_alpha = lerp(0.1, 1, arg0); }
(1 - (image_alpha / 1.2), false);
30
}
31
var onscreen = true;
32
if (image_alpha <= 0)
33
    onscreen = false;
34
var camx = camerax();
35
var camy = cameray();
36
if (x > (camx + 640 + (width * 2)) || x < (camx - (width * 2)) || y > (camy + 480 + (height * 2)) || y < (camy - (height * 2)))
37
    onscreen = false;
38
if (onscreen)
39
{
40
    if (angle == 90)
41
    {
42
        xsin = ysin;
43
        ysin = 0;
44
    }
45
    var textwidth = 320;
46
    if (!surface_exists(surf0))
47
        surf0 = surface_create(textwidth, height);
48
    if (!surface_exists(surf1))
49
        surf1 = surface_create(width, height);
50
    if (musickind)
51
    {
52
        if (!surface_exists(surf2))
53
            surf2 = surface_create(width * 2, height * 2);
54
    }
55
    var debugoffsetx = -24;
56
    var debugoffsety = -20;
57
    if (icon_sprite == -4)
58
    {
59
        if (musickind == 3)
60
            icon_sprite = 4528;
61
        if (prophecy_icon.custom_sprite != -4)
62
            icon_sprite = prophecy_icon.custom_sprite;
63
        if (extflag == "angel")
64
            icon_sprite = 1021;
65
    }
66
    else
67
    {
68
        surface_set_target(surf0);
69
        draw_set_blend_mode(bm_normal);
70
        draw_sprite_tiled_ext(tilespr, 0, ceil(siner / 2), ceil(siner / 2), 1, 1, propblue, 1);
71
        draw_set_blend_mode(bm_subtract);
72
        draw_sprite_ext(icon_sprite, 0, width / 2, 28, 1, 1, 0, c_black, 1);
73
        if (extflag == "angel")
74
            draw_sprite_ext(spr_pxwhite, 0, 0, 0, 640, 480, 0, c_black, 1);
75
        if (musickind == 3)
76
        {
77
            var yoffset = 8;
78
            draw_set_blend_mode(bm_normal);
79
            draw_sprite_tiled_ext(tilespr, 0, ceil(siner / 2), ceil(siner / 2), 1, 1, propblue, 1);
80
            draw_set_blend_mode(bm_subtract);
81
            draw_sprite_ext(spr_dw_church_prophecy_cacophony_pt1, 0, 0, yoffset + 0, 1, 1, 0, c_black, 1);
82
            draw_sprite_ext(spr_dw_church_prophecy_cacophony_pt2, 0, 46, yoffset + 0, 2, 1, 0, c_black, 1);
83
            for (var i = 1; i < 10; i++)
84
                draw_sprite_ext(spr_dw_church_prophecy_cacophony_pt2, 0, 46 + (20 * i), yoffset + 0, 2, 1, 0, c_black, 1);
85
            draw_sprite_ext(spr_pxwhite, 0, 0, 0, 600, yoffset, 0, c_black, 1);
86
        }
87
        draw_set_blend_mode(bm_normal);
88
        surface_reset_target();
89
    }
90
    var ogbg = 16775331;
91
    var linecol = merge_color(#8BE9EF, #17EDFF, 0.5 + (sin(siner / 120) * 0.5));
92
    var gradalpha = 1;
93
    if (church == 3)
94
        ogbg = 255;
95
    if (church == 3)
96
        gradalpha = 0.25;
97
    if (church == 3)
98
        linecol = 255;
99
    surface_set_target(surf1);
100
    draw_sprite_ext(spr_pxwhite, 0, 0, 0, width + 1, height + 1, 0, ogbg, gradalpha);
101
    draw_sprite_tiled_ext(tiletex, 0, ceil(-siner / 2), ceil(-siner / 2), 1, 1, linecol, gradalpha);
102
    var gradcol = 0;
103
    if (church == 2)
104
        gradcol = 16765515;
105
    if (!noback)
106
    {
107
        draw_sprite_ext(spr_gradient20, 0, 0, 0, width / 20, -3, 0, gradcol, gradalpha);
108
        draw_sprite_ext(spr_gradient20, 0, 0, height, width / 20, 3, 0, gradcol, gradalpha);
109
        draw_sprite_ext(spr_gradient20, 0, 0, 0, height / 20, 3, -90, gradcol, gradalpha);
110
        draw_sprite_ext(spr_gradient20, 0, width, height, height / 20, 3, 90, gradcol, gradalpha);
111
    }
112
    draw_set_blend_mode(bm_subtract);
113
    if (fade_edges)
114
    {
115
        draw_sprite_ext(spr_gradient20, 0, 0, 0, width / 20, -3, 0, gradcol, gradalpha);
116
        draw_sprite_ext(spr_gradient20, 0, 0, height, width / 20, 3, 0, gradcol, gradalpha);
117
        draw_sprite_ext(spr_gradient20, 0, 0, 0, height / 20, 3, -90, gradcol, gradalpha);
118
        draw_sprite_ext(spr_gradient20, 0, width, height, height / 20, 3, 90, gradcol, gradalpha);
119
    }
120
    draw_set_blend_mode(bm_normal);
121
    draw_set_blend_mode(bm_add);
122
    draw_surface(surf0, 0, 0);
123
    draw_surface(surf0, 0, 0);
124
    draw_surface(surf0, 0, 0);
125
    draw_set_blend_mode(bm_normal);
126
    surface_reset_target();
127
    if (drawback)
128
    {
129
        var col = 0;
130
        if (church == 2)
131
            col = 16723733;
132
        draw_sprite_ext(spr_pxwhite, 0, (x - width) + xsin, (y - height) + ysin, width * 2, height * 2, 0, col, 1);
133
    }
134
    if (!notext)
135
    {
136
        if (text_sprite == -4)
137
        {
138
            if (prophecy_text.custom_sprite != -4)
139
                text_sprite = prophecy_text.custom_sprite;
140
        }
141
        else
142
        {
143
            surface_set_target(surf0);
144
            draw_set_blend_mode(bm_normal);
145
            draw_clear_alpha(c_aqua, 1);
146
            draw_sprite_tiled_ext(tiletex, 0, ceil(siner / 2), ceil(siner / 2), 1, 1, c_white, 0.6);
147
            draw_set_blend_mode(bm_subtract);
148
            var xoff = 0;
149
            var yoff = 0;
150
            if (musickind == 3)
151
            {
152
                yoff = -6;
153
                xoff = -30;
154
            }
155
            draw_sprite_ext(text_sprite, 1, 0 + xoff, -10 + yoff, 1, 1, 0, c_black, 1);
156
            draw_set_blend_mode(bm_normal);
157
            surface_reset_target();
158
        }
159
    }
160
    if (musickind)
161
    {
162
        surface_set_target(surf2);
163
        draw_set_blend_mode(bm_normal);
164
        draw_clear_alpha(#53DDFF, 1);
165
        draw_sprite_tiled_ext(tiletex, 0, ceil(siner / 2), ceil(siner / 2), 1, 1, c_white, 0.6);
166
        draw_set_blend_mode(bm_subtract);
167
        draw_sprite_ext(spr_pxwhite, 0, 0, 0, width * 2, height * 2, 0, c_black, 1);
168
        var nxpos = 140;
169
        var nypos = 34;
170
        var count = 0;
171
        var space = 28;
172
        var yspace = 32;
173
        draw_set_blend_mode(bm_add);
174
        if (musickind == 1)
175
        {
176
            count = 0;
177
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 2) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 270, c_black, 1);
178
            count++;
179
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 1) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 0, c_black, 1);
180
            count++;
181
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 2) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 270, c_black, 1);
182
            count++;
183
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 3) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 90, c_black, 1);
184
            count++;
185
        }
186
        if (musickind == 2)
187
        {
188
            nxpos -= 10;
189
            nypos += 10;
190
            count = 0;
191
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 1) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 0, c_black, 1);
192
            count++;
193
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 1) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 0, c_black, 1);
194
            count++;
195
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 3) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 90, c_black, 1);
196
            count++;
197
            draw_sprite_ext(spr_arrow_9x9, 1, nxpos + (count * space), nypos + (yspace * 3) + (sin((siner + (count * 24)) / 10) * 2), 2, 2, 90, c_black, 1);
198
            count++;
199
        }
200
        if (musickind == 3)
201
        {
202
            nxpos -= 30;
203
            nypos += 132;
204
            space = 36;
205
            count = 0;
206
            var sol = [];
207
            sol = [0, 13, 0, 9, 4, 6, 2, 0, 0, 13, 0, 8, 2];
208
            for (var i = 0; i < array_length(sol); i++)
209
            {
210
                var thisyoff = -85.33333333333333 * (pitcharray[sol[i]] - 0.5);
211
                var txpos = nxpos + (count * space);
212
                var typos = nypos + (sin((siner + (count * 24)) / 10) * 2) + thisyoff;
213
                draw_sprite_ext(spr_dw_church_musicproparrows, indarray[sol[i]], txpos, typos, 2, 2, dirarray[sol[i]] * 90, c_black, 1);
214
                count++;
215
            }
216
        }
217
        draw_set_blend_mode(bm_normal);
218
        surface_reset_target();
219
    }
220
    if (!textonly)
221
    {
222
        for (var i = 1; i < 3; i++)
223
        {
224
            if (!musickind)
225
                draw_surface_ext(surf1, (x - width) + (ysin * (2 * i)), (y - height) + (ysin * (2 * i)), 2, 2, angle, c_white, image_alpha / 4);
226
            else
227
                draw_surface_ext(surf2, (x - width) + (ysin * (2 * i)), (y - height) + (ysin * (2 * i)), 1, 1, angle, c_white, image_alpha / 4);
228
        }
229
    }
230
    if (!textonly)
231
        draw_surface_ext(surf1, (x - width) + xsin, (y - height) + ysin, 2, 2, angle, c_white, image_alpha);
232
    if (musickind)
233
    {
234
        draw_set_blend_mode(bm_add);
235
        draw_surface_ext(surf2, (x - width) + xsin + 2, (y - height) + ysin + 2, 1, 1, angle, #203DFF, image_alpha * 0.5);
236
        draw_surface_ext(surf2, (x - width) + xsin, (y - height) + ysin, 1, 1, angle, c_white, image_alpha);
237
        draw_surface_ext(surf2, (x - width) + xsin, (y - height) + ysin, 1, 1, angle, c_white, image_alpha);
238
        draw_set_blend_mode(bm_normal);
239
    }
240
    if (text_sprite != -4)
241
    {
242
        var textxoffset = -160;
243
        var textyoffset = -16;
244
        if (extflag == "heroes1")
245
            textyoffset = -70;
246
        if (extflag == "rightpiece")
247
            textyoffset += 10;
248
        if (musickind == 3)
249
        {
250
            textxoffset = 2;
251
            textyoffset = 2;
252
        }
253
        if (instance_exists(obj_dw_churchb_bellroom))
254
        {
255
            if (angle == 180)
256
            {
257
                textxoffset = 160;
258
                textyoffset = 20;
259
            }
260
            if (angle == 90)
261
            {
262
                textxoffset = -16;
263
                textyoffset = 160;
264
            }
265
        }
266
        if (instance_exists(obj_dw_churchb_libraryconnector))
267
        {
268
            if (extflag == "heroes4")
269
            {
270
                textxoffset = -166;
271
                textyoffset = -60;
272
            }
273
            if (extflag == "rudebuster")
274
                textyoffset = -44;
275
        }
276
        if (extflag == "gallery")
277
        {
278
            textxoffset -= 6;
279
            textyoffset = -48;
280
        }
281
        if (extflag == "angel")
282
        {
283
        }
284
        if (extflag == "heavenandhell1")
285
            textyoffset = -44;
286
        if (extflag == "heavenandhell2")
287
            textyoffset = -32;
288
        if (extflag == "boss3")
289
            textyoffset = -38;
290
        if (extflag == "boss1")
291
            textyoffset = 48;
292
        if (instance_exists(obj_dw_churchb_library))
293
        {
294
            if (extflag == "heroes3")
295
                textyoffset = -38;
296
            if (extflag == "boss2")
297
                textyoffset = -38;
298
        }
299
        if (instance_exists(obj_dw_churchb_rotatingtower))
300
        {
301
            if (extflag == "heroes2")
302
                textyoffset = -28;
303
        }
304
        if (!variable_instance_exists(id, "proptextlinecount"))
305
        {
306
            proptextlinecount = 0;
307
            var mytext = array_get(
scr_prophecytext
scr_prophecytext

function
scr_prophecytext(arg0 = "help")
{ var thegirl = stringsetloc(
THE GIRL
"THE GIRL", "scr_prophecytext_slash_scr_prophecytext_gml_13_0"
);
var textstring = []; var textalign = "center"; switch (arg0) { case "initial1": textstring[0] = stringsetloc(
THE PROPHECY, WHICH WHISPERS#AMONG THE SHADOWS.
"THE PROPHECY, WHICH WHISPERS#AMONG THE SHADOWS.", "scr_prophecytext_slash_scr_prophecytext_gml_20_0"
);
break; case "initial2": textstring[0] = stringsetloc(
THE LEGEND OF THIS WORLD.#
"THE LEGEND OF THIS WORLD.#<DELTARUNE.>", "scr_prophecytext_slash_scr_prophecytext_gml_23_0"
);
break; case "main1": textstring[0] = stringsetloc(
A WORLD BASKED IN PUREST LIGHT.#BENEATH IT, GREW ETERNAL NIGHT.
"A WORLD BASKED IN PUREST LIGHT.#BENEATH IT, GREW ETERNAL NIGHT.", "scr_prophecytext_slash_scr_prophecytext_gml_26_0"
);
break; case "main2": textstring[0] = stringsetloc(
IF FOUNTAINS FREED, THE ROARING CRIES.#AND TITANS SHAPE FROM DARKENED EYES.
"IF FOUNTAINS FREED, THE ROARING CRIES.#AND TITANS SHAPE FROM DARKENED EYES.", "scr_prophecytext_slash_scr_prophecytext_gml_29_0"
);
break; case "main3": textstring[0] = stringsetloc(
THE LIGHT AND DARK, BOTH BURNING DIRE.#A COUNTDOWN TO THE EARTH'S EXPIRE.
"THE LIGHT AND DARK, BOTH BURNING DIRE.#A COUNTDOWN TO THE EARTH'S EXPIRE.", "scr_prophecytext_slash_scr_prophecytext_gml_32_0"
);
break; case "heroes1": textstring[0] = stringsetloc(
BUT LO, ON HOPES AND DREAMS THEY SEND.#THREE HEROES AT THE WORLD'S END.
"BUT LO, ON HOPES AND DREAMS THEY SEND.#THREE HEROES AT THE WORLD'S END.", "scr_prophecytext_slash_scr_prophecytext_gml_35_0"
);
break; case "heroes2": textstring[0] = stringsetloc(
THE GIRL, WITH HOPE CROSSED ON HER HEART.
"THE GIRL, WITH HOPE CROSSED ON HER HEART.", "scr_prophecytext_slash_scr_prophecytext_gml_38_0"
);
if (i_ex(obj_dw_churchb_rotatingtower)) textstring[0] = stringsetloc(
THE SECOND HERO.#THE GIRL, WITH HOPE CROSSED ON HER HEART.
"THE SECOND HERO.#THE GIRL, WITH HOPE CROSSED ON HER HEART.", "scr_prophecytext_slash_scr_prophecytext_gml_41_0"
);
if (i_ex(obj_dw_churchb_darkclimb)) textstring[0] = ""; break; case "heroes3": textstring[0] = stringsetloc(
THE PRINCE, ALONE IN DEEPEST DARK...
"THE PRINCE, ALONE IN DEEPEST DARK...", "scr_prophecytext_slash_scr_prophecytext_gml_49_0"
);
if (i_ex(obj_dw_churchb_library)) textstring[0] = stringsetloc(
THE THIRD HERO.#THE PRINCE, ALONE IN DEEPEST DARK
"THE THIRD HERO.#THE PRINCE, ALONE IN DEEPEST DARK", "scr_prophecytext_slash_scr_prophecytext_gml_52_0"
);
break; case "heroes4": textstring[0] = stringsetloc(
THE CAGE, WITH HUMAN SOUL AND PARTS!
"THE CAGE, WITH HUMAN SOUL AND PARTS!", "scr_prophecytext_slash_scr_prophecytext_gml_56_0"
);
if (i_ex(obj_dw_churchb_libraryconnector)) textstring[0] = stringsetloc(
THE FIRST HERO.#THE CAGE, WITH HUMAN SOUL AND PARTS!
"THE FIRST HERO.#THE CAGE, WITH HUMAN SOUL AND PARTS!", "scr_prophecytext_slash_scr_prophecytext_gml_59_0"
);
break; case "heavenandhell1": textstring[0] = stringsetloc(
THEY'LL HEAR THE RING OF HEAVEN'S CALL.
"THEY'LL HEAR THE RING OF HEAVEN'S CALL.", "scr_prophecytext_slash_scr_prophecytext_gml_63_0"
);
break; case "heavenandhell2": textstring[0] = stringsetloc(
THEY'LL SEE THE TAIL OF HELL TAKE CRAWL.
"THEY'LL SEE THE TAIL OF HELL TAKE CRAWL.", "scr_prophecytext_slash_scr_prophecytext_gml_66_0"
);
break; case "knight1": textstring[0] = stringsetloc(
THE KNIGHT WHICH MAKES#WITH BLACKENED KNIFE.
"THE KNIGHT WHICH MAKES#WITH BLACKENED KNIFE.", "scr_prophecytext_slash_scr_prophecytext_gml_69_0"
);
break; case "knight2": textstring[0] = stringsetloc(
SHALL DUEL WITH HEROES#STRIFE BY STRIFE.
"SHALL DUEL WITH HEROES#STRIFE BY STRIFE.", "scr_prophecytext_slash_scr_prophecytext_gml_72_0"
);
break; case "boss1": textstring[0] = stringsetloc(
THE QUEEN'S CHARIOT#CANNOT BE STOPPED.
"THE QUEEN'S CHARIOT#CANNOT BE STOPPED.", "scr_prophecytext_slash_scr_prophecytext_gml_75_0"
);
break; case "boss2": textstring[0] = stringsetloc(
THE LORD OF SCREENS#CLEAVED RED BY BLADE.
"THE LORD OF SCREENS#CLEAVED RED BY BLADE.", "scr_prophecytext_slash_scr_prophecytext_gml_78_0"
);
break; case "boss3": textstring[0] = stringsetloc(
THE FLOWER MAN, #TRAPPED IN ASYLUM.
"THE FLOWER MAN, #TRAPPED IN ASYLUM.", "scr_prophecytext_slash_scr_prophecytext_gml_81_0"
);
break; case "joke1": textstring[0] = stringsetloc(
JOCKINGTON GROWS THE BEARD.
"JOCKINGTON GROWS THE BEARD.", "scr_prophecytext_slash_scr_prophecytext_gml_84_0"
);
break; case "joke2": textstring[0] = stringsetloc(
THE POINTY-HEADED WILL SAY#"TOOTHPASTE," AND THEN "BOY."
"THE POINTY-HEADED WILL SAY#\"TOOTHPASTE,\" AND THEN \"BOY.\"", "scr_prophecytext_slash_scr_prophecytext_gml_87_0"
);
break; case "musicalprophecy1": case "leftpiece": textstring[0] = stringsetloc(
A CONUNDRUM'S FIRST FOUR TONES.
"A CONUNDRUM'S FIRST FOUR TONES.", "scr_prophecytext_slash_scr_prophecytext_gml_91_0"
);
break; case "musicalprophecy2": case "rightpiece": textstring[0] = stringsetloc(
A CONUNDRUM'S LAST FOUR TONES.
"A CONUNDRUM'S LAST FOUR TONES.", "scr_prophecytext_slash_scr_prophecytext_gml_95_0"
);
break; case "musicalprophecybig": textstring[0] = stringsetloc(
A CONUNDRUM'S MULTITUDE TONES.
"A CONUNDRUM'S MULTITUDE TONES.", "scr_prophecytext_slash_scr_prophecytext_gml_98_0"
);
break; case "angel": textstring[0] = stringsetloc(
THE ANGEL, BANISHED, WILL#FINALLY MEET WITH ITS DESIRE.
"THE ANGEL, BANISHED, WILL#FINALLY MEET WITH ITS DESIRE.", "scr_prophecytext_slash_scr_prophecytext_gml_101_0"
);
break; case "end1": textstring[0] = stringsetloc(
AND THEN. WHEN ALL HOPE#IS LOST FOR THE TALE
"AND THEN. WHEN ALL HOPE#IS LOST FOR THE TALE", "scr_prophecytext_slash_scr_prophecytext_gml_104_0"
);
break; case "end2": textstring[0] = stringsetloc(
THE FINAL TRAGEDY UNVEILS.
"THE FINAL TRAGEDY UNVEILS.", "scr_prophecytext_slash_scr_prophecytext_gml_107_0"
);
break; case "end3": textstring[0] = stringsetloc(
FOR TO SAVE THE WORLDS,#WE LAST OF ALL SAY,
"FOR TO SAVE THE WORLDS,#WE LAST OF ALL SAY,", "scr_prophecytext_slash_scr_prophecytext_gml_110_0"
);
break; case "end5": textstring[0] = stringsetloc(
ONLY THEN,#WILL THE WORLDS BE SAVED.
"ONLY THEN,#WILL THE WORLDS BE SAVED.", "scr_prophecytext_slash_scr_prophecytext_gml_113_0"
);
break; case "hammer": textstring[0] = stringsetloc(
AXE CARVED BY THE#TORTOISE'S GRAND HAMMER.
"AXE CARVED BY THE#TORTOISE'S GRAND HAMMER.", "scr_prophecytext_slash_scr_prophecytext_gml_116_0"
);
break; case "rudebuster": textstring[0] = stringsetloc(
AND LAST, WAS THE GIRL.#AT LAST, WAS THE GIRL.
"AND LAST, WAS THE GIRL.#AT LAST, WAS THE GIRL.", "scr_prophecytext_slash_scr_prophecytext_gml_119_0"
);
break; ...
(extflag), 0);
308
            for (var i = 1; i <= string_length(mytext); i++)
309
            {
310
                if (string_char_at(mytext, i) == "#" || string_char_at(mytext, i) == "\n")
311
                    proptextlinecount++;
312
            }
313
        }
314
        if (global.lang == "ja")
315
            textyoffset -= (16 * proptextlinecount);
316
        if (global.lang == "en")
317
        {
318
            if (extflag == "heroes1")
319
                textyoffset += 8;
320
        }
321
        if (global.lang == "ja")
322
        {
323
            if (extflag == "heroes1")
324
                textyoffset += 24;
325
            if (extflag == "heroes4")
326
                textyoffset += 16;
327
            if (extflag == "rudebuster")
328
                textyoffset += 8;
329
            if (extflag == "heroes2")
330
                textyoffset += 8;
331
            if (extflag == "laststory")
332
                textyoffset += 20;
333
            if (extflag == "savetheworlds")
334
                textyoffset += 22;
335
            if (room == room_dw_churchc_titanclimb2_post)
336
                textyoffset += 12;
337
            if (room == room_dw_churchc_final_prophecy)
338
            {
339
                if (extflag == "end5")
340
                    textyoffset += 16;
341
            }
342
        }
343
        draw_set_blend_mode(bm_add);
344
        draw_surface_ext(surf0, (x - width) + xsin + textxoffset, (y - height) + ysin + textyoffset, 2, 2, angle, c_white, image_alpha);
345
        draw_surface_ext(surf0, (x - width) + xsin + textxoffset, (y - height) + ysin + textyoffset, 2, 2, angle, c_white, image_alpha);
346
        draw_set_blend_mode(bm_normal);
347
    }
348
}
349
actuallyactive = onscreen;