Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_bell_enemy_Step_0

(view raw script w/o annotations or w/e)
1
if (global.monster[myself] == 1)
2
{
3
    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)
4
    {
5
        
scr_randomtarget
scr_randomtarget

function
scr_randomtarget()
{ abletotarget = 1; if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0) abletotarget = 0; mytarget = choose(0, 1, 2); if (abletotarget == 1) { while (global.charcantarget[mytarget] == 0) mytarget = choose(0, 1, 2); } else { mytarget = 3; } global.targeted[mytarget] = 1; if (global.chapter >= 2 && mytarget != 3) { if (global.charcantarget[0]) global.targeted[0] = 1; if (global.charcantarget[1]) global.targeted[1] = 1; if (global.charcantarget[2]) global.targeted[2] = 1; mytarget = 4; } }
();
6
        myattackchoice = 0;
7
        myattackpriority = 1;
8
        if (myattackchoice == 2)
9
            myattackpriority = 50;
10
        
scr_attackpriority
scr_attackpriority

function
scr_attackpriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.attackpriority < arg0) { obj_battlecontroller.attackpriority = arg0; return true; } else { return false; } } else { return false; } }
(myattackpriority - 1);
11
        if (!instance_exists(obj_darkener))
12
            instance_create(0, 0, obj_darkener);
13
        global.typer = 50;
14
        rr = choose(0, 1, 2, 3);
15
        if (rr == 0)
16
            msgsetloc(0, 
Bubell,
bubell,
toil and
trubell.
"Bubell, &bubell,&toil and&trubell.", "obj_bell_enemy_slash_Step_0_gml_27_0"
);
17
        if (rr == 1)
18
            msgsetloc(0, 
Trembell
with
trebell.
"Trembell&with&trebell.", "obj_bell_enemy_slash_Step_0_gml_28_0"
);
19
        if (rr == 2)
20
            msgsetloc(0, 
Wobbell,
rumbell,
tinkle and
tumbell!
"Wobbell,&rumbell,&tinkle and&tumbell!", "obj_bell_enemy_slash_Step_0_gml_29_0"
);
21
        if (rr == 3)
22
            msgsetloc(0, 
Lament-a-bell,
Miser-a-bell,
Un-stop-a-bell!
"Lament-a-bell,&Miser-a-bell,&Un-stop-a-bell!", "obj_bell_enemy_slash_Step_0_gml_30_0"
);
23
        if (global.mercymod[myself] >= 100)
24
            msgsetloc(0, 
I am humbelled.
"I am humbelled.", "obj_bell_enemy_slash_Step_0_gml_31_0"
);
25
        
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_z; return myblcon; } }
(x - 6, y + 50, 10);
26
        talked = 1;
27
        talktimer = 0;
28
        rtimer = 0;
29
        talksoundcon = 1;
30
    }
31
    if (talksoundcon == 1)
32
    {
33
        talksoundtimer++;
34
        if ((talksoundtimer % 8) == 0)
35
        {
36
            snd_stop(snd_musicbox);
37
            snd_play(snd_musicbox, 0.35, 0.7 + random(0.6));
38
        }
39
        if (talksoundtimer == 24)
40
        {
41
            talksoundtimer = 7;
42
            talksoundcon = 0;
43
        }
44
    }
45
    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"))
46
        
scr_blconskip
scr_blconskip

function
scr_blconskip(arg0)
{ if (arg0 >= 0) { if (button1_p() && talktimer > arg0) talktimer = talkmax; talktimer += 1; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); with (obj_guei_balloon) instance_destroy(); global.mnfight = 1.5; } } else if (arg0 == -1) { if (instance_exists(obj_writer) == false) global.mnfight = 1.5; } else if (arg0 == -2) { talktimer += 1; if (talktimer > 15) talktimer = talkmax; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); with (obj_guei_balloon) instance_destroy(); global.mnfight = 1.5; } } }
(15);
47
    if (global.mnfight == 1.5)
48
    {
49
        snd_stop(snd_musicbox);
50
        if (
scr_attackpriority
scr_attackpriority

function
scr_attackpriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.attackpriority < arg0) { obj_battlecontroller.attackpriority = arg0; return true; } else { return false; } } else { return false; } }
(myattackpriority))
51
        {
52
            if (!instance_exists(obj_growtangle))
53
                instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
54
            if (!instance_exists(obj_moveheart))
55
                
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; if (global.chapter == 4 && (i_ex(obj_hammer_of_justice_enemy) || i_ex(obj_sound_of_justice_enemy))) return instance_create(obj_herosusie.x - 250, obj_herosusie.y + 40, obj_moveheart); else return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
56
            global.mnfight = 2;
57
            
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(90);
58
        }
