• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Other Question] Obstruct always fails in battle

  • 20
    Posts
    4
    Years
    I don't know what is wrong with the move, but I didn't change anything about it.
    When I was play-testing i noticed that obstruct would always fail, im not sure why.
    This is what it looks like in moves.txt

    Code:
    68,OBSTRUCT,Obstruct,180,0,DARK,Status,100,10,0,NearOther,4,,"Protects the user from all attacks. Direct contact harshly lowers the attacker's Defense."
     
    I assume you are on V19 with the Gen 8 plugin with your PBS looking like that. What do you mean by failing? Is it saying "But it failed."? Is it not blocking attacks? Is it giving you an error?
    I just tested it and it worked fine, so we need some more context.
     
    Sorry for not being clear, Its saying "but it failed". Obstruct works just like King's Shield, but instead dropping defense by 2 stages, no?
     
    You need to look at your scripts for Obstruct. The PBS is fine, if its failing something is wrong with the script. It works fine if it hasn't been touched.
     
    Back
    Top