Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_pink_enemy_Step_0

related scripts: Alarm_4Alarm_6CleanUp_0Create_0Draw_0Other_10Other_11Other_12Other_22Step_0

(view raw script w/o annotations or w/e)
1
global.monsterhp[myself] = global.monstermaxhp[myself];
2
if (datecount == 3)
3
    global.monsterhp[myself] = global.monstermaxhp[myself] * 0.33;
4
if (datecount >= 2)
5
{
6
    dokimax = 20;
7
    with (obj_date_ui)
8
        dokimax = 20;
9
}
10
if (
scr_debug
scr_debug

function
scr_debug()
{ return global.debug == 1; }
() && keyboard_check_pressed(vk_f1))
11
{
12
    doki = dokimax;
13
    with (obj_date_ui)
14
    {
15
        current = dokimax;
16
        show_doki_bar = true;
17
    }
18
}
19
if (
scr_debug
scr_debug

function
scr_debug()
{ return global.debug == 1; }
() && keyboard_check_pressed(vk_f7))
20
{
21
    with (obj_tensionbar)
22
    {
23
        maxtensionlimitpercent = 100;
24
        maxtensionlimit = 250;
25
    }
26
}
27
if (
scr_debug
scr_debug

function
scr_debug()
{ return global.debug == 1; }
() && keyboard_check_pressed(ord("I")))
28
{
29
    datecount++;
30
    if (datecount > 3)
31
        datecount = 3;
32
    if (datecount == 2)
33
    {
34
        with (obj_heroralsei)
35
            defeatsprite = spr_ralsei_kneel;
36
    }
37
    if (datecount >= 2 && ghostintrocon == 0)
38
        ghostintrocon = 1;
39
    phaseturns = 0;
40
    if (datecount == 3)
41
    {
42
        turnredcon = 1;
43
        mus_volume(global.batmusic[0], 0, 15);
44
        mus_volume(global.batmusic[1], 0, 15);
45
        global.actsimul[myself][1] = 0;
46
        global.actsimulsus[myself][0] = 0;
47
        global.actsimulral[myself][0] = 0;
48
        global.actsimul[myself][2] = 0;
49
        global.actsimulsus[myself][1] = 0;
50
        global.actsimulral[myself][1] = 0;
51
    }
52
}
53
if (introcon == 0)
54
{
55
    global.typer = 50;
56
    msgset(0, pink_battle_dialogue1);
57
    
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x, global.monstery[myself] - 20, 10);
58
    talked = 0.4;
59
    ballooncon = 1;
60
    introcon = 1;
61
    global.charturn = 3;
62
}
63
if (damagedialogue == 1)
64
{
65
    talktimer++;
66
    if (talktimer >= 10)
67
    {
68
        snd_stop(snd_pink_laugh_short);
69
        snd_stop(snd_pink_laugh_long);
70
        snd_play_x(snd_pink_laugh_short, 1, 1);
71
        global.typer = 50;
72
        msgsetloc(0, 
This body is
invincible,Delay 11 you fool!!!Wait for inputClose Message
"This body is&invincible^1, you fool!!!/%", "obj_pink_enemy_slash_Step_0_gml_29_0"
);
73
        
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 10, global.monstery[myself] - 10, 10);
74
        idlesprite = spr_pink_front_ohoho;
75
        damagedialogue = 2;
76
        talktimer = 0;
77
    }
78
}
79
if (damagedialogue == 2)
80
{
81
    talktimer++;
82
    if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
83
    {
84
        with (obj_writer)
85
            instance_destroy();
86
        idlesprite = spr_pink_idle;
87
        damagedialogue = 3;
88
    }
89
}
90
if (phase4introcon == 1)
91
{
92
    phase4introtimer++;
93
    if (phase4introtimer == 1)
94
        global.charturn = 3;
95
    if (phase4introtimer == 30)
96
    {
97
        global.typer = 50;
98
        msgset(0, pink_battle_dialogue42);
99
        blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 200, global.monstery[myself] - 30, 18);
100
        blcon.mywriter.shake = 2;
101
        idlesprite = spr_pink_very_hurt;
102
        electricity_con = 1;
103
        ballooncon = 24;
104
        balloonend = 0;
105
        talked = 0.6;
106
        phase4introcon = 2;
107
    }
108
}
109
if (phase4introcon == 3 && !i_ex(obj_writer))
110
    phase4introcon = 0;
111
if (datecount > 0 || (datecount == 0 && phaseturns >= 3))
112
{
113
    with (obj_date_ui)
114
        show_doki_bar = true;
115
}
116
if (global.monster[myself] == 1)
117
{
118
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && talked == 0 && explosioncon == 0 && ghostintrocon != 1 && (damagedialogue == 0 || damagedialogue == 3))
119
    {
120
        if (i_ex(obj_date_ui) && obj_date_ui.con == 1)
121
            exit;
122
        global.typer = 50;
123
        if (looping == false && datecount == 1 && phaseturns == 2 && doki < dokimax)
124
        {
125
            if (balloon_timer == 0)
126
            {
127
                msgset(0, pink_battle_dialogue26);
128
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 30, global.monstery[myself] - 70, 18);
129
                blcon.notail = true;
130
            }
131
            if (balloon_timer == 20)
132
            {
133
                msgset(0, pink_battle_dialogue27);
134
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 17, global.monstery[myself] - 30, 18);
135
                blcon.notail = true;
136
                pink_bg_con = 3;
137
            }
138
            balloon_timer++;
139
            if (balloon_timer == 40)
140
                balloon_timer = 0;
141
            else
142
                exit;
143
        }
144
        var __len = 70;
145
        if (looping == false && datecount == 1 && phaseturns == 3)
146
        {
147
            if (balloon_timer == 0)
148
            {
149
                msgset(0, pink_battle_dialogue28);
150
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 0)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 0), 18);
151
                blcon.shakecon = 1;
152
                blcon.notail = true;
153
            }
154
            if (balloon_timer == 10)
155
            {
156
                msgset(0, pink_battle_dialogue29);
157
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 40)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 40), 18);
158
                blcon.shakecon = 1;
159
                blcon.notail = true;
160
            }
161
            if (balloon_timer == 20)
162
            {
163
                msgset(0, pink_battle_dialogue30);
164
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 80)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 80), 18);
165
                blcon.shakecon = 1;
166
                blcon.notail = true;
167
            }
168
            if (balloon_timer == 30)
169
            {
170
                msgset(0, pink_battle_dialogue31);
171
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 120)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 120), 18);
172
                blcon.shakecon = 1;
173
                blcon.notail = true;
174
            }
175
            if (balloon_timer == 40)
176
            {
177
                msgset(0, pink_battle_dialogue32);
178
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 160)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 160), 18);
179
                blcon.shakecon = 1;
180
                blcon.notail = true;
181
            }
182
            if (balloon_timer == 50)
183
            {
184
                msgset(0, pink_battle_dialogue32b);
185
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 200)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 200), 18);
186
                blcon.shakecon = 1;
187
                blcon.notail = true;
188
            }
189
            if (balloon_timer == 60)
190
            {
191
                msgset(0, pink_battle_dialogue32c);
192
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 240)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 240), 18);
193
                blcon.shakecon = 1;
194
                blcon.notail = true;
195
            }
196
            if (balloon_timer == 70)
197
            {
198
                msgset(0, pink_battle_dialogue32d);
199
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x + lengthdir_x(__len, 280)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 280), 18);
200
                blcon.shakecon = 1;
201
                blcon.notail = true;
202
            }
203
            if (balloon_timer == 20)
204
            {
205
                idlesprite = spr_mew_stomp;
206
                siner = 0;
207
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
208
                snd_play(snd_pink_throw2);
209
            }
210
            if (balloon_timer == 90)
211
            {
212
                idlesprite = spr_mew_stomp_angrier;
213
                siner = 1;
214
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
215
                snd_play(snd_impact);
216
                
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4)
{ with (instance_create(x, y, obj_shake)) { shakex = arg0; shakey = arg0; } }
();
217
                snd_stop(snd_punchweak);
218
                snd_play_x(snd_punchweak, 1, 1.3);
219
                with (obj_battleblcon)
220
                {
221
                    instance_destroy();
222
                    with (mywriter)
223
                        instance_destroy();
224
                    if (sprite_index == spr_pink_balloon1)
225
                    {
226
                        inst = instance_create_depth(x + 47, y + 30, -99999999, obj_animation);
227
                        inst.sprite_index = spr_heart_pop;
228
                        inst.image_blend = make_color_rgb(255, 181, 153);
229
                        inst.image_speed = 0.5;
230
                        inst.image_xscale = 3;
231
                        inst.image_yscale = 3;
232
                    }
233
                }
234
            }
235
            balloon_timer++;
236
            if (balloon_timer == 150)
237
                balloon_timer = 0;
238
            else
239
                exit;
240
        }
241
        
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; } }
();
242
        event_user(0);
243
        if (!instance_exists(obj_darkener))
244
            instance_create(0, 0, obj_darkener);
245
        var _who_is_talking = "pink";
246
        if (looping == false || doki >= dokimax)
247
        {
248
            if (datecount == 0)
249
            {
250
                if (doki >= dokimax)
251
                {
252
                    msgset(0, pink_battle_dialogue19h);
253
                    ballooncon = 9.6;
254
                    balloonend = 0;
255
                    dateflashsiner = 0;
256
                    electricity_con = 1;
257
                    dateflashcon = 1;
258
                    idlesprite = spr_pink_shocked;
259
                    siner = 0;
260
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
261
                    with (obj_date_ui)
262
                        blushcon = 1;
263
                    _who_is_talking = "body";
264
                }
265
                else if (phaseturns == 0)
266
                {
267
                    msgset(0, pink_battle_dialogue10);
268
                    ballooncon = 5;
269
                    balloonend = 0;
270
                    idlesprite = spr_pink_laugh;
271
                    snd_stop(snd_pink_laugh_short);
272
                    snd_stop(snd_pink_laugh_long);
273
                    snd_play_x(snd_pink_laugh_short, 1, 1);
274
                }
275
                else if (phaseturns == 1)
276
                {
277
                    msgset(0, pink_battle_dialogue12);
278
                    ballooncon = 6;
279
                    balloonend = 0;
280
                }
281
                else if (phaseturns == 2)
282
                {
283
                    msgset(0, pink_battle_dialogue14);
284
                    ballooncon = 7;
285
                    balloonend = 0;
286
                }
287
                else if (phaseturns == 3 && doki > 0)
288
                {
289
                    msgset(0, pink_battle_dialogue17);
290
                    ballooncon = 8;
291
                    balloonend = 0;
292
                    idlesprite = spr_pink_front_angry;
293
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
294
                    snd_play(snd_pink_throw2);
295
                }
296
                else if (phaseturns == 3 && doki == 0)
297
                {
298
                    msgset(0, pink_battle_dialogue19b);
299
                    ballooncon = 9.2;
300
                    balloonend = 0;
301
                    idlesprite = spr_pink_front_ohoho;
302
                    snd_stop(snd_pink_throw2);
303
                    snd_stop(snd_pink_laugh_short);
304
                    snd_stop(snd_pink_laugh_long);
305
                    snd_play(snd_pink_laugh_short);
306
                }
307
                else if (phaseturns == 4)
308
                {
309
                    msgset(0, pink_battle_dialogue19e);
310
                    ballooncon = 9.4;
311
                    balloonend = 0;
312
                    idlesprite = spr_pink_shocked;
313
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
314
                    snd_stop(snd_pink_laugh_short);
315
                    snd_stop(snd_pink_laugh_long);
316
                    snd_play(snd_pink_gasp);
317
                }
318
            }
319
            if (datecount == 1)
320
            {
321
                if (doki >= dokimax)
322
                {
323
                    msgset(0, pink_battle_dialogue32g);
324
                    ballooncon = 17;
325
                    balloonend = 0;
326
                    electricity_con = 1;
327
                    idlesprite = spr_pink_shocked;
328
                    siner = 1;
329
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
330
                    _who_is_talking = "body";
331
                }
332
                else if (phaseturns == 0)
333
                {
334
                    msgset(0, pink_battle_dialogue20);
335
                    ballooncon = 10;
336
                    balloonend = 0;
337
                    idlesprite = spr_pink_yelling;
338
                    siner = 1;
339
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
340
                    snd_play_x(snd_pink_gasp, 1, 1);
341
                }
342
                else if (phaseturns == 1)
343
                {
344
                    msgset(0, pink_battle_dialogue23);
345
                    ballooncon = 12;
346
                    balloonend = 0;
347
                    idlesprite = spr_mew_stomp;
348
                    siner = 0;
349
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
350
                    _who_is_talking = "body";
351
                }
352
                else if (phaseturns == 2)
353
                {
354
                    msgset(0, pink_battle_dialogue27b);
355
                    ballooncon = 14;
356
                    balloonend = 0;
357
                    blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 36, global.monstery[myself] + 25, 18);
358
                    blcon.x -= 10;
359
                    blcon.shakecon = 1;
360
                    blcon.notail = true;
361
                    _who_is_talking = "";
362
                }
363
                else if (phaseturns == 3)
364
                {
365
                    msgset(0, pink_battle_dialogue32e);
366
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
367
                    ballooncon = 15;
368
                    balloonend = 0;
369
                    idlesprite = spr_mew_stomp;
370
                    siner = 0;
371
                }
372
            }
373
            if (datecount == 2)
374
            {
375
                if (doki >= dokimax)
376
                {
377
                    msgset(0, pink_battle_dialogue_new_p3_1);
378
                    tripleghostcon = 1;
379
                    ballooncon = 23.3;
380
                    balloonend = 0;
381
                    _who_is_talking = "ghost";
382
                    with (obj_date_ui)
383
                        con = 1;
384
                }
385
                else if (phaseturns == 0)
386
                {
387
                    msgset(0, pink_battle_dialogue33);
388
                    ballooncon = 19;
389
                    balloonend = 0;
390
                    turnredcon = 1;
391
                    turnredtimer = 0;
392
                    _who_is_talking = "ghost";
393
                }
394
                else if (phaseturns == 1)
395
                {
396
                    msgset(0, pink_battle_dialogue36);
397
                    ballooncon = 21;
398
                    balloonend = 0;
399
                    _who_is_talking = "body";
400
                }
401
                else if (phaseturns == 2)
402
                {
403
                    msgset(0, pink_battle_dialogue41);
404
                    ballooncon = 22;
405
                    balloonend = 0;
406
                    _who_is_talking = "ralsei";
407
                }
408
                else if (phaseturns == 3)
409
                {
410
                    msgset(0, pink_battle_dialogue41d);
411
                    ballooncon = 23.1;
412
                    balloonend = 0;
413
                    _who_is_talking = "ghost";
414
                    looping = true;
415
                }
416
            }
