Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dbgencounter_Mouse_0

(view raw script w/o annotations or w/e)
1
global.testnumber = number
2
with (obj_dbgencounter)
3
{
4
    if (number != global.testnumber)
5
        instance_destroy()
6
}
7
global.scriptedEnemy = true
8
global.randomEnemy = number
9
image_alpha = 0
10
room_goto(rm_battle Battle room)