59
    }
60
    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)
61
    {
62
        rtimer += 1;
63
        if (rtimer == 12)
64
        {
65
            if (myattackchoice == 0)
66
            {
67
                global.monsterattackname[myself] = "Pendulumattack";
68
                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);
69
                dc.type = 300;
70
            }
71
            else if (myattackchoice == 1)
72
            {
73
                state = 10;
74
            }
75
            
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(220);
76
            turns += 1;
77
            global.typer = 6;
78
            global.fc = 0;
79
            rr = choose(0, 1, 2, 3);
80
            if (
scr_messagepriority
scr_messagepriority

function
scr_messagepriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.messagepriority < arg0) { obj_battlecontroller.messagepriority = arg0; return true; } else { return false; } } else { return false; } }
(random(2)))
81
            {
82
                if (rr == 0)
83
                    global.battlemsg[0] = stringsetloc(
* Wicabel rings a haunting hex.
"* Wicabel rings a haunting hex.", "obj_bell_enemy_slash_Step_0_gml_114_0"
);
84
                if (rr == 1)
85
                    global.battlemsg[0] = stringsetloc(
* Wicabel creates a cursing clamor.
"* Wicabel creates a cursing clamor.", "obj_bell_enemy_slash_Step_0_gml_115_0"
);
86
                if (rr == 2)
87
                    global.battlemsg[0] = stringsetloc(
* Wicabel spins like a musicbox ballerina.
"* Wicabel spins like a musicbox ballerina.", "obj_bell_enemy_slash_Step_0_gml_116_0"
);
88
                if (rr == 3)
89
                    global.battlemsg[0] = stringsetloc(
* Wicabel emits classical music.
"* Wicabel emits classical music.", "obj_bell_enemy_slash_Step_0_gml_117_0"
);
90
                if (irandom(100) < 3)
91
                    global.battlemsg[0] = stringsetloc(
* Smells like damp wood and rust.
"* Smells like damp wood and rust.", "obj_bell_enemy_slash_Step_0_gml_118_0"
);
92
            }
93
            if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3))
94
            {
95
                if (
scr_messagepriority
scr_messagepriority

function
scr_messagepriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.messagepriority < arg0) { obj_battlecontroller.messagepriority = arg0; return true; } else { return false; } } else { return false; } }
(100 + random(2)))
96
                    global.battlemsg[0] = stringsetloc(
* Wicabel harkens hexes hoarsely.
"* Wicabel harkens hexes hoarsely.", "obj_bell_enemy_slash_Step_0_gml_123_0"
);
97
            }
98
            if (global.mercymod[myself] >= 100)
99
            {
100
                if (
scr_messagepriority
scr_messagepriority

function
scr_messagepriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.messagepriority < arg0) { obj_battlecontroller.messagepriority = arg0; return true; } else { return false; } } else { return false; } }
(100 + random(2)))
101
                    global.battlemsg[0] = stringsetloc(
* Wicabel plays peacefully.
"* Wicabel plays peacefully.", "obj_bell_enemy_slash_Step_0_gml_128_0"
);
102
            }
103
            if (global.monsterstatus[myself] == 1)
104
            {
105
                if (
scr_messagepriority
scr_messagepriority

function
scr_messagepriority(arg0)
{ if (i_ex(obj_battlecontroller)) { if (obj_battlecontroller.messagepriority < arg0) { obj_battlecontroller.messagepriority = arg0; return true; } else { return false; } } else { return false; } }
(102 + random(2)))
106
                    global.battlemsg[0] = stringsetloc(
* Wicabel chimes a sleeping spell.
"* Wicabel chimes a sleeping spell.", "obj_bell_enemy_slash_Step_0_gml_133_0"
);
107
            }
108
            attacked = 1;
109
        }
110
    }