417
            if (datecount == 3)
418
            {
419
                if (phaseturns > 2)
420
                    phaseturns = 2;
421
                if (phaseturns == 2)
422
                {
423
                    doki = 20;
424
                    with (obj_date_ui)
425
                        electricity_con = 1;
426
                    msgset(0, pink_battle_dialogue62);
427
                    ballooncon = 38;
428
                    balloonend = 0;
429
                    _who_is_talking = "ghost";
430
                }
431
                else if (phaseturns == 0)
432
                {
433
                    msgset(0, pink_battle_dialogue49);
434
                    ballooncon = 30;
435
                    balloonend = 0;
436
                    _who_is_talking = "body";
437
                    idlesprite = spr_pink_very_hurt;
438
                }
439
                else if (phaseturns == 1)
440
                {
441
                    msgset(0, pink_battle_dialogue52);
442
                    ballooncon = 32;
443
                    balloonend = 0;
444
                    _who_is_talking = "ghost";
445
                }
446
            }
447
        }
448
        else if (datecount == 2)
449
        {
450
            var _rr = choose(0, 1, 2, 3, 4, 5, 6, 7);
451
            if (_rr == 0)
452
            {
453
                msgset(0, pink_battle_dialogue6b);
454
                ballooncon = 0;
455
                balloonend = 1;
456
                _who_is_talking = "ghost";
457
            }
458
            if (_rr == 1)
459
            {
460
                msgset(0, pink_battle_dialogue6c);
461
                ballooncon = 0;
462
                balloonend = 1;
463
                _who_is_talking = "ghost";
464
            }
465
            if (_rr == 2)
466
            {
467
                msgset(0, pink_battle_dialogue6d);
468
                ballooncon = 0;
469
                balloonend = 1;
470
                _who_is_talking = "ghost";
471
            }
472
            if (_rr == 3)
473
            {
474
                msgset(0, pink_battle_dialogue6e);
475
                ballooncon = 0;
476
                balloonend = 1;
477
                _who_is_talking = "ghost";
478
            }
479
            if (_rr == 4)
480
            {
481
                msgset(0, pink_battle_dialogue6f);
482
                ballooncon = 0;
483
                balloonend = 1;
484
                _who_is_talking = "body";
485
            }
486
            if (_rr == 5)
487
            {
488
                msgset(0, pink_battle_dialogue6g);
489
                ballooncon = 0;
490
                balloonend = 1;
491
                _who_is_talking = "body";
492
            }
493
            if (_rr == 6)
494
            {
495
                msgset(0, pink_battle_dialogue6h);
496
                ballooncon = 0;
497
                balloonend = 1;
498
                _who_is_talking = "body";
499
            }
500
            if (_rr == 7)
501
            {
502
                msgset(0, pink_battle_dialogue6i);
503
                ballooncon = 0;
504
                balloonend = 1;
505
                _who_is_talking = "body";
506
            }
507
        }
508
        else
509
        {
510
            var _rr = choose(0, 1, 2, 3);
511
            if (_rr == 0)
512
            {
513
                msgset(0, pink_battle_dialogue6);
514
                ballooncon = 0;
515
                balloonend = 1;
516
            }
517
            if (_rr == 1)
518
            {
519
                msgset(0, pink_battle_dialogue7);
520
                ballooncon = 0;
521
                balloonend = 1;
522
            }
523
            if (_rr == 2)
524
            {
525
                msgset(0, pink_battle_dialogue8);
526
                ballooncon = 0;
527
                balloonend = 1;
528
            }
529
            if (_rr == 3)
530
            {
531
                msgset(0, pink_battle_dialogue9);
532
                ballooncon = 0;
533
                balloonend = 1;
534
            }
535
        }
536
        phaseturns++;
537
        var __x = 0;
538
        if (idlesprite == spr_mew_pushing)
539
            __x = 12;
540
        if (_who_is_talking == "pink")
541
        {
542
            blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x - 10) + __x, y + 40, 10);
543
            if (datecount == 3)
544
                blcon.mywriter.shake = 2;
545
        }
546
        else if (_who_is_talking == "body")
547
        {
548
            blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x - 180) + __x, y - 10, 18);
549
            if (datecount == 3)
550
                blcon.mywriter.shake = 2;
551
        }
552
        else if (_who_is_talking == "ghost")
553
        {
554
            blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(ghostmarker.x, ghostmarker.y - 60, 22);
555
            if (datecount == 3)
556
                blcon.mywriter.shake = 2;
557
        }
558
        else if (_who_is_talking == "ralsei")
559
        {
560
            global.typer = 74;
561
            
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("ralsei");
562
            if (global.hp[3] > 0)
563
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_idle_mad_lookdown, 0.16666666666666666, true);
564
        }
565
        else if (_who_is_talking == "susie")
566
        {
567
            global.typer = 75;
568
            
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("susie");
569
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
570
        }
571
        if (ballooncon == 1)
572
            talked = 0.4;
573
        else if (ballooncon == 0)
574
            talked = 0.5;
575
        else
576
            talked = 0.6;
577
        talktimer = 0;
578
        rtimer = 0;
579
        setbattlemsg = false;
580
    }
581
    if (talked == 0.5)
582
    {
583
        talktimer++;
584
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
585
        {
586
            with (obj_writer)
587
                instance_destroy();
588
            alarm[6]
 = 1;
gml_Object_obj_pink_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; } if (introcon == 1) introcon = 2; if (introcon == 1) introcon = 2;
589
        }
590
    }
591
    if (talked == 0.6 && ghostintrocon != 1)
592
    {
593
        talktimer++;
594
        if (((button3_p() && talktimer > 15) || (!i_ex(obj_writer) && !i_ex(obj_shutupballoon))) || (ballooncon == 14 && talktimer >= 15) || (ballooncon == 14.1 && talktimer >= 15))
595
        {
596
            var _who_is_talking = "pink";
597
            if (ballooncon != 14 && ballooncon != 14.1)
598
            {
599
                with (obj_writer)
600
                    instance_destroy();
601
            }
602
            global.typer = 50;
603
            if (ballooncon == 9.3)
604
            {
605
                with (obj_marker_doomed)
606
                    image_alpha = lerp(image_alpha, 0, 0.3);
607
                with (obj_pink_spotlight)
608
                    image_alpha = lerp(image_alpha, 0, 0.3);
609
                with (obj_pink_dummy)
610
                {
611
                    if (type == "bg")
612
                        yoffset = lerp(yoffset, 0, 0.1);
613
                    if (type == "fg")
614
                        yoffset = lerp(yoffset, 0, 0.1);
615
                }
616
                with (obj_mewers_live)
617
                    y = lerp(y, ystart - 90, 0.1);
618
                balloon_timer++;
619
                if (balloon_timer == 1)
620
                    
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 1);
621
                if (balloon_timer > 1 && balloon_timer < 60)
622
                    siner = 0;
623
                if (balloon_timer == 60)
624
                {
625
                    idlesprite = spr_pink_sweat_drop;
626
                    siner = 0;
627
                    snd_play(snd_awkward);
628
                }
629
                if (balloon_timer == 60)
630
                    balloon_timer = 0;
631
                else
632
                    exit;
633
            }
634
            if (ballooncon == 9.7)
635
            {
636
                balloon_timer++;
637
                if (balloon_timer == 1)
638
                {
639
                    with (obj_date_ui)
640
                        con = 1;
641
                }
642
                if (balloon_timer == 14)
643
                {
644
                    idlesprite = spr_pink_shocked_r;
645
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
646
                    snd_stop(snd_pink_throw2);
647
                    snd_stop(snd_pink_laugh_short);
648
                    snd_stop(snd_pink_gasp);
649
                    snd_stop(snd_pink_laugh_long);
650
                    snd_play(snd_pink_gasp);
651
                }
652
                if (balloon_timer == 45)
653
                {
654
                    idlesprite = spr_pink_run;
655
                    speed = 10;
656
                    direction = 180;
657
                    friction = 1;
658
                }
659
                if (balloon_timer == 55)
660
                {
661
                    speed = 20;
662
                    direction = 0;
663
                    friction = 0;
664
                }
665
                if (balloon_timer == 60)
666
                {
667
                    idlesprite = spr_mew_pushing;
668
                    speed = 0;
669
                    x -= 8;
670
                    siner = 0;
671
                }
672
                if (balloon_timer == 60)
673
                    balloon_timer = 0;
674
                else
675
                    exit;
676
            }
677
            if (ballooncon == 14.2)
678
            {
679
                balloon_timer++;
680
                if (balloon_timer == 1)
681
                {
682
                    siner = 0;
683
                    idlesprite = spr_mew_kick_r;
684
                    x = xstart;
685
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
686
                    snd_play(snd_wing);
687
                }
688
                if (balloon_timer == 11)
689
                {
690
                    siner = 1;
691
                    direction = 0;
692
                    x = xstart;
693
                    speed = 20;
694
                    friction = 3;
695
                    snd_stop(snd_pink_throw2);
696
                    snd_stop(snd_pink_laugh_short);
697
                    snd_stop(snd_pink_gasp);
698
                    snd_stop(snd_pink_laugh_long);
699
                    snd_play(snd_pink_throw2);
700
                }
701
                if (balloon_timer == 14)
702
                {
703
                    siner = 2;
704
                    speed = 0;
705
                    snd_play(snd_impact);
706
                    with (obj_date_ui)
707
                        dokishaketimer = 8;
708
                }
709
                if (balloon_timer == 45)
710
                {
711
                    balloon_timer = 0;
712
                    idlesprite = spr_pink_idle;
713
                    x = xstart;
714
                    y = ystart;
715
                }
716
                else
717
                {
718
                    exit;
719
                }
720
            }
721
            if (ballooncon == 18.1)
722
            {
723
                balloon_timer++;
724
                if (balloon_timer == 1)
725
                {
726
                    with (obj_date_ui)
727
                        con = 1;
728
                    balloon_timer = 10;
729
                }
730
                if (balloon_timer == 10)
731
                {
732
                    idlesprite = spr_pink_shocked_r;
733
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
734
                    snd_stop(snd_pink_throw2);
735
                    snd_stop(snd_pink_laugh_short);
736
                    snd_stop(snd_pink_gasp);
737
                    snd_stop(snd_pink_laugh_long);
738
                    snd_play(snd_pink_gasp);
739
                }
740
                if (balloon_timer == 40)
741
                {
742
                    siner = 0;
743
                    idlesprite = spr_mew_kick;
744
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
745
                    snd_stop(snd_pink_throw2);
746
                    snd_stop(snd_pink_laugh_short);
747
                    snd_stop(snd_pink_gasp);
748
                    snd_stop(snd_pink_laugh_long);
749
                    snd_play(snd_wing);
750
                }
751
                if (balloon_timer == 50)
752
                {
753
                    siner = 1;
754
                    direction = 225;
755
                    speed = 10;
756
                    friction = 1;
757
                    snd_stop(snd_pink_throw2);
758
                    snd_stop(snd_pink_laugh_short);
759
                    snd_stop(snd_pink_gasp);
760
                    snd_stop(snd_pink_laugh_long);
761
                    snd_play(snd_pink_throw2);
762
                }
763
                if (balloon_timer == 53)
764
                {
765
                    siner = 2;
766
                    with (obj_date_ui)
767
                        weatherkick_con = 1;
768
                }
769
                if (balloon_timer == 70)
770
                {
771
                    siner = 0;
772
                    idlesprite = spr_mew_kick;
773
                    
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
774
                    snd_stop(snd_pink_throw2);
775
                    snd_stop(snd_pink_laugh_short);
776
                    snd_stop(snd_pink_gasp);
777
                    snd_stop(snd_pink_laugh_long);
778
                    snd_play(snd_wing);
779
                }
780
                if (balloon_timer == 80)
781
                {
782
                    siner = 1;
783
                    direction = 110;
784
                    speed = 21;
785
                    friction = 2;
786
                    snd_stop(snd_pink_throw2);
787
                    snd_stop(snd_pink_laugh_short);
788
                    snd_stop(snd_pink_gasp);
789
                    snd_stop(snd_pink_laugh_long);
790
                    snd_play(snd_pink_throw2);
791
                }
792
                if (balloon_timer == 85)
793
                {
794
                    siner = 2;
795
                    with (obj_date_ui)
796
                        populationkick_con = 1;
797
                }
798
                if (balloon_timer >= 100)
799
                    balloon_timer = 0;
800
                else
801
                    exit;
802
            }
803
            if (ballooncon == 18.2)
804
            {
805
                balloon_timer++;
806
                if (balloon_timer == 1)
807
                {
808
                    siner = 0;
809
                    idlesprite = spr_pink_walk_right;
810
                }
811
                if (balloon_timer < 8)
812
                {
813
                    x = lerp(camerax() + 434, camerax() + 490, balloon_timer / 7);
814
                    y = lerp(cameray() + 70, cameray() + 162, balloon_timer / 7);
815
                }
816
                if (balloon_timer == 8)
817
                {
818
                    siner = 0;
819
                    idlesprite = spr_pink_yelling_r;
820
                }
821
                if (balloon_timer >= 8)
822
                    balloon_timer = 0;
823
                else
824
                    exit;
825
            }
826
            if (ballooncon == 2)
827
            {
828
                msgset(0, pink_battle_dialogue2);
829
                ballooncon = 3;
830
                balloonend = 0;
831
                
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 105, (global.monstery[myself] - 119) + 30, 14);
832
                _who_is_talking = "none";
833
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
834
            }
835
            else if (ballooncon == 3)
836
            {
837
                msgset(0, pink_battle_dialogue3);
838
                ballooncon = 4;
839
                balloonend = 0;
840
                
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 105, (global.monstery[myself] - 119) + 30, 14);
841
                _who_is_talking = "none";
842
                idlesprite = spr_mew_stomp;
843
                siner = 1;
844
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
845
            }
846
            else if (ballooncon == 4)
847
            {
848
                msgset(0, pink_battle_dialogue4);
849
                ballooncon = 0;
850
                balloonend = 1;
851
                
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 105, (global.monstery[myself] - 119) + 30, 14);
852
                _who_is_talking = "none";
853
                introcon = 1;
854
                idlesprite = spr_pink_laugh;
855
                siner = 0;
856
                snd_stop(snd_pink_laugh_short);
857
                snd_stop(snd_pink_laugh_long);
858
                snd_play(snd_pink_laugh_short);
859
            }
860
            else if (ballooncon == 5)
861
            {
862
                msgset(0, pink_battle_dialogue11);
863
                ballooncon = 0;
864
                balloonend = 1;
865
            }
