I apologize if i was not clear. But i meant, make the game warn you that the moves WILL be ineffective, not tell opponent's ability.
For example, the game tells you that Ground type moves won't work on Flying types. So, i thought it should say the same for Levitate Pokémon.
I apologize for not being clear and if i didn't understand your comment. If this idea cannot work, i'm okay with that too, as i really enjoy this game.