Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_slippery_floor_generator_Create_0

(view raw script w/o annotations or w/e)
1
attack_interval = 40;
2
alarm[0] = 15;
gml_Object_obj_battle_enemy_attack_jandroid_slippery_floor_generator_Alarm_0.gml

var box = 3154; instance_create_depth(box.bbox_left + 10, box.bbox_top + 24, obj_heart_battle_fighting_parent.depth - 1, obj_attack_warning_exclamation_mark); instance_create_depth(box.bbox_right - 10, box.y, obj_heart_battle_fighting_parent.depth - 1, obj_attack_warning_exclamation_mark); instance_create_depth(box.bbox_left + 10, box.bbox_bottom - 24, obj_heart_battle_fighting_parent.depth - 1, obj_attack_warning_exclamation_mark); alarm[1] = 15;
3
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer); }
();
4
alarm[2] = room_speed * 7;
5
if (global.battle_enemy_name == "jandroid goosic duo")
6
    instance_create(obj_dialogue_box_battle_transformation_any.bbox_left - 90, obj_dialogue_box_battle_transformation_any.y, obj_battle_enemy_attack_jandroid_slippery_floor_warning);
7
else
8
    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);