866
            else if (ballooncon == 6)
867
            {
868
                msgset(0, pink_battle_dialogue13);
869
                ballooncon = 6.1;
870
                balloonend = 0;
871
                idlesprite = spr_pink_kneeling_sad;
872
                siner = 1;
873
                snd_play(snd_pink_throw2);
874
            }
875
            else if (ballooncon == 6.1)
876
            {
877
                msgset(0, pink_battle_dialogue13b);
878
                ballooncon = 6.2;
879
                balloonend = 0;
880
                idlesprite = spr_pink_laugh;
881
                siner = 0;
882
                snd_stop(snd_pink_throw2);
883
                snd_play(snd_pink_laugh_long);
884
            }
885
            else if (ballooncon == 6.2)
886
            {
887
                msgset(0, pink_battle_dialogue13c);
888
                with (obj_date_ui)
889
                    show_doki_bar = true;
890
                ballooncon = 6.3;
891
                balloonend = 0;
892
                idlesprite = spr_pink_sweat_drop;
893
                siner = 0;
894
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
895
            }
896
            else if (ballooncon == 6.3)
897
            {
898
                msgset(0, pink_battle_dialogue13d);
899
                ballooncon = 0;
900
                balloonend = 1;
901
            }
902
            else if (ballooncon == 7)
903
            {
904
                msgset(0, pink_battle_dialogue15);
905
                ballooncon = 7.1;
906
                balloonend = 0;
907
            }
908
            else if (ballooncon == 7.1)
909
            {
910
                msgset(0, pink_battle_dialogue16);
911
                ballooncon = 7.2;
912
                balloonend = 0;
913
            }
914
            else if (ballooncon == 7.2)
915
            {
916
                msgset(0, pink_battle_dialogue16b);
917
                electricity_con = 1;
918
                ballooncon = 0;
919
                balloonend = 1;
920
                _who_is_talking = "body";
921
                idlesprite = spr_pink_shocked;
922
                siner = 0;
923
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
924
            }
925
            else if (ballooncon == 8)
926
            {
927
                msgset(0, pink_battle_dialogue18);
928
                ballooncon = 9;
929
                balloonend = 0;
930
                idlesprite = spr_pink_front_sweat;
931
                siner = 0;
932
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
933
                snd_play(snd_pink_throw2);
934
            }
935
            else if (ballooncon == 9)
936
            {
937
                msgset(0, pink_battle_dialogue19);
938
                ballooncon = 0;
939
                balloonend = 1;
940
                idlesprite = spr_pink_front_angry;
941
                siner = 0;
942
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
943
                snd_play(snd_pink_throw2);
944
            }
945
            else if (ballooncon == 9.2)
946
            {
947
                msgset(0, pink_battle_dialogue19c);
948
                ballooncon = 9.3;
949
                balloonend = 0;
950
                idlesprite = spr_pink_laugh;
951
                siner = 0;
952
                snd_stop(snd_pink_throw2);
953
                snd_stop(snd_pink_laugh_short);
954
                snd_stop(snd_pink_gasp);
955
                snd_stop(snd_pink_laugh_long);
956
                snd_play(snd_pink_laugh_long);
957
            }
958
            else if (ballooncon == 9.3)
959
            {
960
                msgset(0, pink_battle_dialogue19d);
961
                ballooncon = 0;
962
                balloonend = 1;
963
            }
964
            else if (ballooncon == 9.4)
965
            {
966
                msgset(0, pink_battle_dialogue19f);
967
                ballooncon = 9.5;
968
                balloonend = 0;
969
            }
970
            else if (ballooncon == 9.5)
971
            {
972
                msgset(0, pink_battle_dialogue19g);
973
                ballooncon = 0;
974
                balloonend = 1;
975
            }
976
            else if (ballooncon == 9.6)
977
            {
978
                msgset(0, pink_battle_dialogue19i);
979
                ballooncon = 9.7;
980
                balloonend = 0;
981
                electricity_con = 0;
982
                electricity_timer = 0;
983
            }
984
            else if (ballooncon == 9.7)
985
            {
986
                msgset(0, pink_battle_dialogue19j);
987
                ballooncon = 9.8;
988
                balloonend = 0;
989
            }
990
            else if (ballooncon == 9.8)
991
            {
992
                msgset(0, pink_battle_dialogue19k);
993
                ballooncon = 9.9;
994
                balloonend = 0;
995
                _who_is_talking = "body";
996
            }
997
            else if (ballooncon == 9.9)
998
            {
999
                msgset(0, pink_battle_dialogue19l);
1000
                global.mnfight = 1.5;
1001
                ballooncon = 0;
1002
                balloonend = 1;
1003
                x -= 10;
1004
                idlesprite = spr_pink_shocked;
1005
                siner = 0;
1006
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1007
                snd_play(snd_pink_throw2);
1008
            }
1009
            else if (ballooncon == 10)
1010
            {
1011
                msgset(0, pink_battle_dialogue21);
1012
                ballooncon = 11;
1013
                balloonend = 0;
1014
                electricity_con = 1;
1015
                idlesprite = spr_pink_shocked;
1016
                _who_is_talking = "body";
1017
            }
1018
            else if (ballooncon == 11)
1019
            {
1020
                msgset(0, pink_battle_dialogue22);
1021
                ballooncon = 0;
1022
                balloonend = 1;
1023
                electricity_con = 0;
1024
                electricity_timer = 0;
1025
                idlesprite = spr_pink_front_sweat;
1026
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1027
                snd_stop(snd_pink_throw2);
1028
                snd_stop(snd_pink_laugh_short);
1029
                snd_stop(snd_pink_gasp);
1030
                snd_stop(snd_pink_laugh_long);
1031
                snd_play(snd_pink_throw2);
1032
            }
1033
            else if (ballooncon == 12)
1034
            {
1035
                msgset(0, pink_battle_dialogue24);
1036
                ballooncon = 13;
1037
                balloonend = 0;
1038
                siner = 1;
1039
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1040
                snd_play(snd_impact);
1041
                
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4)
{ with (instance_create(x, y, obj_shake)) { shakex = arg0; shakey = arg0; } }
();
1042
            }
1043
            else if (ballooncon == 13)
1044
            {
1045
                msgset(0, pink_battle_dialogue25);
1046
                ballooncon = 13.1;
1047
                balloonend = 1;
1048
                siner = 1;
1049
                idlesprite = spr_pink_yelling;
1050
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1051
            }
1052
            else if (ballooncon == 14)
1053
            {
1054
                msgset(0, pink_battle_dialogue27c);
1055
                ballooncon = 14.1;
1056
                balloonend = 0;
1057
                idlesprite = spr_pink_front_angry_blink;
1058
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1059
                snd_play_x(snd_pink_gasp, 1, 1);
1060
            }
1061
            else if (ballooncon == 14.1)
1062
            {
1063
                instance_create(x - 230, global.monstery[myself] - 40, obj_shutupballoon);
1064
                ballooncon = 14.2;
1065
                balloonend = 0;
1066
                electricity_con = 1;
1067
                idlesprite = spr_mew_stomp_angrier;
1068
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1069
                
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4)
{ with (instance_create(x, y, obj_shake)) { shakex = arg0; shakey = arg0; } }
();
1070
                snd_play_x(snd_punchheavythunder, 1, 1.3);
1071
                snd_play_x(snd_punchweak, 1, 1.3);
1072
                with (obj_battleblcon)
1073
                {
1074
                    instance_destroy();
1075
                    with (mywriter)
1076
                        instance_destroy();
1077
                    if (sprite_index == spr_pink_balloon1)
1078
                    {
1079
                        inst = instance_create_depth(x + 47, y + 30, -99999999, obj_animation);
1080
                        inst.sprite_index = spr_heart_pop;
1081
                        inst.image_blend = make_color_rgb(255, 181, 153);
1082
                        inst.image_speed = 0.5;
1083
                        inst.image_xscale = 3;
1084
                        inst.image_yscale = 3;
1085
                    }
1086
                }
1087
                _who_is_talking = "";
1088
            }
1089
            else if (ballooncon == 14.2)
1090
            {
1091
                msgset(0, pink_battle_dialogue27e);
1092
                ballooncon = 0;
1093
                balloonend = 1;
1094
                siner = 1;
1095
                electricity_con = 0;
1096
                electricity_timer = 0;
1097
            }
1098
            else if (ballooncon == 15)
1099
            {
1100
                msgset(0, pink_battle_dialogue32f);
1101
                ballooncon = 0;
1102
                balloonend = 1;
1103
                electricity_con = 1;
1104
                siner = 1;
1105
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1106
                snd_play(snd_pink_throw2);
1107
                snd_play(snd_impact);
1108
                
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4)
{ with (instance_create(x, y, obj_shake)) { shakex = arg0; shakey = arg0; } }
();
1109
            }
1110
            else if (ballooncon == 17)
1111
            {
1112
                msgset(0, pink_battle_dialogue32h);
1113
                ballooncon = 18;
1114
                balloonend = 0;
1115
                idlesprite = spr_pink_yelling;
1116
                siner = 0;
1117
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
1118
                snd_play(snd_pink_throw2);
1119
            }
1120
            else if (ballooncon == 18)
1121
            {
1122
                msgset(0, pink_battle_dialogue32i);
1123
                ballooncon = 18.1;
1124
                balloonend = 0;
1125
                _who_is_talking = "body";
1126
                idlesprite = spr_pink_idle;
1127
                siner = 0;
1128
            }
1129
            else if (ballooncon == 18.1)
1130
            {
1131
                msgset(0, pink_battle_dialogue32j);
1132
                ballooncon = 18.2;
1133
                balloonend = 0;
1134
                talked = 0.6;
1135
                
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 0, y + 40, 10);
1136
                _who_is_talking = "";
1137
            }
1138
            else if (ballooncon == 18.2)
1139
            {
1140
                msgset(0, pink_battle_dialogue32k);
1141
                ballooncon = 18.3;
1142
                balloonend = 1;
1143
                
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 10, y + 34, 10);
1144
                _who_is_talking = "";
1145
            }
1146
            else if (ballooncon == 19)
1147
            {
1148
                msgset(0, pink_battle_dialogue34);
1149
                ballooncon = 20;
1150
                balloonend = 0;
1151
                _who_is_talking = "body";
1152
            }
1153
            else if (ballooncon == 20)
1154
            {
1155
                msgset(0, pink_battle_dialogue35);
1156
                ballooncon = 0;
1157
                balloonend = 1;
1158
                _who_is_talking = "ghost";
1159
            }
1160
            else if (ballooncon == 21)
1161
            {
1162
                msgset(0, pink_battle_dialogue37);
1163
                ballooncon = 21.1;
1164
                balloonend = 0;
1165
                _who_is_talking = "ghost";
1166
            }
1167
            else if (ballooncon == 21.1)
1168
            {
1169
                msgset(0, pink_battle_dialogue38);
1170
                ballooncon = 21.2;
1171
                balloonend = 0;
1172
                _who_is_talking = "ralsei";
1173
            }
1174
            else if (ballooncon == 21.2)
1175
            {
1176
                msgset(0, pink_battle_dialogue39);
1177
                ballooncon = 21.3;
1178
                balloonend = 0;
1179
                _who_is_talking = "ralsei";
1180
            }
1181
            else if (ballooncon == 21.3)
1182
            {
1183
                msgset(0, pink_battle_dialogue40);
1184
                ballooncon = 0;
1185
                balloonend = 1;
1186
                _who_is_talking = "ghost";
1187
            }
1188
            else if (ballooncon == 22)
1189
            {
1190
                msgset(0, pink_battle_dialogue41b);
1191
                ballooncon = 23;
1192
                balloonend = 0;
1193
                _who_is_talking = "ralsei";
1194
            }
1195
            else if (ballooncon == 23)
1196
            {
1197
                msgset(0, pink_battle_dialogue41c);
1198
                ballooncon = 0;
1199
                balloonend = 1;
1200
                _who_is_talking = "ghost";
1201
            }
1202
            else if (ballooncon == 23.1)
1203
            {
1204
                msgset(0, pink_battle_dialogue41e);
1205
                ballooncon = 23.2;
1206
                balloonend = 0;
1207
                _who_is_talking = "ghost";
1208
            }
1209
            else if (ballooncon == 23.2)
1210
            {
1211
                msgset(0, pink_battle_dialogue41f);
1212
                ballooncon = 0;
1213
                balloonend = 1;
1214
                _who_is_talking = "body";
1215
            }
1216
            else if (ballooncon == 23.3)
1217
            {
1218
                msgset(0, pink_battle_dialogue_new_p3_2);
1219
                ballooncon = 23.4;
1220
                balloonend = 0;
1221
                _who_is_talking = "ghost";
1222
            }
1223
            else if (ballooncon == 23.4)
1224
            {
1225
                msgset(0, pink_battle_dialogue_new_p3_3);
1226
                ballooncon = 23.5;
1227
                balloonend = 0;
1228
                _who_is_talking = "ghost";
1229
            }
1230
            else if (ballooncon == 23.5)
1231
            {
1232
                msgset(0, pink_battle_dialogue_new_p3_4);
1233
                ballooncon = 0;
1234
                balloonend = 1;
1235
                _who_is_talking = "ghost";
1236
            }
1237
            else if (ballooncon == 24)
1238
            {
1239
                msgset(0, pink_battle_dialogue43);
1240
                ballooncon = 25;
1241
                balloonend = 0;
1242
                _who_is_talking = "ghost";
1243
            }
1244
            else if (ballooncon == 25)
1245
            {
1246
                msgset(0, pink_battle_dialogue44);
1247
                ballooncon = 26;
1248
                balloonend = 0;
1249
                _who_is_talking = "ralsei";
1250
                if (global.hp[3] < 1)
1251
                {
1252
                    star = 2;
1253
                    
scr_healitemspell
scr_healitemspell

function
scr_healitemspell(arg0)
{ var __healAmount = arg0;
scr_heal(star, __healAmount);
global.spelldelay = 15; with (global.charinstance[star]) { ha = instance_create(x, y, obj_healanim); ha.target = id; dmgwr =
scr_dmgwriter_selfchar();
with (dmgwr) { delay = 8; type = 3; damage = __healAmount; } if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) { with (dmgwr) specialmessage = 3; } tu += 1; return ha; } }
(abs(global.hp[3]) + 1);
1254
                    global.hp[3] = 1;
1255
                }
1256
            }
1257
            else if (ballooncon == 26)
1258
            {
1259
                msgset(0, pink_battle_dialogue45);
1260
                ballooncon = 27;
1261
                balloonend = 0;
1262
                _who_is_talking = "ralsei";
1263
            }
