if (instance_number(oMonster) == 0) { with (oDoor) event_user(3) }