• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

[Script] Problems with the battle A.I.

  • 133
    Posts
    5
    Years
    • Seen Mar 26, 2024
    Hello there everyone,
    While editing a Pokémon game I ran into a problem with the A.I..Multiple Poison type Pokemon don't attack at all (skip their turn) when fighting against a Steel type. For example this Crobat: "CROBAT,75,LEFTOVERS,BRAVEBIRD,ROOST,TOXICSPIKES,POISONFANG,0,,,,IMPISH,31" doesn't attack at all when sent out against Steel types, but when I change one of its moves it attacks. F. ex. :("CROBAT,75,LEFTOVERS,BRAVEBIRD,ROOST,TOXICSPIKES,HEATWAVE,0,,,,IMPISH,31").
    If anybody knows why this would be the case I would be grateful.

    Here is the battlelog I recorded:
    |
    ***Round 1***
    Initial switchscore building: Statuses (0)
    Initial switchscore building: Stat Stages (0)
    Initial switchscore building: Healing
    Initial switchscore building: fsteak (0)
    Initial switchscore building: Typing (0)
    Initial switchscore building: Specific Switches (-20)
    Crobat: initial switchscore: -20

    Initial noswitchscore building: Stat Stages (0)
    Initial noswitchscore building: Entry Hazards (0)
    Initial noswitchscore building: Better Switching Options (0)
    Initial noswitchscore building: Second Wind Situations (0)
    Crobat: initial noswitchscore: 66

    {

    Brave Bird: initial score: 49
    Brave Bird: final score: 44

    Roost: initial score: 25
    Roost: final score: 0

    Toxic Spikes: initial score: 30
    Toxic Spikes: final score: 39

    Poison Fang: initial score: 1
    [The foe Crobat lost 14 HP, now has 237 HP]
    [The foe Crobat gained 14 HP, now has 251 HP]
    |
    If any of you need further data to know what's going on just tell me.
    Thx in advance :)
     
    Back
    Top