Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_train_checker_Create_0

(view raw script w/o annotations or w/e)
1
train_count = 7
2
alarm[0] = 15
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
3
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() //gml_Script_scr_enable_battle_box_surface { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer) }
()