Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_big_frogs_creator_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
var battle_box = 3154;
4
instance_create_depth(battle_box.bbox_left + 30, battle_box.y, -100, obj_battle_enemy_attack_bigfrog_herofly);
5
var frog1 = instance_create_depth(battle_box.bbox_left + 15, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_macro_big_frog);
6
frog1.image_xscale = -1;
7
frog1.alarm[0] = 30;
8
var frog2 = instance_create_depth(battle_box.bbox_right - 30, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_macro_big_frog);
9
frog2.alarm[0] = 90;
10
alarm[1] = 210;
gml_Object_obj_battle_enemy_attack_macro_big_frogs_creator_Alarm_1.gml

if (live_call()) return global.live_result; instance_destroy();
11
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); }
();