Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_b4_chef_spawner_Alarm_0

(view raw script w/o annotations or w/e)
1
alarm[0]
 = 210 - (130 * ((obj_ch3_b4_chef_controller.timer_max - obj_ch3_b4_chef_controller.timer) / obj_ch3_b4_chef_controller.timer_max));
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
var _max = obj_ch3_b4_chef_controller.timer_max;
3
var _t = clamp(obj_ch3_b4_chef_controller.timer, 15, _max);
4
var _r = (_max - _t) / _max;
5
alarm[0]
 = (57 - (30 * _r)) / 2;
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); }
6
var fire = instance_create(x, y, obj_ch3_b4_chef_fire);
7
with (fire)
8
{
9
    side = other.side;
10
    gravity_direction = 90 + (90 * side);
11
}