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

15 lines
356 B

event_inherited()
global.SuitChange = 1
if collision_line((x + 8), (y - 8), (x + 8), (y - 32), oSolid, false, true)
global.SuitChange = 0
if (!(collision_point((x + 8), (y + 8), oSolid, 0, 1)))
global.SuitChange = 0
global.SuitChangeX = x
global.SuitChangeY = y
global.SuitChangeGravity = 1
if active
{
with (oCharacter)
alarm[4] = 1
}