1264
            else if (ballooncon == 27)
1265
            {
1266
                msgset(0, pink_battle_dialogue46);
1267
                ballooncon = 28;
1268
                balloonend = 0;
1269
                _who_is_talking = "ghost";
1270
            }
1271
            else if (ballooncon == 28)
1272
            {
1273
                msgset(0, pink_battle_dialogue47);
1274
                ballooncon = 29;
1275
                balloonend = 0;
1276
                _who_is_talking = "ralsei";
1277
            }
1278
            else if (ballooncon == 29)
1279
            {
1280
                msgset(0, pink_battle_dialogue48);
1281
                ballooncon = 0;
1282
                balloonend = 1;
1283
                _who_is_talking = "ralsei";
1284
                phase4introcon = 3;
1285
                ralslookup = 1;
1286
            }
1287
            else if (ballooncon == 30)
1288
            {
1289
                msgset(0, pink_battle_dialogue50);
1290
                ballooncon = 31;
1291
                balloonend = 0;
1292
                _who_is_talking = "body";
1293
            }
1294
            else if (ballooncon == 31)
1295
            {
1296
                msgset(0, pink_battle_dialogue51);
1297
                ballooncon = 0;
1298
                balloonend = 1;
1299
                _who_is_talking = "body";
1300
                idlesprite = spr_pink_very_hurt;
1301
            }
1302
            else if (ballooncon == 32)
1303
            {
1304
                msgset(0, pink_battle_dialogue53);
1305
                ballooncon = 33;
1306
                balloonend = 0;
1307
                _who_is_talking = "ghost";
1308
            }
1309
            else if (ballooncon == 33)
1310
            {
1311
                msgset(0, pink_battle_dialogue54);
1312
                ballooncon = 0;
1313
                balloonend = 1;
1314
                _who_is_talking = "body";
1315
                idlesprite = spr_pink_very_hurt;
1316
            }
1317
            else if (ballooncon == 34)
1318
            {
1319
                msgset(0, pink_battle_dialogue56);
1320
                ballooncon = 35;
1321
                balloonend = 0;
1322
                _who_is_talking = "body";
1323
            }
1324
            else if (ballooncon == 35)
1325
            {
1326
                msgset(0, pink_battle_dialogue57);
1327
                ballooncon = 0;
1328
                balloonend = 1;
1329
                _who_is_talking = "body";
1330
                idlesprite = spr_pink_very_hurt;
1331
            }
1332
            else if (ballooncon == 36)
1333
            {
1334
                msgset(0, pink_battle_dialogue59);
1335
                ballooncon = 37;
1336
                balloonend = 0;
1337
                _who_is_talking = "ghost";
1338
            }
1339
            else if (ballooncon == 37)
1340
            {
1341
                msgset(0, pink_battle_dialogue60);
1342
                ballooncon = 0;
1343
                balloonend = 1;
1344
                _who_is_talking = "ghost";
1345
                idlesprite = spr_pink_very_hurt;
1346
            }
1347
            else if (ballooncon == 38)
1348
            {
1349
                msgset(0, pink_battle_dialogue63);
1350
                ballooncon = 39;
1351
                balloonend = 0;
1352
                _who_is_talking = "ghost";
1353
            }
1354
            else if (ballooncon == 39)
1355
            {
1356
                msgset(0, pink_battle_dialogue64);
1357
                ballooncon = 0;
1358
                balloonend = 1;
1359
                _who_is_talking = "ghost";
1360
                with (obj_date_ui)
1361
                    con = 1;
1362
            }
1363
            var __x = 0;
1364
            if (idlesprite == spr_mew_pushing)
1365
                __x = 12;
1366
            if (_who_is_talking == "pink")
1367
            {
1368
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x - 10) + __x, y + 40, 10);
1369
                if (datecount == 3)
1370
                    blcon.mywriter.shake = 2;
1371
            }
1372
            else if (_who_is_talking == "body")
1373
            {
1374
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
((x - 180) + __x, y - 10, 18);
1375
                if (datecount == 3)
1376
                    blcon.mywriter.shake = 2;
1377
            }
1378
            else if (_who_is_talking == "ghost")
1379
            {
1380
                blcon = 
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(ghostmarker.x, ghostmarker.y - 60, 22);
1381
                if (datecount == 3)
1382
                    blcon.mywriter.shake = 2;
1383
            }
1384
            else if (_who_is_talking == "ralsei")
1385
            {
1386
                global.typer = 74;
1387
                
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("ralsei");
1388
                if (global.hp[3] > 0)
1389
                {
1390
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_idle_mad_lookdown, 0.16666666666666666, true);
1391
                    if (ralslookup == 1)
1392
                    {
1393
                        
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_idle_mad, 0.16666666666666666, true);
1394
                        ralslookup = 0;
1395
                    }
1396
                }
1397
            }
1398
            else if (_who_is_talking == "susie")
1399
            {
1400
                global.typer = 75;
1401
                
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("susie");
1402
                
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
1403
            }
1404
            talked = 0.7;
1405
            if (ballooncon == 0)
1406
            {
1407
                talked = 0.5;
1408
                talktimer = 0;
1409
            }
1410
            else
1411
            {
1412
                talked = 0.6;
1413
                talktimer = 0;
1414
            }
1415
            alarm[6]
 = 1;
gml_Object_obj_pink_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; } if (introcon == 1) introcon = 2; if (introcon == 1) introcon = 2;
1416
        }
1417
    }
1418
    if (talked == 1 && 
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && !i_ex(obj_writer))
1419
    {
1420
        global.mnfight = 1.5;
1421
        electricity_con = 0;
1422
        electricity_timer = 0;
1423
        if (datecount == 3 && doki != 20)
1424
        {
1425
            with (obj_darkener)
1426
                instance_destroy();
1427
        }
1428
    }
1429
    if (global.mnfight == 1.5)
1430
    {
1431
        if (obj_heroralsei.state == 8)
1432
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
1433
        if (datecount == 3)
1434
        {
1435
        }
1436
        else if (doki < dokimax)
1437
        {
1438
            if (myattackchoice == 2 || myattackchoice == 3 || myattackchoice == 4 || myattackchoice == 5 || myattackchoice == 6)
1439
            {
1440
            }
1441
            else
1442
            {
1443
                if (!instance_exists(obj_growtangle))
1444
                    instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1445
                with (obj_growtangle)
1446
                {
1447
                    if (!instance_exists(obj_moveheart))
1448
                        
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
1449
                }
1450
                if (myattackchoice != 3)
1451
                {
1452
                    with (obj_growtangle)
1453
                        instance_create_depth(x, y, 4, obj_purplecontrols);
1454
                }
1455
            }
1456
        }
1457
        global.mnfight = 2;
1458
        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(90);
1459
    }
1460
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("bullets") && attacked == 0)
1461
    {
1462
        rtimer += 1;
1463
        if (datecount == 3 && phaseturns < 3)
1464
            rtimer = 12;
1465
        if (rtimer == 5)
1466
        {
1467
            if (ghostintrocon == 2)
1468
            {
1469
                ghostintrocon = 3;
1470
                with (ghostmarker)
1471
                {
1472
                    hspeed = 0;
1473
                    vspeed = 0;
1474
                }
1475
                with (ghostmarker)
1476
                    
scr_rememberxy
scr_rememberxy

function
scr_rememberxy()
{ ___myrememberx = x; ___myremembery = y; }
();
1477
                with (ghostmarker)
1478
                    
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(other.x + 40, other.y + 40, 5);
1479
            }
1480
        }
1481
        if (rtimer == 11 && ghostintrocon == 3)
1482
        {
1483
            with (ghostmarker)
1484
                image_alpha = -1;
1485
        }
1486
        if ((rtimer == 12 && doki < dokimax) || (doki >= dokimax && rtimer == 15))
1487
        {
1488
            if (doki >= dokimax || (datecount == 3 && phaseturns >= 3))
1489
            {
1490
                datecount++;
1491
                if ((datecount == 1 && i_ex(obj_writer)) || datecount > 1)
1492
                    instance_create_depth(x, y, obj_battlecontroller.depth - 9999999, obj_date_controller);
1493
                if (datecount == 1)
1494
                {
1495
                    if (i_ex(obj_date_controller))
1496
                    {
1497
                        with (obj_battleblcon)
1498
                            depth = obj_date_controller.depth + 2;
1499
                        with (obj_writer)
1500
                            depth = obj_date_controller.depth + 1;
1501
                    }
1502
                }
1503
            }
1504
            else if (datecount == 3)
1505
            {
1506
            }
1507
            else
1508
            {
1509
                if (datecount != 3 && myattackchoice != 5)
1510
                    idlesprite = spr_pink_idle;
1511
                if (myattackchoice == 1)
1512
                {
1513
                    global.monsterattackname[myself] = "cat";
1514
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1515
                    dc.type = 200;
1516
                    dc.difficulty = difficulty;
1517
                }
1518
                if (myattackchoice == 2)
1519
                {
1520
                    if (!instance_exists(obj_growtangle))
1521
                        instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1522
                    with (obj_growtangle)
1523
                    {
1524
                        if (!instance_exists(obj_moveheart))
1525
                            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
1526
                    }
1527
                    with (obj_growtangle)
1528
                        instance_create_depth(x, y, 4, obj_purplecontrols);
1529
                    obj_purplecontrols.mode = 2;
1530
                    global.monsterattackname[myself] = "bomb";
1531
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1532
                    dc.type = 206;
1533
                    dc.difficulty = difficulty;
1534
                }
1535
                if (myattackchoice == 3)
1536
                {
1537
                    if (!instance_exists(obj_growtangle))
1538
                        instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1539
                    if (datecount == 1)
1540
                        instance_create(camerax() + 300, cameray() + 210, obj_heartmarker);
1541
                    with (obj_growtangle)
1542
                    {
1543
                        if (!instance_exists(obj_moveheart))
1544
                            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
1545
                    }
1546
                    global.monsterattackname[myself] = "rotating box";
1547
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1548
                    dc.type = 202;
1549
                    dc.difficulty = difficulty;
1550
                }
1551
                if (myattackchoice == 4)
1552
                {
1553
                    if (!instance_exists(obj_growtangle))
1554
                        instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1555
                    with (obj_growtangle)
1556
                    {
1557
                        if (!instance_exists(obj_moveheart))
1558
                            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
1559
                    }
1560
                    with (obj_growtangle)
1561
                    {
1562
                        maxxscale = 3.75;
1563
                        maxyscale = 3.75;
1564
                        if (!i_ex(obj_purplecontrols))
1565
                            instance_create_depth(x, y, 4, obj_purplecontrols);
1566
                        obj_purplecontrols.mode = 7;
1567
                        obj_purplecontrols.difficulty = other.difficulty;
1568
                    }
1569
                    global.monsterattackname[myself] = "3d tunnel";
1570
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1571
                    dc.type = 208;
1572
                    dc.difficulty = difficulty;
1573
                }
1574
                if (myattackchoice == 5)
1575
                {
1576
                    if (!instance_exists(obj_growtangle))
1577
                        instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1578
                    global.monsterattackname[myself] = "singing";
1579
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1580
                    dc.type = 209;
1581
                    dc.difficulty = difficulty;
1582
                }
1583
                if (myattackchoice == 6)
1584
                {
1585
                    if (!instance_exists(obj_growtangle))
1586
                        instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
1587
                    instance_create(camerax() + 280, cameray() + 160, obj_heartmarker);
1588
                    if (i_ex(obj_heartmarker))
1589
                    {
1590
                        obj_heartmarker.x = camerax() + 280;
1591
                        obj_heartmarker.y = cameray() + 160;
1592
                    }
1593
                    with (obj_growtangle)
1594
                    {
1595
                        if (!instance_exists(obj_moveheart))
1596
                            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
1597
                    }
1598
                    with (obj_growtangle)
1599
                        instance_create_depth(x, y, 4, obj_purplecontrols);
1600
                    obj_purplecontrols.mode = 2;
1601
                    global.monsterattackname[myself] = "bomb";
1602
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1603
                    dc.type = 203;
1604
                    dc.difficulty = difficulty;
1605
                }
1606
                if (myattackchoice == 7)
1607
                {
1608
                    global.monsterattackname[myself] = "vertical lanes";
1609
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1610
                    dc.type = 204;
1611
                    dc.difficulty = difficulty;
1612
                }
1613
                if (myattackchoice == 8)
1614
                {
1615
                    global.monsterattackname[myself] = "vertical lanes";
1616
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1617
                    dc.type = 205;
1618
                    dc.difficulty = difficulty;
1619
                }
1620
            }
1621
            
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
1622
            if (datecount == 3)
1623
                global.turntimer = 2;
1624
            turns += 1;
1625
            attacked = 1;
1626
        }
1627
    }
1628
    if (global.mnfight == 2 && global.turntimer <= 1)
1629
    {
1630
        if (setbattlemsg == false)
1631
        {
1632
            global.typer = 6;
1633
            global.fc = 0;
1634
            idlesprite = spr_pink_idle;
1635
            if (datecount == 3)
1636
                idlesprite = spr_pink_very_hurt;
1637
            rr = choose(0, 1, 2, 3);
1638
            if (datecount == 0)
1639
            {
1640
                if (rr == 0)
1641
                    global.battlemsg[0] = stringsetloc(
* Pink mews madly!
"* Pink mews madly!", "obj_pink_enemy_slash_Step_0_gml_605_0"
);
1642
                if (rr == 1)
1643
                    global.battlemsg[0] = stringsetloc(
* Pink spins her head around and laughs.
"* Pink spins her head around and laughs.", "obj_pink_enemy_slash_Step_0_gml_606_0"
);
1644
                if (rr == 2)
1645
                    global.battlemsg[0] = stringsetloc(
* Pink stares at a mirror...Delay 11 she doesn't turn around.
"* Pink stares at a mirror..^1. she doesn't turn around.", "obj_pink_enemy_slash_Step_0_gml_607_0"
);
1646
            }
1647
            if (datecount == 1)
1648
            {
1649
                if (rr == 0)
1650
                    global.battlemsg[0] = stringsetloc(
* Pink mutters to herself,Delay 11 and the smoke worsens.
"* Pink mutters to herself^1, and the smoke worsens.", "obj_pink_enemy_slash_Step_0_gml_611_0"
);
1651
                if (rr == 1)
1652
                    global.battlemsg[0] = stringsetloc(
* Pink screams heart-censored magic words.
"* Pink screams heart-censored magic words.", "obj_pink_enemy_slash_Step_0_gml_612_0"
);
1653
                if (rr == 2)
1654
                    global.battlemsg[0] = stringsetloc(
* Pink's dummy bullets try to cheer her up.
"* Pink's dummy bullets try to cheer her up.", "obj_pink_enemy_slash_Step_0_gml_613_0"
);
1655
            }
1656
            if (datecount == 2)
1657
            {
1658
                if (rr == 0)
1659
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY winks!
* Pink's GHOST sticks out her tongue!
"* Pink's BODY winks!&* Pink's GHOST sticks out her tongue!", "obj_pink_enemy_slash_Step_0_gml_617_0"
);
1660
                if (rr == 1)
1661
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY holds out hands!
* Pink's GHOST slaps her BODY's hands away!
"* Pink's BODY holds out hands!&* Pink's GHOST slaps her BODY's hands away!", "obj_pink_enemy_slash_Step_0_gml_618_0"
);
1662
                if (rr == 2)
1663
                    global.battlemsg[0] = stringsetloc(
* Pink's dummy bullets don't know who to cheer for!
"* Pink's dummy bullets don't know who to cheer for!", "obj_pink_enemy_slash_Step_0_gml_619_0"
);
1664
            }
