Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_snowdin_21_Alarm_1

(view raw script w/o annotations or w/e)
1
instance_create(obj_pl.x, obj_pl.y, obj_heart_initiate_battle)
2
global.battle_enemy_name = "martlet pacifist"
3
global.battling_enemy = false
4
global.battling_boss = true
5
global.battle_start = true
6
global.current_room_overworld = room_get_name(room)
7
if (global.geno_complete[2] == false && global.route == 3)
8
    global.route = 1