image_alpha = 0
image_alpha_max = 0.8
alarm[0] = 15alarm[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
train_direction = choose(-1, 1)
fade_out = false