Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sousborg_encoutner_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (place_meeting(x, y, obj_pl) && npc_flag == 0)
3
{
4
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
5
    instance_create((obj_pl.x - 4), (obj_pl.y - 26), obj_exclamation_mark)
6
    global.battle_enemy_name = "sousborg"
7
    global.current_room_overworld = room_get_name(room)
8
    global.battling_boss = false
9
    global.sound_carry_overworld = false
10
    global.battle_start = true
11
    npc_flag = 1
12
}