Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_spray_bottle_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_speed = 0
4
image_alpha = 0
5
alarm[0] = 2
alarm[0]

if live_call() return global.live_result; if (image_alpha < 1) { image_alpha += 0.2 alarm[0] = 2 } else alarm[1] = 15
6
alarm[2] = room_speed * 7
alarm[2]

instance_destroy()
7
rad_current = 0
8
rad_inc = 0.05
9
move_range = 30
10
spray_interval = 20
11
spray_amount = 4
12
instance_create((obj_dialogue_box_battle_transformation_any.bbox_left - 25), obj_dialogue_box_battle_transformation_any.y, obj_battle_enemy_attack_jandroid_slippery_floor_warning)