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

13 lines
296 B

if collision_point(x, y, oDoor, 0, 1)
exit
if (state == 2 && dontfollow == 0 && oCharacter.monster_drain == 0)
{
if (room != rm_a7b05 || oCharacter.x > 144 || oCharacter.y > 80)
{
state = 3
statetime = 0
with (oCharacter)
monster_drain = 1
}
}