Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_overworld_bulletarea_Create_0

(view raw script w/o annotations or w/e)
1
showArea = scr_debug
scr_debug

function scr_debug() { return 0; }
() ? 1 : 0;
2
image_alpha = 0;
3
depth = 777777;
4
keepHidden = 0;
5
active = 0;
6
cancel = 0;
7
onlyActiveIfBulletsExist = 0;
8
onlyActiveIfSpecialObjectExists = 0;
9
specialObject = 0;
10
checkid = id;
11
extflag = 0;
12
timer = 0;
13
ignorebuffer = 0;
14
if (!i_ex(obj_battlealphaer))
15
    instance_create(0, 0, obj_battlealphaer);
16
if (!i_ex(obj_battleLayerHighlight))
17
    instance_create(0, 0, obj_battleLayerHighlight);
18
if (showArea == 0)
19
    image_alpha = 0;
20
if (showArea == 1 && scr_debug
scr_debug

function scr_debug() { return 0; }
())
21
    image_alpha = 0.1;
22
checkid = id;