Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_b4_chef_spawner_Create_0

(view raw script w/o annotations or w/e)
1
alarm[0]
 = 30 + irandom(30);
gml_Object_obj_ch3_b4_chef_spawner_Alarm_0.gml

alarm[0]
 = 210 - (130 * ((obj_ch3_b4_chef_controller.timer_max - obj_ch3_b4_chef_controller.timer) / obj_ch3_b4_chef_controller.timer_max));
var _max = obj_ch3_b4_chef_controller.timer_max; var _t = clamp(obj_ch3_b4_chef_controller.timer, 15, _max); var _r = (_max - _t) / _max; alarm[0]
 = (57 - (30 * _r)) / 2;
var fire = instance_create(x, y, obj_ch3_b4_chef_fire); with (fire) { side = other.side; gravity_direction = 90 + (90 * side); }
2
mode = 0;
3
firedie = false;
4
no_fire = false;
5
freq = 45;
6
side = 1;