• 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.

[PBS Question] W-Kyurem does not work! [V.17.2]

  • 80
    Posts
    6
    Years
    • Seen Nov 5, 2023
    [PokeCommunity.com] W-Kyurem does not work! [V.17.2]


    So... the deal is simple! I wanted to test a battle against a white kyurem, but the Kyurem was a normal one! Can somebody please help me?

    -Tritra Serpifeu
     
    Si try to add inside 'PField_EncounterModifiers' script:
    Code:
    Events.onTrainerPartyLoad+=proc {|sender,e|
       if e[0] # Trainer data should exist to be loaded, but may not exist somehow
         trainer=e[0][0] # A PokeBattle_Trainer object of the loaded trainer
         items=e[0][1]   # An array of the trainer's items they can use
         party=e[0][2]   # An array of the trainer's Pokémon
         if trainer.trainertype==PBTrainers::E4_WENDY
             party[1].form=1
         end
       end
    }
     
    Si try to add inside 'PField_EncounterModifiers' script:
    Code:
    Events.onTrainerPartyLoad+=proc {|sender,e|
       if e[0] # Trainer data should exist to be loaded, but may not exist somehow
         trainer=e[0][0] # A PokeBattle_Trainer object of the loaded trainer
         items=e[0][1]   # An array of the trainer's items they can use
         party=e[0][2]   # An array of the trainer's Pokémon
         if trainer.trainertype==PBTrainers::E4_WENDY
             party[1].form=1
         end
       end
    }

    Thanks! It works now!
     
    Back
    Top