1665
            if (datecount == 3)
1666
            {
1667
                rr = choose(0, 1, 2);
1668
                if (rr == 0)
1669
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY shudders!
* Pink's GHOST looks worried,Delay 11 then turns away!
"* Pink's BODY shudders!&* Pink's GHOST looks worried^1, then turns away!", "obj_pink_enemy_slash_Step_0_gml_624_0"
);
1670
                if (rr == 1)
1671
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY emits smoke!
* Pink's GHOST reaches out,Delay 11 then stops!
"* Pink's BODY emits smoke!&* Pink's GHOST reaches out^1, then stops!", "obj_pink_enemy_slash_Step_0_gml_625_0"
);
1672
                if (rr == 2)
1673
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY's voice falters!
* Pink's GHOST starts to say something,Delay 11 then stops!
"* Pink's BODY's voice falters!&* Pink's GHOST starts to say something^1, then stops!", "obj_pink_enemy_slash_Step_0_gml_626_0"
);
1674
            }
1675
            else
1676
            {
1677
                if (rr == 3)
1678
                    global.battlemsg[0] = stringsetloc(
* The air swirls in rosy chaos.
"* The air swirls in rosy chaos.", "obj_pink_enemy_slash_Step_0_gml_630_0"
);
1679
                if (irandom(100) < 3)
1680
                    global.battlemsg[0] = stringsetloc(
* Smells like perfume and plastic.
"* Smells like perfume and plastic.", "obj_pink_enemy_slash_Step_0_gml_631_0"
);
1681
            }
1682
            if (doki >= 12)
1683
                global.battlemsg[0] = stringsetloc(
* The DOKI meter is almost full!
"* The DOKI meter is almost full!", "obj_pink_enemy_slash_Step_0_gml_633_0"
);
1684
            if (firstphaseturn == 1)
1685
            {
1686
                if (datecount == 1)
1687
                    global.battlemsg[0] = stringsetloc(
* Pink is reeling from the impact of the DATE.
* TP meter reset!
"* Pink is reeling from the impact of the DATE.&* TP meter reset!", "obj_pink_enemy_slash_Step_0_gml_636_0"
);
1688
                if (datecount == 2)
1689
                    global.battlemsg[0] = stringsetloc(
* Pink has split into GHOST and BODY!
* TP meter reset!
"* Pink has split into GHOST and BODY!&* TP meter reset!", "obj_pink_enemy_slash_Step_0_gml_637_0"
);
1690
                if (datecount == 3)
1691
                    global.battlemsg[0] = stringsetloc(
* Pink's BODY is heavily damaged...!
"* Pink's BODY is heavily damaged...!", "obj_pink_enemy_slash_Step_0_gml_638_0"
);
1692
                firstphaseturn = 0;
1693
            }
1694
            setbattlemsg = true;
1695
            lovelyboy = false;
1696
            if (ghostintrocon == 3)
1697
            {
1698
                ghostintrocon = 4;
1699
                ghostintrotimer = 0;
1700
                with (ghostmarker)
1701
                    
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", -1, 0.5, 20, "in");
1702
                with (ghostmarker)
1703
                    
scr_move_to_rememberxy
scr_move_to_rememberxy

function
scr_move_to_rememberxy(arg0)
{
scr_move_to_point_over_time(___myrememberx, ___myremembery, arg0);
}
(5);
1704
            }
1705
        }
1706
    }
1707
}
1708
if (global.myfight == 3)
1709
{
1710
    xx = __view_get(e__VW.XView, 0);
1711
    yy = __view_get(e__VW.YView, 0);
1712
    var noeffectstring = stringsetloc(
* You flirted...
* But it had no effect!Wait for inputClose Message
"* You flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_685_0"
);
1713
    var susnoeffectstring = stringsetloc(
* Susie flirted...
* But it had no effect!Wait for inputClose Message
"* Susie flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_686_0"
);
1714
    var ralnoeffectstring = stringsetloc(
* Ralsei flirted...
* But it had no effect!Wait for inputClose Message
"* Ralsei flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_687_0"
);
1715
    if (acting == 1 && actcon == 0)
1716
    {
1717
        actcon = 1;
1718
        if (datecount == 0)
1719
            msgsetloc(0, 
* PINK - A Lightner ghost in a magical girl's body.Delay 11 Doki her heart with flirts,Delay 11 and...!?Wait for inputClose Message
"* PINK - A Lightner ghost in a magical girl's body^1. Doki her heart with flirts^1, and...!?/%", "obj_pink_enemy_slash_Step_0_gml_665_0"
);
1720
        else if (datecount == 1)
1721
            msgsetloc(0, 
* PINK - A Lightner ghost in a Darkner girl's body.Delay 11 Fill the DOKI METER to DATE!Wait for inputClose Message
"* PINK - A Lightner ghost in a Darkner girl's body^1. Fill the DOKI METER to DATE!/%", "obj_pink_enemy_slash_Step_0_gml_666_0"
);
1722
        else if (datecount == 2)
1723
            msgsetloc(0, 
* PINK - A Lightner ghost,Delay 11 or a Darkner body!?Delay 11 Fill the DOKI METER to DATE them both!Wait for inputClose Message
"* PINK - A Lightner ghost^1, or a Darkner body!^1? Fill the DOKI METER to DATE them both!/%", "obj_pink_enemy_slash_Step_0_gml_667_0"
);
1724
        else
1725
            msgsetloc(0, 
* PINK - Without a spirit to control it,Delay 11 the body will break down...Delay 11Wait for inputClose Message
"* PINK - Without a spirit to control it^1, the body will break down..^1./%", "obj_pink_enemy_slash_Step_0_gml_668_0"
);
1726
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1727
    }
1728
    if (acting == 2 && actcon == 0)
1729
    {
1730
        if (datecount == 3)
1731
        {
1732
            msgset(0, noeffectstring);
1733
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1734
            actcon = 1;
1735
            acting = 0;
1736
        }
1737
        else
1738
        {
1739
            var _kris_flirt_string = stringsetloc(
* You flirted!
"* You flirted!", "obj_pink_enemy_slash_Step_0_gml_674_0"
);
1740
            if (simultotal == 1)
1741
            {
1742
                msgset(0, _kris_flirt_string + "/%");
1743
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1744
                actcon = 1;
1745
                acting = 0;
1746
            }
1747
            else
1748
            {
1749
                msgset(0, _kris_flirt_string);
1750
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("kris");
1751
                if (simulorderkri == 0)
1752
                    actcon = 20;
1753
                else
1754
                    actcon = -1;
1755
                acting = 0;
1756
            }
1757
            if (global.hp[3] < 1 && global.hp[2] < 1)
1758
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 3);
1759
            else if (global.hp[3] < 1 || global.hp[2] < 1)
1760
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 2);
1761
            else
1762
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 1);
1763
            krishearts = true;
1764
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
1765
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
1766
            if ((outfit_select % 2) == 0)
1767
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform1, 0, true);
1768
            else
1769
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform2, 0, true);
1770
            outfit_select++;
1771
            with (obj_herokris)
1772
            {
1773
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1774
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1775
                a.hspeed = 2.5;
1776
                a.depth = depth + 1;
1777
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1778
                b.image_alpha = 0.6;
1779
                b.hspeed = 5;
1780
                b.depth = depth + 2;
1781
            }
1782
        }
1783
    }
1784
    if (acting == 2.1 && actcon == 0 && !i_ex(obj_writer))
1785
    {
1786
        datecount++;
1787
        instance_create(x, y, obj_date_controller);
1788
        acting = 2.2;
1789
    }
1790
    if (acting == 2.2 && actcon == 0 && !i_ex(obj_date_controller))
1791
        actcon = 1;
1792
    if (acting == 3 && actcon == 0)
1793
    {
1794
        if (datecount == 3)
1795
        {
1796
            msgset(0, noeffectstring);
1797
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1798
            actcon = 1;
1799
            acting = 0;
1800
        }
1801
        else
1802
        {
1803
            var _kris_flirthard_string = stringsetloc(
* You flirted hard!
"* You flirted hard!", "obj_pink_enemy_slash_Step_0_gml_795_0"
);
1804
            if (simultotal == 1)
1805
            {
1806
                msgset(0, _kris_flirthard_string + "/%");
1807
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1808
                actcon = 1;
1809
                acting = 0;
1810
            }
1811
            else
1812
            {
1813
                msgset(0, _kris_flirthard_string);
1814
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("kris");
1815
                if (simulorderkri == 0)
1816
                    actcon = 20;
1817
                else
1818
                    actcon = -1;
1819
                acting = 0;
1820
            }
1821
            
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 5);
1822
            with (obj_herokris)
1823
            {
1824
                pinkflashtimer = 5;
1825
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1826
                a.hspeed = 2.5;
1827
                a.depth = depth + 1;
1828
                a.sprite_index = IMAGE_LOGO;
1829
                a.parentid = id;
1830
            }
1831
            krishearts = true;
1832
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
1833
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
1834
            if ((outfit_select % 2) == 0)
1835
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform1, 0, true);
1836
            else
1837
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform2, 0, true);
1838
            with (obj_herokris)
1839
            {
1840
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1841
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1842
                a.hspeed = 2.5;
1843
                a.depth = depth + 1;
1844
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1845
                b.image_alpha = 0.6;
1846
                b.hspeed = 5;
1847
                b.depth = depth + 2;
1848
            }
1849
            outfit_select++;
1850
        }
1851
    }
1852
    if (acting == 4 && actcon == 0)
1853
    {
1854
        if (datecount == 3)
1855
        {
1856
            msgset(0, noeffectstring);
1857
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1858
            actcon = 1;
1859
            acting = 0;
1860
        }
1861
        else
1862
        {
1863
            actcon = 1;
1864
            msgsetloc(0, 
* Everyone flirted hard!Wait for inputClose Message
"* Everyone flirted hard!/%", "obj_pink_enemy_slash_Step_0_gml_718_0"
);
1865
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1866
            
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 5);
1867
            with (obj_heroparent)
1868
            {
1869
                pinkflashtimer = 5;
1870
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1871
                a.hspeed = 2.5;
1872
                a.depth = depth + 1;
1873
                a.sprite_index = IMAGE_LOGO;
1874
                a.parentid = id;
1875
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1876
                b.image_alpha = 0.6;
1877
                b.hspeed = 5;
1878
                b.depth = depth + 2;
1879
                b.parentid = id;
1880
            }
1881
            krishearts = true;
1882
            susiehearts = true;
1883
            ralseihearts = true;
1884
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
1885
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
1886
            if ((outfit_select % 2) == 0)
1887
            {
1888
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform1, 0, true);
1889
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform1, 0, true);
1890
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform1, 0, true);
1891
            }
1892
            else
1893
            {
1894
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform2, 0, true);
1895
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform2, 0, true);
1896
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform2, 0, true);
1897
            }
1898
            outfit_select++;
1899
            with (obj_herokris)
1900
            {
1901
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1902
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1903
                a.hspeed = 2.5;
1904
                a.depth = depth + 1;
1905
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1906
                b.image_alpha = 0.6;
1907
                b.hspeed = 5;
1908
                b.depth = depth + 2;
1909
            }
1910
            with (obj_herosusie)
1911
            {
1912
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1913
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1914
                a.hspeed = 2.5;
1915
                a.depth = depth + 1;
1916
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1917
                b.image_alpha = 0.6;
1918
                b.hspeed = 5;
1919
                b.depth = depth + 2;
1920
            }
1921
            with (obj_heroralsei)
1922
            {
1923
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1924
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1925
                a.hspeed = 2.5;
1926
                a.depth = depth + 1;
1927
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1928
                b.image_alpha = 0.6;
1929
                b.hspeed = 5;
1930
                b.depth = depth + 2;
1931
            }
1932
        }
1933
    }
1934
    if (acting == 5 && actcon == 0)
1935
    {
1936
        if (datecount == 3)
1937
        {
1938
            msgset(0, noeffectstring);
1939
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1940
            actcon = 1;
1941
            acting = 0;
1942
        }
1943
        else
1944
        {
1945
            actcon = 1;
1946
            msgsetloc(0, 
* Everyone used GIGA FLIRT!Wait for inputClose Message
"* Everyone used GIGA FLIRT!/%", "obj_pink_enemy_slash_Step_0_gml_746_0"
);
1947
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1948
            with (obj_writer)
1949
                special = 0;
1950
            
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 10);
1951
            with (obj_heroparent)
1952
            {
1953
                pinkflashtimer = 5;
1954
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1955
                a.hspeed = 2.5;
1956
                a.depth = depth + 1;
1957
                a.sprite_index = IMAGE_LOGO;
1958
                a.parentid = id;
1959
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1960
                b.image_alpha = 0.6;
1961
                b.hspeed = 5;
1962
                b.depth = depth + 2;
1963
                b.parentid = id;
1964
            }
1965
            krishearts = true;
1966
            susiehearts = true;
1967
            ralseihearts = true;
1968
            instance_create(obj_herosusie.x + 100, obj_herosusie.y + 30, obj_gigaheart);
1969
            if ((outfit_select % 2) == 0)
1970
            {
1971
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform1, 0, true);
1972
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform1, 0, true);
1973
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform1, 0, true);
1974
            }
1975
            else
1976
            {
1977
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_uniform2, 0, true);
1978
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform2, 0, true);
1979
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform2, 0, true);
1980
            }
1981
            outfit_select++;
1982
            with (obj_herokris)
1983
            {
1984
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1985
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1986
                a.hspeed = 2.5;
1987
                a.depth = depth + 1;
1988
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1989
                b.image_alpha = 0.6;
1990
                b.hspeed = 5;
1991
                b.depth = depth + 2;
1992
            }
