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_oCharacter_Other...

27 lines
881 B

if (room != rm_transition)
{
if (!is_undefined(global.destination))
{
with (global.destination)
{
if (global.direction == 0)
global.targetx = (x + 16)
else
global.targetx = (x - 16)
global.targety = y
}
}
x = (global.targetx + global.offsetx)
y = (global.targety + global.offsety)
if (global.event[304] == 1)
{
if ((!instance_exists(oHatchling)) && (!instance_exists(oHatchlingIntro)))
instance_create(x, (y - 16), oHatchling)
}
if (oControl.mod_earlybaby == 1 && global.event[304] == 0 && (!instance_exists(oHatchling)) && room_get_name(room) != "rm_a7c01")
instance_create(x, (y - 16), oHatchling)
spawn_random_septogg(1, max(1, floor((room_width / 500)), floor((room_height / 500))), 18)
alarm[11] = 1
}
xGlow = 0