Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_ff_2_checker_Create_0

(view raw script w/o annotations or w/e)
1
x_center = obj_dialogue_box_battle_transformation_any.x
2
y_center = obj_dialogue_box_battle_transformation_any.y
3
feather_angle_radius = obj_dialogue_box_battle_transformation_any.bbox_right - x_center + 100
4
feather_angle_master = 90
5
feather_angle_speed = 60
6
feather_angle_total = 0
7
feather_angle_total_max = 180
8
feather_count = 0
9
feather_create_max = 3
10
no_loop_destroy = false
11
var random_number = 2
12
switch random_number
13
{
14
    case 1:
15
        feather_sprite = 2273
16
        break
17
    case 2:
18
        feather_sprite = 2274
19
        break
20
    case 3:
21
        feather_sprite = 2275
22
        break
23
    case 4:
24
        feather_sprite = 2276
25
        break
26
    case 5:
27
        feather_sprite = 2278
28
        break
29
    default:
30
        feather_sprite = 2273
31
}
32
33
event_user(0)