111
}
112
if (global.myfight == 3)
113
{
114
    xx = __view_get(e__VW.XView, 0);
115
    yy = __view_get(e__VW.YView, 0);
116
    var _tuning_string = stringsetloc(
* Press button with the right timing!
"* Press button with the right timing!", "obj_bell_enemy_slash_Step_0_gml_165_0"
);
117
    if (acting == 1 && actcon == 0)
118
    {
119
        actcon = 1;
120
        msgsetloc(0, 
* WICABEL - A metal mage. When out of tune, she's unpredictabell.Wait for inputClose Message
"* WICABEL - A metal mage. When out of tune, she's unpredictabell./%", "obj_bell_enemy_slash_Step_0_gml_155_0"
);
121
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
122
    }
123
    if (acting == 2 && actcon == 0)
124
    {
125
        acting = 20.4;
126
        msgset(0, _tuning_string);
127
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
128
    }
129
    if (acting == 20.4 && actcon == 0 && i_ex(obj_writer) && obj_writer.reachedend == 1)
130
    {
131
        instance_create(camerax() + 304, cameray() + 80, obj_bell_enemy_tuning_fork);
132
        box = instance_create(camerax() + 320, cameray() + 220, obj_bell_enemy_tuning_box);
133
        box.parentid = id;
134
        acting = 21;
135
    }
136
    if (acting == 3 && actcon == 0)
137
    {
138
        acting = 20.5;
139
        msgset(0, _tuning_string);
140
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
141
    }
142
    if (acting == 20.5 && actcon == 0 && i_ex(obj_writer) && obj_writer.reachedend == 1)
143
    {
144
        instance_create(camerax() + 304, cameray() + 80, obj_bell_enemy_tuning_fork);
145
        box = instance_create(camerax() + 320, cameray() + 220, obj_bell_enemy_tuning_box);
146
        box.parentid = id;
147
        box.loudringing = 1;
148
        acting = 21;
149
    }
150
    if (acting == 21 && !i_ex(obj_bell_enemy_tuning_box))
151
    {
152
        var txt = stringsetloc(

* All musical ACTs became stronger!Wait for inputClose Message
"&* All musical ACTs became stronger!/%", "obj_bell_enemy_slash_Step_0_gml_170_0"
);
153
        if (tuningactsuccess == 1)
154
            msgsetsubloc(0, "* Perfectly in tune!~1", txt, "obj_bell_enemy_slash_Step_0_gml_172_0");
155
        else if (tuningactsuccess == 2)
156
            msgsetsubloc(0, "* Somewhat in tune!~1", txt, "obj_bell_enemy_slash_Step_0_gml_199_0");
157
        else
158
            msgsetsubloc(0, "* A bit off-tune!~1", txt, "obj_bell_enemy_slash_Step_0_gml_173_0");
159
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
160
        actcon = 1;
161
        acting = 0;
162
    }
163
    if (actingsus == 1 && actconsus == 1)
164
    {
165
        msgsetloc(0, 
* Susie hammers a bell!Wait for inputClose Message
"* Susie hammers a bell!/%", "obj_bell_enemy_slash_Step_0_gml_192_0"
);
166
        
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]++; }
(myself, 40);
167
        
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");
168
        if (simulordersus == 0)
169
            actconsus = 20;
170
        else
171
            actconsus = 0;
172
    }
173
    if (actingral == 1 && actconral == 1)
174
    {
175
        msgsetloc(0, 
* Ralsei tapped a bell!Wait for inputClose Message
"* Ralsei tapped a bell!/%", "obj_bell_enemy_slash_Step_0_gml_201_0"
);
176
        
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]++; }
(myself, 20);
177
        
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");
178
        if (simulorderral == 0)
179
            actconral = 20;
180
        else
181
            actconral = 0;
182
    }
183
    if (actcon == 20 || actconsus == 20 || actconral == 20)
184
    {
185
        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; }
())
186
        {
187
            actconsus = -1;
188
            actconral = -1;
189
            actcon = 1;
190
        }
191
    }
192
    if (actcon == 1 && !instance_exists(obj_writer))
193
        
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 (i_ex(obj_sound_of_justice_enemy) && obj_sound_of_justice_enemy.phase == 1) { global.charturn = 3; global.myfight = 3; global.currentactingchar = 0; if (global.acting[0] == 0)
scr_nextact();
if (global.acting[0] == 1 && global.actingsimul[0] == 1)
scr_act_simul();
exit; } 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();
} }
();
194
}
195
if (state == 3)
196
{
197
    
scr_enemyhurt_tired_after_damage
scr_enemyhurt_tired_after_damage

function
scr_enemyhurt_tired_after_damage(arg0)
{ if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * arg0))
scr_monster_make_tired(myself);
}
(0.5);
198
    
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; } } }
();
199
}
200
201
enum e__VW
202
{
203
    XView,
204
    YView,
205
    WView,
206
    HView,
207
    Angle,
208
    HBorder,
209
    VBorder,
210
    HSpeed,
211
    VSpeed,
212
    Object,
213
    Visible,
214
    XPort,
215
    YPort,
216
    WPort,
217
    HPort,
218
    Camera,
219
    SurfaceID
220
}