Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_train_tracks_Create_0

(view raw script w/o annotations or w/e)
1
image_alpha = 0
2
image_alpha_max = 0.8
3
alarm[0] = 15
alarm[0]

instance_create((x + (lengthdir_x((train_direction * 55), direction))), (y + (lengthdir_y((train_direction * 55), direction))), obj_battle_enemy_attack_starlo_train_warning) alarm[1] = 25
4
train_direction = choose(-1, 1)
5
fade_out = false