Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_steam_walls_spin_Alarm_0

(view raw script w/o annotations or w/e)
1
var no_puff;
2
var xx = battle_box.bbox_left + 4 + 11
3
var x_offset = 48
4
var yy = battle_box.bbox_bottom + 40
5
var puff_count = 3
6
last_puff = no_puff
7
for (var i = 0; i < puff_count; i++)
8
{
9
    if (i != no_puff)
10
    {
11
        var steam = instance_create_depth((xx + x_offset * i), yy, -100, obj_battle_enemy_attack_smoke_puff_axis)
12
        steam.speed_inc = steam.speed_max
13
    }
14
}
15
alarm[0] = attack_interval
alarm[0]

var no_puff; var xx = battle_box.bbox_left + 4 + 11 var x_offset = 48 var yy = battle_box.bbox_bottom + 40 var puff_count = 3 last_puff = no_puff for (var i = 0; i < puff_count; i++) { if (i != no_puff) { var steam = instance_create_depth((xx + x_offset * i), yy, -100, obj_battle_enemy_attack_smoke_puff_axis) steam.speed_inc = steam.speed_max } } alarm[0] = attack_interval