Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_bull_cape_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0
2
image_index = 0
3
default_imspd = (1/3)
4
can_disappear = false
5
box = obj_dialogue_box_battle_transformation_any
6
generator = obj_battle_enemy_attack_bowll_bull_generator
7
image_angle = generator.cape_dir
8
if (image_angle == 0)
9
{
10
    x_dir = -1
11
    y_dir = 0
12
}
13
else if (image_angle == 90)
14
{
15
    x_dir = 0
16
    y_dir = 1
17
}
18
else if (image_angle == 180)
19
{
20
    x_dir = 1
21
    y_dir = 0
22
}
23
else
24
{
25
    x_dir = 0
26
    y_dir = -1
27
}
28
global.id_store = id
29
instance_create((x + (box.sprite_width + 2 * generator.c_distance) * x_dir), (y + (box.sprite_height + 2 * generator.c_distance) * y_dir), obj_battle_enemy_attack_bowll_bull_bull)
30
id_bull = global.id_store