Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_train_checker_Alarm_0

(view raw script w/o annotations or w/e)
1
var box = 3154
2
var soul = obj_heart_battle_fighting_red
3
if ((train_count % 2) == 0)
4
    instance_create(320, soul.y, obj_battle_enemy_attack_starlo_train_tracks)
5
else
6
{
7
    var tracks = instance_create(soul.x, 320, obj_battle_enemy_attack_starlo_train_tracks)
8
    tracks.image_angle = 90
9
    tracks.direction = 90
10
}
11
train_count--
12
if (train_count <= 0)
13
    instance_destroy()
14
else
15
    alarm[0] = 25
alarm[0]

var box = 3154 var soul = obj_heart_battle_fighting_red if ((train_count % 2) == 0) instance_create(320, soul.y, obj_battle_enemy_attack_starlo_train_tracks) else { var tracks = instance_create(soul.x, 320, obj_battle_enemy_attack_starlo_train_tracks) tracks.image_angle = 90 tracks.direction = 90 } train_count-- if (train_count <= 0) instance_destroy() else alarm[0] = 25