1993
            with (obj_herosusie)
1994
            {
1995
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1996
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
1997
                a.hspeed = 2.5;
1998
                a.depth = depth + 1;
1999
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2000
                b.image_alpha = 0.6;
2001
                b.hspeed = 5;
2002
                b.depth = depth + 2;
2003
            }
2004
            with (obj_heroralsei)
2005
            {
2006
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2007
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2008
                a.hspeed = 2.5;
2009
                a.depth = depth + 1;
2010
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2011
                b.image_alpha = 0.6;
2012
                b.hspeed = 5;
2013
                b.depth = depth + 2;
2014
            }
2015
        }
2016
    }
2017
    if (acting == 5.1 && actcon == 0 && !i_ex(obj_writer) && !i_ex(obj_gigaheart))
2018
    {
2019
        acting = 5.2;
2020
        actcon = 1;
2021
    }
2022
    if (actingsus == 1 && actconsus == 1)
2023
    {
2024
        if (datecount == 3)
2025
        {
2026
            msgset(0, susnoeffectstring);
2027
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2028
            actingsus = 0;
2029
            actcon = 1;
2030
            actconsus = 0;
2031
        }
2032
        else
2033
        {
2034
            var _s_actstring = stringsetloc(
* Susie flirted!
"* Susie flirted!", "obj_pink_enemy_slash_Step_0_gml_757_0"
);
2035
            if (simultotal == 1)
2036
            {
2037
                msgset(0, _s_actstring + "/%");
2038
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2039
                actconsus = 20;
2040
            }
2041
            else
2042
            {
2043
                msgset(0, _s_actstring);
2044
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("susie");
2045
                if (simulordersus == 0)
2046
                    actconsus = 20;
2047
                else
2048
                    actconsus = 0;
2049
            }
2050
            if (global.hp[1] < 1 && global.hp[3] < 1)
2051
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 3);
2052
            else if (global.hp[1] < 1 || global.hp[3] < 1)
2053
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 2);
2054
            else
2055
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 1);
2056
            susiehearts = true;
2057
            snd_stop(snd_magicsprinkle);
2058
            snd_stop(snd_explosion_mmx3);
2059
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
2060
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
2061
            if ((outfit_select % 2) == 0)
2062
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform1, 0, true);
2063
            else
2064
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform2, 0, true);
2065
            outfit_select++;
2066
            with (obj_herosusie)
2067
            {
2068
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2069
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2070
                a.hspeed = 2.5;
2071
                a.depth = depth + 1;
2072
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2073
                b.image_alpha = 0.6;
2074
                b.hspeed = 5;
2075
                b.depth = depth + 2;
2076
            }
2077
        }
2078
    }
2079
    if (actingsus == 2 && actconsus == 1)
2080
    {
2081
        if (datecount == 3)
2082
        {
2083
            msgset(0, susnoeffectstring);
2084
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2085
            actingsus = 0;
2086
            actcon = 1;
2087
            actconsus = 0;
2088
        }
2089
        else
2090
        {
2091
            var _s_actstring = stringsetloc(
* Susie flirted hard!
"* Susie flirted hard!", "obj_pink_enemy_slash_Step_0_gml_778_0"
);
2092
            if (simultotal == 1)
2093
            {
2094
                msgset(0, _s_actstring + "/%");
2095
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2096
                actconsus = 20;
2097
            }
2098
            else
2099
            {
2100
                msgset(0, _s_actstring);
2101
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("susie");
2102
                if (simulordersus == 0)
2103
                    actconsus = 20;
2104
                else
2105
                    actconsus = 0;
2106
            }
2107
            
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 5);
2108
            susiehearts = true;
2109
            snd_stop(snd_magicsprinkle);
2110
            snd_stop(snd_explosion_mmx3);
2111
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
2112
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
2113
            if ((outfit_select % 2) == 0)
2114
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform1, 0, true);
2115
            else
2116
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_uniform2, 0, true);
2117
            outfit_select++;
2118
            with (obj_herosusie)
2119
            {
2120
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2121
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2122
                a.hspeed = 2.5;
2123
                a.depth = depth + 1;
2124
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2125
                b.image_alpha = 0.6;
2126
                b.hspeed = 5;
2127
                b.depth = depth + 2;
2128
            }
2129
        }
2130
    }
2131
    if (actingsus == 3 && actconsus == 1)
2132
    {
2133
        msgsetloc(0, 
* Susie decided to share an item with Pink!Wait for inputClose Message
"* Susie decided to share an item with Pink!/%", "obj_pink_enemy_slash_Step_0_gml_797_0"
);
2134
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2135
        actingsus = 3.1;
2136
    }
2137
    if (actingsus == 3.1 && actconsus == 1)
2138
    {
2139
        sharefoodtimer++;
2140
        if (sharefoodtimer == 1)
2141
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susieb_item, 1/3, false);
2142
        if (sharefoodtimer == 9)
2143
            instance_create(obj_herosusie.x + 60, obj_herosusie.y + 60, obj_sharefood_act);
2144
        if (sharefoodtimer >= 60)
2145
        {
2146
            sharefoodtimer = 0;
2147
            actingsus = 3.2;
2148
        }
2149
    }
2150
    if (actingsus == 3.2 && actconsus == 1 && !i_ex(obj_writer) && !i_ex(obj_sharefood_act))
2151
    {
2152
        with (obj_pink_enemy)
2153
        {
2154
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 0)
2155
                msgsetsubloc(0, 
* Argument â„–11
* Pink hated it! No DOKI increase!Wait for inputClose Message
"* ~1&* Pink hated it! No DOKI increase!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_821_0"
);
2156
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 1)
2157
                msgsetsubloc(0, 
* Argument â„–11
* Pink tolerated it! +1 DOKI!Wait for inputClose Message
"* ~1&* Pink tolerated it! +1 DOKI!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_824_0"
);
2158
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 2)
2159
                msgsetsubloc(0, 
* Argument â„–11
* Pink liked it! +2 DOKI!Wait for inputClose Message
"* ~1&* Pink liked it! +2 DOKI!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_827_0"
);
2160
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 3)
2161
                msgsetsubloc(0, 
* Argument â„–11
* Pink loved it! +3 DOKI!Wait for inputClose Message
"* ~1&* Pink loved it! +3 DOKI!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_830_0"
);
2162
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 4)
2163
                msgsetsubloc(0, 
* Argument â„–11
* ! +4 DOKI!Wait for inputClose Message
"* ~1&* ! +4 DOKI!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_833_0"
);
2164
            if (
scr_item_to_doki
scr_item_to_doki

function
scr_item_to_doki(arg0)
{ var doki_given = 1; switch (arg0) { case 1: doki_given = 2; break; case 2: doki_given = 3; break; case 3: doki_given = 3; break; case 4: doki_given = 0; break; case 5: doki_given = 0; break; case 6: doki_given = 3; break; case 7: doki_given = 3; break; case 8: doki_given = 2; break; case 9: doki_given = 2; break; case 10: doki_given = 1; break; case 11: doki_given = 2; break; case 12: doki_given = 3; break; case 13: doki_given = 1; break; case 14: doki_given = 15; break; case 15: doki_given = 0; break; case 16: doki_given = 2; break; case 17: doki_given = 0; break; case 18: doki_given = 0; break; case 19: doki_given = 0; break; case 20: doki_given = 0; break; case 21: doki_given = 0; break; case 22: doki_given = 2; break; case 23: doki_given = 3; break; case 24: doki_given = 1; break; case 25: doki_given = 1; break; case 26: doki_given = 2; break; case 27: doki_given = 2; break; case 28: doki_given = 2; break; case 29: doki_given = 3; break; case 30: doki_given = 2; break; case 31: doki_given = 4; break; case 32: doki_given = 0; break; ...
(sharefood_item_number) == 15)
2165
                msgsetsubloc(0, 
* Argument â„–11
* Pink was in ecstasy! +15 DOKI!Wait for inputClose Message
"* ~1&* Pink was in ecstasy! +15 DOKI!/%",
scr_item_to_dokitext
scr_item_to_dokitext

function
scr_item_to_dokitext(arg0)
{ var doki_given = ""; switch (arg0) { case 1: doki_given = stringsetloc(
Sweet!
"Sweet!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_8_0"
);
break; case 2: doki_given = stringsetloc(
Fresh!
"Fresh!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_11_0"
);
break; case 3: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_14_0"
);
break; case 4: doki_given = stringsetloc(
Ugly!
"Ugly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_17_0"
);
break; case 5: doki_given = stringsetloc(
Sharp!
"Sharp!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_20_0"
);
break; case 6: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_23_0"
);
break; case 7: doki_given = stringsetloc(
Delicious!
"Delicious!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_26_0"
);
break; case 8: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_29_0"
);
break; case 9: doki_given = stringsetloc(
Cute!
"Cute!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_32_0"
);
break; case 10: doki_given = stringsetloc(
Unsatisfying.
"Unsatisfying.", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_35_0"
);
break; case 11: doki_given = stringsetloc(
Yummy!
"Yummy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_38_0"
);
break; case 12: doki_given = stringsetloc(
Jammy and funky!
"Jammy and funky!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_41_0"
);
break; case 13: doki_given = stringsetloc(
Melty!
"Melty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_44_0"
);
break; case 14: doki_given = stringsetloc(
Bepis!
"Bepis!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_47_0"
);
break; case 15: doki_given = stringsetloc(
Slimy!
"Slimy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_50_0"
);
break; case 16: doki_given = stringsetloc(
Poppy!
"Poppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_53_0"
);
break; case 17: doki_given = stringsetloc(
Doesn't fit!
"Doesn't fit!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_56_0"
);
break; case 18: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_59_0"
);
break; case 19: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_62_0"
);
break; case 20: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_65_0"
);
break; case 21: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_68_0"
);
break; case 22: doki_given = stringsetloc(
Chompy!
"Chompy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_71_0"
);
break; case 23: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_74_0"
);
break; case 24: doki_given = stringsetloc(
Yuck!
"Yuck!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_77_0"
);
break; case 25: doki_given = stringsetloc(
Tangly!
"Tangly!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_80_0"
);
break; case 26: doki_given = stringsetloc(
Peppy!
"Peppy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_83_0"
);
break; case 27: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_86_0"
);
break; case 28: doki_given = stringsetloc(
Crunchy!
"Crunchy!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_89_0"
);
break; case 29: doki_given = stringsetloc(
Hyper!
"Hyper!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_92_0"
);
break; case 30: doki_given = stringsetloc(
Dusty!
"Dusty!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_95_0"
);
break; case 31: doki_given = stringsetloc(
Shiny!
"Shiny!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_98_0"
);
break; case 32: doki_given = stringsetloc(
Sickening!
"Sickening!", "scr_item_to_dokitext_slash_scr_item_to_dokitext_gml_101_0"
);
break; ...
(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_836_0"
);
2166
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2167
        }
2168
        actingsus = 3.3;
2169
    }
2170
    if (actingsus == 3.3 && actconsus == 1 && !i_ex(obj_writer))
2171
    {
2172
        actingsus = 3.4;
2173
        actcon = 1;
2174
        actconsus = 0;
2175
        if (datecount == 3)
2176
            idlesprite = spr_pink_very_hurt;
2177
    }
2178
    if (actingral == 1 && actconral == 1)
2179
    {
2180
        if (datecount == 3)
2181
        {
2182
            msgset(0, ralnoeffectstring);
2183
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2184
            actingral = 0;
2185
            actcon = 1;
2186
            actconral = 0;
2187
        }
2188
        else
2189
        {
2190
            var _r_actstring = stringsetloc(
* Ralsei flirted!
"* Ralsei flirted!", "obj_pink_enemy_slash_Step_0_gml_853_0"
);
2191
            if (simultotal == 1)
2192
            {
2193
                msgset(0, _r_actstring + "/%");
2194
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2195
                actconral = 20;
2196
            }
2197
            else
2198
            {
2199
                msgset(0, _r_actstring);
2200
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("ralsei");
2201
                if (simulorderral == 0)
2202
                    actconral = 20;
2203
                else
2204
                    actconral = 0;
2205
            }
2206
            if (global.hp[1] < 1 && global.hp[2] < 1)
2207
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 3);
2208
            else if (global.hp[1] < 1 || global.hp[2] < 1)
2209
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 2);
2210
            else
2211
                
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 1);
2212
            ralseihearts = true;
2213
            snd_stop(snd_magicsprinkle);
2214
            snd_stop(snd_explosion_mmx3);
2215
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
2216
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
2217
            if ((outfit_select % 2) == 0)
2218
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform1, 0, true);
2219
            else
2220
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform2, 0, true);
2221
            outfit_select++;
2222
            with (obj_heroralsei)
2223
            {
2224
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2225
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2226
                a.hspeed = 2.5;
2227
                a.depth = depth + 1;
2228
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2229
                b.image_alpha = 0.6;
2230
                b.hspeed = 5;
2231
                b.depth = depth + 2;
2232
            }
2233
        }
2234
    }
2235
    if (actingral == 2 && actconral == 1)
2236
    {
2237
        if (datecount == 3)
2238
        {
2239
            msgset(0, ralnoeffectstring);
2240
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2241
            actingral = 0;
2242
            actcon = 1;
2243
            actconral = 0;
2244
        }
2245
        else
2246
        {
2247
            var _r_actstring = stringsetloc(
* Ralsei flirted hard!
"* Ralsei flirted hard!", "obj_pink_enemy_slash_Step_0_gml_874_0"
);
2248
            if (simultotal == 1)
2249
            {
2250
                msgset(0, _r_actstring + "/%");
2251
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2252
                actconral = 20;
2253
            }
2254
            else
2255
            {
2256
                msgset(0, _r_actstring);
2257
                
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("ralsei");
2258
                if (simulorderral == 0)
2259
                    actconral = 20;
2260
                else
2261
                    actconral = 0;
2262
            }
2263
            
scr_dokiadd
scr_dokiadd

function
scr_dokiadd(arg0, arg1)
{ with (obj_pink_enemy) { doki += arg1; if (doki < 0) doki = 0; if (doki >= 100) doki = 100; } var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 15 && mercytimer < 8) _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 = 15; global.hittarget[arg0]++; }
(myself, 5);
2264
            ralseihearts = true;
2265
            snd_stop(snd_magicsprinkle);
2266
            snd_stop(snd_explosion_mmx3);
2267
            snd_play_x(snd_magicsprinkle, 0.6, 0.5);
2268
            snd_play_x(snd_explosion_mmx3, 0.5, 0.5);
2269
            if ((outfit_select % 2) == 0)
2270
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform1, 0, true);
2271
            else
