Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_moray_sword_spin_Create_0

(view raw script w/o annotations or w/e)
1
attack_state = 1
2
no_loop = false
3
pseudo_random_number = 3
4
pseudo_random_max = 3
5
sword_color = "none"
6
_y_sin_current = 0
7
image_speed = 0
8
depth = -999999
9
var battle_box = obj_dialogue_box_battle_transformation_any
10
fly_path = path_add()
11
path_add_point(fly_path, battle_box.x, y, 15)
12
path_add_point(fly_path, battle_box.x, battle_box.y, 100)
13
path_add_point(fly_path, battle_box.x, (battle_box.y + (battle_box.y - y)), 15)
14
path_set_closed(fly_path, false)
15
alarm[0] = 270
alarm[0]

instance_destroy()