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_oCamera_Other_4.gml

50 lines
928 B

switch room
{
case rm_a3a20:
case 369:
case 337:
case 95:
limit = 160
break
case 128:
if (global.event[152] > 0)
{
limit = (floor((oControl.widescreen_space / 2)) + 160)
break
}
else
{
targetwidth = 320
limit = 160
break
}
default:
limit = (floor((oControl.widescreen_space / 2)) + 160)
break
}
if (global.transitiontype == 1)
{
if (global.destination != undefined)
{
with (global.destination)
{
global.camstartx = x
global.camstarty = y
}
}
x = global.camstartx
y = global.camstarty
lockx = 0
locky = 0
focus = 0
ratiox = 4
ratioy = 4
}
if (global.transitiontype == 0 && instance_exists(oWarpPipeTrigger))
{
x = global.camstartx
y = global.camstarty
}
roomstart = 1