2272
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_uniform2, 0, true);
2273
            outfit_select++;
2274
            with (obj_heroralsei)
2275
            {
2276
                _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2277
                a = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2278
                a.hspeed = 2.5;
2279
                a.depth = depth + 1;
2280
                b = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
2281
                b.image_alpha = 0.6;
2282
                b.hspeed = 5;
2283
                b.depth = depth + 2;
2284
            }
2285
        }
2286
    }
2287
    if (actingral == 3 && actconral == 1)
2288
    {
2289
        instance_create(x, y, obj_lovelyboy);
2290
        lovelyboy = true;
2291
        snd_play(snd_drumroll);
2292
        if (lovelyboycount == 0)
2293
            actingral = 3.1;
2294
        if (lovelyboycount > 0)
2295
        {
2296
            msgsetloc(0, 
* Gathered adoration!Delay 11 Max TP went up!
"* Gathered adoration^1! Max TP went up!", "obj_pink_enemy_slash_Step_0_gml_900_0"
);
2297
            
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("ralsei");
2298
            with (obj_lovelyboy)
2299
                faster = true;
2300
            if (simulorderral == 0)
2301
                actconral = 20;
2302
            else
2303
                actconral = 0;
2304
            actingral = 3.5;
2305
        }
2306
        lovelyboycount++;
2307
    }
2308
    if (actingral == 3.1 && actconral == 1)
2309
    {
2310
        acttimer++;
2311
        if (acttimer == 1)
2312
        {
2313
            acttimer = 0;
2314
            actingral = 3.2;
2315
        }
2316
    }
2317
    if (actingral == 3.2 && actconral == 1 && !i_ex(obj_lovelyboy))
2318
    {
2319
        msgsetloc(0, 
* Ralsei looked adorable!
* HEARTS came out!
* MAX TP up!Wait for inputClose Message
"* Ralsei looked adorable!&* HEARTS came out!&* MAX TP up!/%", "obj_pink_enemy_slash_Step_0_gml_933_0"
);
2320
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2321
        actingral = 3.4;
2322
    }
2323
    if (actingral == 3.4 && actconral == 1 && !i_ex(obj_writer))
2324
    {
2325
        actingral = 3.5;
2326
        actcon = 1;
2327
        actconral = 0;
2328
        global.actsimulral[myself][2] = 1;
2329
    }
2330
    if (actcon == 20 || actconsus == 20 || actconral == 20)
2331
    {
2332
        if (
scr_terminate_writer
scr_terminate_writer

function
scr_terminate_writer()
{ __writerkilled = 0; __writerkillable = 0; __writerended = 0; if (instance_exists(obj_writer)) { obj_writer.__endcheckid = id; with (obj_writer) { if (reachedend == 1) { with (__endcheckid) __writerended++; } } if (__writerended == instance_number(obj_writer)) __writerkillable = 1; } else { __writerkilled = 1; } if (button1_p() && __writerkillable == 1) { with (obj_writer) instance_destroy(); __writerkilled = 1; } return __writerkilled; }
())
2333
        {
2334
            actconsus = -1;
2335
            actconral = -1;
2336
            actcon = 1;
2337
        }
2338
    }
2339
    if (actcon == 1 && !instance_exists(obj_writer) && !i_ex(obj_lovelyboy) && !i_ex(obj_gigaheart))
2340
    {
2341
        
scr_nextact
scr_nextact

function
scr_nextact()
{ global.acting[0] = 0; global.acting[1] = 0; global.acting[2] = 0; global.actingsingle[global.currentactingchar] = 0; __minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]]; with (__minstance) { acting = 0; actcon = 0; actconsus = 0; actconral = 0; actconnoe = 0; } var singleactcomplete = 0; while (global.currentactingchar < 3) { global.currentactingchar++; if (global.currentactingchar < 3) { if (global.actingsingle[global.currentactingchar] == 1) { __minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]]; if (global.char[global.currentactingchar] == 2) { with (__minstance) actconsus = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } if (global.char[global.currentactingchar] == 3) { with (__minstance) actconral = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } if (global.char[global.currentactingchar] == 4) { with (__minstance) actconnoe = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } } } } if (global.currentactingchar >= 3) { with (obj_monsterparent) { acting = 0; actingsus = 0; actingral = 0; actingnoe = 0; } global.currentactingchar = 0;
scr_attackphase();
} else if (!singleactcomplete) {
scr_act_simul();
} }
();
2342
        if (obj_herokris.state == 8)
2343
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("kris");
2344
        if (obj_herosusie.state == 8)
2345
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2346
        if (obj_heroralsei.state == 8)
2347
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _charactor = arg0; _charinstance = obj_herokris; if (_charactor == "noelle") { _charinstance = obj_heronoelle; _charnum = 4; } if (_charactor == "ralsei") { _charinstance = obj_heroralsei; _charnum = 3; } if (_charactor == "susie") { _charinstance = obj_herosusie; _charnum = 2; } if (_charactor == "kris") { _charinstance = obj_herokris; _charnum = 1; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
2348
        krishearts = false;
2349
        susiehearts = false;
2350
        ralseihearts = false;
2351
        if (idlesprite == spr_pink_front_sweat || idlesprite == spr_pink_front_angry)
2352
        {
2353
            if (datecount != 3)
2354
                idlesprite = spr_pink_idle;
2355
            else
2356
                idlesprite = spr_pink_very_hurt;
2357
        }
2358
        if (resetralsei == true)
2359
        {
2360
            resetralsei = false;
2361
            snd_play(snd_wing);
2362
            obj_heroralsei.x = obj_heroralsei.xstart;
2363
            obj_heroralsei.y = obj_heroralsei.ystart;
2364
            with (obj_heroralsei)
2365
            {
2366
                normalsprite = spr_ralsei_walk_right;
2367
                idlesprite = spr_ralsei_idle;
2368
                defendsprite = spr_ralsei_defend;
2369
                hurtsprite = spr_ralsei_hurt_fixed;
2370
                attackreadysprite = spr_ralsei_attackready;
2371
                attacksprite = spr_ralsei_attack;
2372
                itemsprite = spr_ralsei_item;
2373
                itemreadysprite = spr_ralsei_itemready;
2374
                spellreadysprite = spr_ralsei_spellready;
2375
                spellsprite = spr_ralsei_spell;
2376
                defeatsprite = spr_ralsei_defeat;
2377
                victorysprite = spr_ralsei_victory;
2378
                actreadysprite = spr_ralsei_actready;
2379
                actsprite = spr_ralsei_act;
2380
            }
2381
            repeat (26)
2382
            {
2383
                puff = instance_create(((obj_heroralsei.x + 50) - 60) + irandom(80), (obj_heroralsei.y - 90) + 90 + irandom(100), obj_animation);
2384
                puff.depth = obj_heroralsei.depth - 1;
2385
                puff.sprite_index = spr_susiezilla_houseexplosion;
2386
                puff.image_speed = 0.5;
2387
                puff.image_xscale = 1;
2388
                puff.image_yscale = 1;
2389
            }
2390
        }
2391
    }
2392
}
2393
if (state == 3)
2394
    
scr_enemy_hurt
scr_enemy_hurt

function
scr_enemy_hurt()
{ hurttimer -= 1; if (hurttimer < 0) { state = 0; } else { if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1; if (hurtshake > 1) { if (shakex > 0) shakex -= 1; if (shakex < 0) shakex += 1; shakex = -shakex; hurtshake = 0; } } }
();
2395
with (obj_afterimage)
2396
{
2397
    if (hspeed > 0 && parentid != -1)
2398
    {
2399
        sprite_index = parentid.sprite_index;
2400
        image_index = parentid.index;
2401
    }
2402
}
2403
if (tripleghostcon == 1)
2404
{
2405
    tripleghosttimer++;
2406
    if (ghostintrotimer == 1)
2407
    {
2408
    }
2409
    if (tripleghosttimer == 60)
2410
    {
2411
    }
2412
}
2413
if (ghostintrocon == 1)
2414
{
2415
    ghostintrotimer++;
2416
    with (obj_pink_dummy)
2417
        shocktimer = 30;
2418
    if (ghostintrotimer == 1)
2419
        idlesprite = spr_pink_front_surprised_topleftorign;
2420
    if (ghostintrotimer < 16)
2421
    {
2422
        if (x == xstart)
2423
            x = xstart + 1 + irandom(4);
2424
        if (x > xstart)
2425
            x = xstart - 1 - irandom(4);
2426
        if (x < xstart)
2427
            x = xstart + 1 + irandom(4);
2428
    }
2429
    if (ghostintrotimer == 14)
2430
    {
2431
        snd_play(snd_ghostappear);
2432
        ghostmarker.x = x + 30;
2433
        ghostmarker.y = y + 30;
2434
        ghostmarker.image_xscale = 0;
2435
        ghostmarker.image_yscale = 0;
2436
        ghostmarker.image_alpha = 0.5;
2437
        instance_create_depth(ghostmarker.x, ghostmarker.y, depth - 1, obj_ghostburst);
2438
        with (ghostmarker)
2439
        {
2440
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_xscale", 0, 2, 8, 1, "out");
2441
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_yscale", 0, 2, 8, 1, "out");
2442
            
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(x - 55, y - 55, 8);
2443
        }
2444
    }
2445
    if (ghostintrotimer == 60)
2446
    {
2447
        idlesprite = spr_pink_idle;
2448
        ghostintrotimer = 0;
2449
        ghostintrocon = 2;
2450
        ghostmarker.image_alpha = 0.5;
2451
    }
2452
}
2453
if (ghostintrocon == 2)
2454
{
2455
    saturation_effect_enabled = true;
2456
    pos = lerp(pos, -0.55, 0.05);
2457
    ghosttimer++;
2458
    ghostmarker.hspeed = sin(ghosttimer / 12) * 3;
2459
    ghostmarker.vspeed = cos(ghosttimer / 12) * 3;
2460
}
2461
if (ghostintrocon == 4)
2462
{
2463
    ghostintrotimer++;
2464
    if (ghostintrotimer == 6)
2465
    {
2466
        ghostintrotimer = 0;
2467
        ghostintrocon = 2;
2468
    }
2469
}
2470
if (explosioncon == 1)
2471
{
2472
    explosiontimer++;
2473
    if ((explosiontimer % 6) == 0)
2474
    {
2475
        inst = instance_create(x + random(sprite_width), y + random(sprite_height), obj_animation);
2476
        inst.sprite_index = spr_realisticexplosion;
2477
        snd_stop(snd_explosion);
2478
        snd_play_x(snd_explosion, 1, 1);
2479
        
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2480
    }
2481
    if (explosiontimer >= 60 || explode_after_date == true)
2482
    {
2483
        explode_after_date = false;
2484
        after_date_battlemsg = true;
2485
        idlesprite = spr_pink_idle;
2486
        if (datecount == 3)
2487
            idlesprite = spr_pink_very_hurt;
2488
        explosiontimer = 0;
2489
        explosioncon = 0;
2490
        phaseturns = 0;
2491
        
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; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 25);
2492
        if (datecount != 3)
2493
        {
2494
            with (obj_date_ui)
2495
            {
2496
                con = 3;
2497
                timer = 0;
2498
            }
2499
        }
2500
        if (datecount == 2)
2501
            ghostintrocon = 1;
2502
        if (datecount == 3)
2503
        {
2504
            mus_volume(global.batmusic[0], 0, 15);
2505
            mus_volume(global.batmusic[1], 0, 15);
2506
            global.actsimul[myself][1] = 0;
2507
            global.actsimulsus[myself][0] = 0;
2508
            global.actsimulral[myself][0] = 0;
2509
            global.actsimul[myself][2] = 0;
2510
            global.actsimulsus[myself][1] = 0;
2511
            global.actsimulral[myself][1] = 0;
2512
        }
2513
    }
2514
}
2515
if (datecount == 3 && explosioncon == 0)
2516
{
2517
    explosiontimer++;
2518
    if ((explosiontimer % 40) == 0 && playheartbeatsfx)
2519
        snd_play(snd_heartbeat, 0.8, 1);
2520
    if ((explosiontimer % 90) == 0 && phaseturns < 3)
2521
    {
2522
        doki = irandom(19);
2523
        with (obj_date_ui)
2524
            electricity_con = 1;
2525
    }
2526
}
2527
if (resetralsei == true)
2528
{
2529
    plushiehearttimer++;
2530
    if (plushiehearttimer >= 7)
2531
    {
2532
        plushiehearttimer = 0;
2533
        ralseiheart = instance_create(obj_heroralsei.x + 20 + random(50), obj_heroralsei.y + 25 + random(40), obj_marker);
2534
        ralseiheart.sprite_index = spr_dokiheart;
2535
        ralseiheart.vspeed = -3;
2536
        ralseiheart.friction = 0.08;
2537
        ralseiheart.image_blend = #FF88AA;
2538
        with (ralseiheart)
2539
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 2, 0, 20, "in");
2540
    }
2541
}
2542
if (krishearts == true)
2543
{
2544
    krisheartstimer++;
2545
    if (krisheartstimer >= 10)
2546
    {
2547
        krisheartstimer = 0;
2548
        krisheart = instance_create(obj_herokris.x + random(40), obj_herokris.y + 25 + random(50), obj_marker);
2549
        krisheart.sprite_index = spr_dokiheart;
2550
        krisheart.vspeed = -3;
2551
        krisheart.friction = 0.08;
2552
        krisheart.image_blend = #FF88AA;
2553
        krisheart.image_xscale = 0.5;
2554
        krisheart.image_yscale = 0.5;
2555
        with (krisheart)
2556
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 2, 0, 20, "in");
2557
    }
2558
}
2559
if (susiehearts == true)
2560
{
2561
    susieheartstimer++;
2562
    if (susieheartstimer >= 10)
2563
    {
2564
        susieheartstimer = 0;
2565
        susieheart = instance_create(obj_herosusie.x + random(40), obj_herosusie.y + 25 + random(50), obj_marker);
2566
        susieheart.sprite_index = spr_dokiheart;
2567
        susieheart.vspeed = -3;
2568
        susieheart.friction = 0.08;
2569
        susieheart.image_blend = #FF88AA;
2570
        susieheart.image_xscale = 0.5;
2571
        susieheart.image_yscale = 0.5;
2572
        with (susieheart)
2573
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 2, 0, 20, "in");
2574
    }
