Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

A Pokemon wild battle. The enemy may have up to 4 moves.

I am wondering, is there any.. A.I going on here, or does the enemy simply take a random move and then executes it? Are there not any battle factors/conditions that may change the enemy's behavior?

I guess it makes sense to categorize moves by "Offensive" "Defensive" and/or "Healing", and from there make choices depending on HP etc... dunno.

share|improve this question

closed as off topic by Nevermind, Kylotan, Josh Petrie, Tetrad Oct 27 '11 at 19:28

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

3  
What is the problem you're trying to solve with this question? Are you trying to make your own battle system? –  Tetrad Oct 25 '11 at 20:09
1  
Well, yeah. I do not necessarily need to know the above to make my system, but I do feel curious about Pokemon's mechanics. –  Omega Oct 25 '11 at 20:13
2  
I have vague memories of Rattata Tail-Whipping 5 times in a row. No way a sane AI would do something like that. –  Jimmy Oct 25 '11 at 20:47
    
If I remember correctly, tail-whip reduces defense. Reducing defense when the player has a pokemon with a much higher attack power is a natural thing to do, especially when it's followed up by a tackle. So there might be some very basic AI going on here –  Ray Dey Oct 25 '11 at 21:43
10  
If this question is about how the AI works in Pokemon, it might be better to ask gaming.SE though you should include which version of Pokemon you're asking about. If you're asking about how to make a Pokemon style battle system AI, then you should rephrase the question. –  thedaian Oct 25 '11 at 21:52
add comment

1 Answer 1

Wild Pokémon use very simple AI to reflect having not much of a clue on their own. Trainers' mons use a more complicated system, where one of the bytes in the trainer data determines how smart that trainer is.

share|improve this answer
2  
Can you please edit to include the source of this information? –  Ricket Oct 26 '11 at 18:16
    
Observation of how often a bad move is picked, and having seen and edited the trainer data myself. But I'll see if there's better... This is observed from the GBA games, by the way. –  Kawa Oct 26 '11 at 18:25
    
Nope, can't seem to find anything on my regular source (Bulbapedia). They didn't have any back then and they still don't. –  Kawa Oct 26 '11 at 18:36
    
helmet.kafuka.org/fulltrainers.html –  Kawa Dec 4 '11 at 17:22
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.