Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_battletester_Create_0

(view raw script w/o annotations or w/e)
1
encountermax = 999;
2
encountermin = 1;
3
global.darkzone = 1;
4
if (global.chapter == 0 || global.chapter == 2)
5
{
6
    encountermin = 50;
7
    encountermax = 999;
8
}
9
if (global.chapter == 3)
10
{
11
    encountermin = 110;
12
    encountermax = 999;
13
}
14
if (global.chapter == 4)
15
{
16
    encountermin = 150;
17
    encountermax = 999;
18
}
19
global.encounterno = clamp(global.encounterno, encountermin, encountermax);
20
if (instance_exists(obj_chaseenemy))
21
    obj_chaseenemy.radius = 2;
22
global.flag[34 disable_monster_acts] = 0;
23
global.tempflag[100] = 0;