2575
}
2576
if (ralseihearts == true)
2577
{
2578
    ralseiheartstimer++;
2579
    if (ralseiheartstimer >= 10)
2580
    {
2581
        ralseiheartstimer = 0;
2582
        ralseiheart = instance_create(obj_heroralsei.x + random(40), obj_heroralsei.y + 25 + random(50), obj_marker);
2583
        ralseiheart.sprite_index = spr_dokiheart;
2584
        ralseiheart.vspeed = -3;
2585
        ralseiheart.friction = 0.08;
2586
        ralseiheart.image_blend = #FF88AA;
2587
        ralseiheart.image_xscale = 0.5;
2588
        ralseiheart.image_yscale = 0.5;
2589
        with (ralseiheart)
2590
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 2, 0, 20, "in");
2591
    }
2592
}
2593
with (obj_marker)
2594
{
2595
    if (sprite_index == spr_board_loveheart && image_alpha <= 0)
2596
        instance_destroy();
2597
}
2598
if (talked == 0.4 && ballooncon == 1 && !i_ex(obj_writer))
2599
{
2600
    introtimer++;
2601
    if (introtimer == -16)
2602
    {
2603
        if (!instance_exists(obj_growtangle))
2604
            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
2605
        if (!instance_exists(obj_moveheart))
2606
            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
2607
    }
2608
    if (introtimer == -4)
2609
        snd_play_x(snd_jump, 1, 1.3);
2610
    if (introtimer == 1)
2611
        idlesprite = spr_pink_ball;
2612
    if (introtimer >= 1 && introtimer < 15)
2613
    {
2614
        var ytarget = lerp(-360, 40, introtimer / 15);
2615
        x = lerp(xstart + 40, camerax() + 280, introtimer / 15);
2616
        y = lerp(ystart + 40, cameray() + ytarget, introtimer / 15);
2617
    }
2618
    if (introtimer == 15)
2619
    {
2620
        snd_stop(snd_pink_laugh_long);
2621
        snd_play_x(snd_pink_laugh_long, 1, 1);
2622
        idlesprite = spr_pink_laugh_pouring;
2623
        image_yscale = 2;
2624
        x = camerax() + 268;
2625
        y = cameray() + 10;
2626
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", cameray() + 10, cameray() + 40, 7, 1, "out");
2627
        with (obj_growtangle)
2628
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", ystart, ystart + 30, 7, 1, "out");
2629
        with (obj_heart)
2630
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, y + 30, 7, 1, "out");
2631
    }
2632
    if (introtimer == 30)
2633
    {
2634
        msgset(0, pink_battle_dialogue5);
2635
        global.typer = 50;
2636
        
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_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x + 80 + 30, (global.monstery[myself] - 119) + 30, 14);
2637
        introtimer = 0;
2638
        talked = 0.41;
2639
    }
2640
}
2641
if (talked == 0.41 && ballooncon == 1 && !i_ex(obj_writer))
2642
{
2643
    introtimer++;
2644
    if (introtimer == 1)
2645
        snd_play_x(snd_slidewhistle, 1, 1.5);
2646
    if (introtimer == 9)
2647
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, x + 50, 11, 2, "out");
2648
    if ((introtimer % 4) == 0 && introtimer > 16 && introtimer < 70)
2649
        droplet = instance_create(x + 2, y + 50, obj_purple_tea);
2650
    if (introtimer == 35)
2651
        intropurple_y = -25;
2652
    if (introtimer == 45)
2653
        intropurple_y = -50;
2654
    if (introtimer == 55)
2655
        intropurple_y = -75;
2656
    if (introtimer == 65)
2657
        intropurple_y = -100;
2658
    if (introtimer == 75)
2659
        intropurple_y = -125;
2660
    if (introtimer == 85)
2661
        intropurple_y = -141;
2662
    if (introtimer >= 80 && introtimer <= 100 && introalpha < 1)
2663
        introalpha += 0.04;
2664
    if (introtimer >= 100)
2665
        introalpha -= 0.04;
2666
    if (introtimer == 100)
2667
    {
2668
        global.monsterattackname[myself] = "purple intro";
2669
        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
2670
        dc.type = 199;
2671
    }
2672
    if (introtimer == 120)
2673
    {
2674
        idlesprite = spr_pink_shocked;
2675
        
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2676
        snd_play(snd_pink_gasp);
2677
        x += 0;
2678
        y = cameray() + 42;
2679
        
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2680
        snd_play(snd_wing);
2681
        snd_play(snd_pink_throw2);
2682
    }
2683
    if (introtimer == 120)
2684
    {
2685
        ballooncon = 2;
2686
        balloonend = 0;
2687
        talked = 0.6;
2688
        introtimer = 0;
2689
    }
2690
}
2691
if (introcon == 2 && !i_ex(obj_writer))
2692
{
2693
    introtimer++;
2694
    if (introtimer == 1)
2695
        snd_play_x(snd_jump, 1, 1.3);
2696
    if (introtimer == 1)
2697
        idlesprite = spr_pink_ball;
2698
    var ytarget = lerp(-360, 0, introtimer / 15);
2699
    x = lerp(camerax() + 320, xstart + 40, introtimer / 15);
2700
    y = lerp(cameray() + 50 + 30, ystart + 40 + ytarget, introtimer / 15);
2701
    if (introtimer == 15)
2702
    {
2703
        snd_play(snd_impact);
2704
        
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4)
{ with (instance_create(x, y, obj_shake)) { shakex = arg0; shakey = arg0; } }
();
2705
        idlesprite = spr_pink_idle;
2706
        introtimer = 0;
2707
        introcon = 3;
2708
        talked = 0;
2709
        x = xstart;
2710
        y = ystart;
2711
        depth = depthstart;
2712
        global.charturn = 0;
2713
        with (obj_growtangle)
2714
            growcon = 3;
2715
        with (obj_heart)
2716
        {
2717
            instance_create(x, y, obj_returnheart);
2718
            instance_destroy();
2719
        }
2720
    }
2721
}
2722
if (doki > dokimax)
2723
    doki = dokimax;
2724
if (spotlightinit == false)
2725
{
2726
    spotlightinit = true;
2727
    if (i_ex(obj_herokris))
2728
    {
2729
        pink_spotlight_kris = instance_create_depth(obj_herokris.x + 22, obj_herokris.y + 106, obj_herokris.depth + 1, obj_pink_spotlight);
2730
        pink_spotlight_kris.sprite_index = spr_pink_spotlight_kris;
2731
        pink_spotlight_kris.image_xscale = 2;
2732
        pink_spotlight_kris.image_yscale = 2;
2733
        pink_spotlight_kris.image_alpha = 0;
2734
    }
2735
    if (i_ex(obj_herosusie))
2736
    {
2737
        pink_spotlight_susie = instance_create_depth(obj_herosusie.x + 52, obj_herosusie.y + 126, obj_herosusie.depth + 1, obj_pink_spotlight);
2738
        pink_spotlight_susie.sprite_index = spr_pink_spotlight_susie;
2739
        pink_spotlight_susie.image_xscale = 2;
2740
        pink_spotlight_susie.image_yscale = 2;
2741
        pink_spotlight_susie.image_alpha = 0;
2742
    }
2743
    if (i_ex(obj_heroralsei))
2744
    {
2745
        pink_spotlight_ralsei = instance_create_depth(obj_heroralsei.x + 53, obj_heroralsei.y + 92, obj_heroralsei.depth + 1, obj_pink_spotlight);
2746
        pink_spotlight_ralsei.sprite_index = spr_pink_spotlight_ralsei;
2747
        pink_spotlight_ralsei.image_xscale = 2;
2748
        pink_spotlight_ralsei.image_yscale = 2;
2749
        pink_spotlight_ralsei.image_alpha = 0;
2750
    }
2751
    pink_spotlight_pink = instance_create_depth(x + 28, y + 82, depth + 1, obj_pink_spotlight);
2752
    pink_spotlight_pink.sprite_index = spr_pink_spotlight_pink;
2753
    pink_spotlight_pink.image_xscale = 2;
2754
    pink_spotlight_pink.image_yscale = 2;
2755
    pink_spotlight_pink.image_alpha = 0;
2756
    instance_create_depth(camerax() + (camerawidth() / 2), cameray() - 120, depth - 1, obj_mewers_live);
2757
    var __a = 0;
2758
    repeat (16)
2759
    {
2760
        dummyinst = instance_create_depth(camerax() + (__a * 51), cameray() - 62, depth + 1000, obj_pink_dummy);
2761
        dummyinst.sprite_index = spr_pink_bg_dummy;
2762
        dummyinst.image_xscale = 2;
2763
        dummyinst.image_yscale = 2;
2764
        dummyinst.type = "bg";
2765
        dummyinst.wavetimer = __a * 4;
2766
        dummyinst.wavecon = __a;
2767
        __a++;
2768
    }
2769
    __a = 0;
2770
    repeat (8)
2771
    {
2772
        dummyinst = instance_create_depth(camerax() + (__a * 121), cameray() + 480 + 140, obj_battlecontroller.depth + 1, obj_pink_dummy);
2773
        dummyinst.sprite_index = spr_pink_fg_dummy;
2774
        dummyinst.image_xscale = 2;
2775
        dummyinst.image_yscale = 2;
2776
        dummyinst.type = "fg";
2777
        dummyinst.wavetimer = __a * 8;
2778
        dummyinst.wavecon = __a;
2779
        __a++;
2780
    }
2781
}
2782
var spread_range = 500;
2783
var _cx = camerax() + 100;
2784
var _cy = cameray() - 100;
2785
var _mcx = camerax() + camerawidth();
2786
var _random = random(spread_range);
2787
freezable++;
2788
if (freezable == 5 && datecount < 3)
2789
{
2790
    drop_petal(((_cx + 640) - (spread_range * 0.65)) + _random, (_cy - (spread_range * 0.5)) + _random, true, -12, 1);
2791
    freezable = 0;
2792
}
2793
if (global.mnfight == 0)
2794
{
2795
    if (pink_bg_con != 1)
2796
        mewerslive_y_con = 2;
2797
    pink_bg_con = 1;
2798
}
2799
if ((global.mnfight != 0 && global.turntimer > 0) || (i_ex(obj_date_ui) && obj_date_ui.con > 0))
2800
    pink_bg_con = 3;
2801
var _hide = false;
2802
if (introcon == 2 || (introcon == 1 && idlesprite == spr_pink_laugh) || ballooncon == 2 || ballooncon == 3 || ballooncon == 4 || talked == 0.41 || (talked == 0.4 && ballooncon == 1 && !i_ex(obj_writer) && introtimer > 2) || 
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk"))
2803
    _hide = true;
2804
if (pink_bg_con == 1 && !_hide)
2805
{
2806
    if (datecount != 3)
2807
    {
2808
        with (obj_marker_doomed)
2809
            image_alpha = lerp(image_alpha, 1, 0.3);
2810
    }
2811
    with (pink_spotlight_kris)
2812
        image_alpha = lerp(image_alpha, 1, 0.3);
2813
    with (pink_spotlight_susie)
2814
        image_alpha = lerp(image_alpha, 1, 0.3);
2815
    with (pink_spotlight_ralsei)
2816
        image_alpha = lerp(image_alpha, 1, 0.3);
2817
    with (pink_spotlight_pink)
2818
        image_alpha = lerp(image_alpha, 1, 0.3);
2819
    with (obj_pink_dummy)
2820
    {
2821
        if (vspeed == 0)
2822
        {
2823
            if (type == "bg")
2824
                yoffset = lerp(yoffset, 124, 0.1);
2825
            if (type == "fg")
2826
                yoffset = lerp(yoffset, -300, 0.1);
2827
        }
2828
    }
2829
    if (introcon == 3 && datecount < 3)
2830
    {
2831
        with (obj_mewers_live)
2832
            y = lerp(y, ystart + other.mewerslive_y_target, 0.1);
2833
    }
2834
}
2835
if (mewerslive_y_con == 1)
2836
{
2837
    mewerslive_y_timer++;
2838
    mewerslive_y_target = lerp(400, 120, mewerslive_y_timer / 8);
2839
    if (mewerslive_y_timer == 8)
2840
    {
2841
        mewerslive_y_timer = 0;
2842
        mewerslive_y_con = 0;
2843
    }
2844
}
2845
if (mewerslive_y_con == 2)
2846
{
2847
    mewerslive_y_timer++;
2848
    mewerslive_y_target = lerp(460, 120, mewerslive_y_timer / 8);
2849
    if (mewerslive_y_timer == 8)
2850
    {
2851
        mewerslive_y_timer = 0;
2852
        mewerslive_y_con = 0;
2853
    }
2854
}
2855
if (pink_bg_con == 3 || datecount == 3 || _hide)
2856
{
2857
    pink_bg_timer++;
2858
    with (obj_marker_doomed)
2859
        image_alpha = lerp(image_alpha, 0, 0.3);
2860
    with (obj_pink_spotlight)
2861
        image_alpha = lerp(image_alpha, 0, 0.3);
2862
    with (obj_pink_dummy)
2863
    {
2864
        if (type == "bg")
2865
            yoffset = lerp(yoffset, 0, 0.1);
2866
        if (type == "fg")
2867
            yoffset = lerp(yoffset, 0, 0.1);
2868
    }
2869
    with (obj_mewers_live)
2870
        y = lerp(y, ystart - 90, 0.1);
2871
}
2872
if (pink_bg_con == 0)
2873
{
2874
    with (obj_marker_doomed)
2875
        image_alpha = lerp(image_alpha, 0, 0.3);
2876
}
2877
dummy_pattern_timer++;
2878
if (dummy_pattern_timer >= 120)
2879
{
2880
    dummy_pattern_timer = 0;
2881
    with (obj_pink_dummy)
2882
        wavetimer = 0;
2883
    dummy_pattern = choose("wave", "wave", "wave", "every other jump", "glowstick up and down");
2884
    if (dummy_pattern == "glowstick up and down")
2885
    {
2886
        with (obj_pink_dummy)
2887
            wavetimer = -10;
2888
    }
2889
    if (dummy_pattern == "wave")
2890
    {
2891
        with (obj_pink_dummy)
2892
            wavetimer = -10;
2893
    }
2894
    if (dummy_pattern == "wave")
2895
    {
2896
        with (obj_pink_dummy)
2897
            wavetimer = wavecon * 4;
2898
    }
2899
    if (dummy_pattern == "glowstick wave")
2900
    {
2901
        with (obj_pink_dummy)
2902
            wavetimer = wavecon * 3;
2903
    }
2904
}
2905
2906
enum e__VW
2907
{
2908
    XView,
2909
    YView,
2910
    WView,
2911
    HView,
2912
    Angle,
2913
    HBorder,
2914
    VBorder,
2915
    HSpeed,
2916
    VSpeed,
2917
    Object,
2918
    Visible,
2919
    XPort,
2920
    YPort,
2921
    WPort,
2922
    HPort,
2923
    Camera,
2924
    SurfaceID
2925
}