Question: where is ilima on route 2?
Answer: Captain Ilima is in Hau'oli Cemetery. When you go there, Hau gives you a Max Elixir. You will find Ilima in front of one of the graves on the right. Talk to him and you can battle him if you are ready.