• Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Recent content by Carbury

  1. C

    [Scripting Question] Thunder Wave not working

    I put it inside the case "when 0x07, 0x08, 0x09, 0xC5" (0x07 is Thunder Wave) in PokeBattle_AI. I tested that fragment of the code just to check what you said about the ends and it still causes the same error. when 0x07, 0x08, 0x09, 0xC5 aspeed=pbRoughStat(attacker,PBStats::SPEED,skill)...
  2. C

    [Scripting Question] Thunder Wave not working

    Hi all! Tweaking the AI scripts a little bit, I've run into a problem. I wanted to make the opposing pokemon to always use Thunder Wave in case your pokemon (the one controled by the player) was faster. Looking through the scripts I ended up bumping into this: when 0x1F...
  3. C

    [Scripting Question] Switching Pokemon AI

    I read that post, but didn't find anything useful. What Narhok is trying to do is to improve when the AI should switch his pokemon, and what I am trying is to tell the AI what pokemon it should switch. Anyways, I appreciate the help. Thank you Telemetius :)
  4. C

    [Scripting Question] Switching Pokemon AI

    Hi all! I have been working (in PokeBattle_AI) to improve the way that the AI selects the pokemon when has to change to a new one. I want AI to select a new pokemon which has a x2 or x4 effectivity move against player's current pokemon and is not a status move, but I am not able to get it. I...
Back
Top