PokéBase - Pokémon Q&A
1 vote
471 views

When the player uses Shedinja against an NPC, it seems that they'll switch their Pokemon if the active Pokemon can't hit Shedinja but a teammate can. In addition to super effective attacks, they seem to recognize leech seed as "can hit Shedinja", but not stuff like swagger and hail. Which other damaging status moves are also recognized as "can't hit Shedinja" by NPCs? Please answer for every generation when Shedinja existed.

Edit: I already got a lot of detailed responses about how Pokemon AI works, but stuff like, "A gym leader, elite 4 member, maybe an ace trainer, etc would have a higher level" doesn't answer my question. I still don't really know what "higher level" means, or why it lets them recognize leech seed but not hail.

closed with the note: Very trivial and finding an answer would take too much work for what it's worth.
by
closed by
Aren't these damaging weather moves/status conditions (Hail, Sandstorm, and Will-o-Wisp/Toxic) able to hit Shedinja?
They are able to hit Shedinja. That was acknowledged in the question.
don't NPC's have different levels of intelligence? for example, if it was some root 1 noob, they'd only use attacking moves and rarely status. and if they were a tactical trainer(not elite four), they'd try to use a status 1st turn and use a healing item 1 tine when their Pokemon's hp drops below 20%? And then theres the perish song code for (i think) gen 2 where the NPC checks if your pokemon is blocked for them to switch out of perish song's last turn, so if even their arena trapped/locked in, they can switch if your not. And if your locked in and they can switch, they won't. :P
No, the Route 1 noobs don't attack. They only ever use leer. If they knew how to attack, then they wouldn't be noobs. As for the question, I think I'll just ask for the smartest AI in each game.
Hmm, I still wouldn't know this, but I used Shedninja in my both of my 2 Omega Ruby Playthroughs (and in the battle tree) and know how some AI would act:

Trainers like Steven will use whatever's available, his AI prefers to use moves in like order (on shedninja):

 Super effective moves, moves like toxic, switch out to another Pokemon who has previous (will not switch if false), moves like Thunder Wave, moves like Reflect/spikes, moves like metal sound (lowers special defense, so It looks like a win for an AI but doesn't do much in Shedninja's case), damaging moves, damaging not very effective moves, moves like swords dance. If fit were not Shedninja, his pokemon would use moves like swords dance earlier. Their Pokemon will use moves like roost if they have low HP and outspeed the opponent, if they don't outspeed, they still use it unless they have a priority move. I still haven't worked out where protect would go. I know this isn't entirely about status moves, but it shows the order that they think (because typically in ORAS they'll use nearly all status moves, in the order of most effect) That is all I know. :P

Note: Trainers like Watson and most rout trainers will have the same mostly, but will attack sooner than use less useful status moves Example: Wattson has no more Electrode/Voltorb (forget which one), the only Pokemon with super-effective attacks (Rollout), will use a move like spark over thunder wave.
It depends what you are up against. There are NPC trainers and AI trainers. AI trainers like Guzma know what your Pokemon is weak too, while NPC trainers use any move they can, like the boy who says "the best offense is defense". What i'm trying to say is that some trainers will switch out, while others will just try. In addition to that, damaging status moves they might use is leech seed, confuse ray (if that counts), will o wisp, and toxic. And I don't know for sure, but also hail and sandstorm.
Can they use metronome, poison gas, poison powder, supersonic, curse, nightmare, perish song, swagger, sweet kiss, assist, flatter, nature power, or teeter dance? What about the damaging status moves that I didn't mention yet?
I think you are ForretressExplosioning his/her/its mind.
Based on rom hack editing, you can adjust how optimally the AI plays against the player, so the game makes decisions based mostly on type advantage, remaining HP, the moves it has listed, etc.

It's not necessarily that it recognizes what can and can't hit shedinja, but how wisely the opponent thinks based on difficulty. A youngster or generic trainer like that might have a lower setting, so that's why they use tail whip or something on you when you're low HP and could just win but don't. A gym leader, elite 4 member, maybe an ace trainer, etc would have a higher level. It's basically a general way of attacking that works well, but can have varied results when you have more complex Pokemon abilities or situations like Shedinja, Zoroark, etc.
In the example in my question, the leech seed and swagger were both known by Sidney's Pokemon in Emerald, and Sidney would use leech seed on my Shedinja but not swagger. I don't think it's likely that Sidney was using different "wisdom levels" when using different Pokemon. Can you explain that?
She had the 'wisdom' to recognize that Leech Seed would work but not Swagger, likely because Swagger doesn't immediately or isn't 100% certain to beat Shedninja unlike Leech Seed
@PX That's exactly the answer I was looking for, but for status moves in general.