You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2Rogue/Export_Code/gml_Object_oMapScrBG2_Step_...

22 lines
452 B

if (active && oControl.kStart && oControl.kStartPushedSteps == 0)
{
fadeout = 1
active = 0
instance_create(0, 0, oMapScrBG3)
}
if fadeout
rectoffset += 2
if (ealpha < 1 && fadeout == 0)
ealpha += 0.05
if (ealpha > 0 && fadeout)
ealpha -= 0.05
if (ealpha >= 1 && fadeout == 0)
active = 1
if (ealpha <= 0 && fadeout)
{
global.ingame = 1
global.transitiontype = 3
room_goto(global.currentroom)
Unmute_Loops()
}