Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_timer_attacks_tellyvis_solo

(view raw script w/o annotations or w/e)
1
function scr_enemy_timer_attacks_tellyvis_solo
scr_enemy_timer_attacks_tellyvis_solo

function scr_enemy_timer_attacks_tellyvis_solo() //gml_Script_scr_enemy_timer_attacks_tellyvis_solo { var enemy_attack = global.enemy_attack if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) { if (enemy_attack == "Tellyvis Logo" && (!instance_exists(obj_battle_enemy_attack_tellyvis_logo))) instance_create(320, 280, obj_battle_enemy_attack_tellyvis_logo) if (enemy_attack == "Tellyvis Remote" && (!instance_exists(obj_battle_enemy_attack_tellyvis_remote_generator))) instance_create(320, 280, obj_battle_enemy_attack_tellyvis_remote_generator) if (enemy_attack == "Tellyvis Tape" && (!instance_exists(obj_battle_enemy_attack_tellyvis_tape_generator))) instance_create(320, 280, obj_battle_enemy_attack_tellyvis_tape_generator) } }
() //gml_Script_scr_enemy_timer_attacks_tellyvis_solo
2
{
3
    var enemy_attack = global.enemy_attack
4
    if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
5
    {
6
        if (enemy_attack == "Tellyvis Logo" && (!instance_exists(obj_battle_enemy_attack_tellyvis_logo)))
7
            instance_create(320, 280, obj_battle_enemy_attack_tellyvis_logo)
8
        if (enemy_attack == "Tellyvis Remote" && (!instance_exists(obj_battle_enemy_attack_tellyvis_remote_generator)))
9
            instance_create(320, 280, obj_battle_enemy_attack_tellyvis_remote_generator)
10
        if (enemy_attack == "Tellyvis Tape" && (!instance_exists(obj_battle_enemy_attack_tellyvis_tape_generator)))
11
            instance_create(320, 280, obj_battle_enemy_attack_tellyvis_tape_generator)
12
    }
13
}