• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

How do you let the player steal another trainer's Pok?mon?

Zeak6464

Zeak #3205 - Discord
1,101
Posts
11
Years
    • Age 31
    • USA
    • Seen Oct 9, 2023
    How do you let the player steal another trainer's Pokémon?

    How would you go about having the player steal trainers pokemon?
    Kinda like the cheat codes in the old games that allowed you to capture trainers pokemon without blocking the pokeball
     
    43
    Posts
    8
    Years
  • Simply:
    change
    if @opponent && (!pbIsSnagBall?(ball) || !battler.isShadow?)
    @scene.pbThrowAndDeflect(ball,1)
    pbDisplay(_INTL("The Trainer blocked the Ball!\nDon't be a thief!"))
    else
    pokemon=battler.pokemon
    species=pokemon.species
    if $DEBUG && Input.press?(Input::CTRL)
    shakes=4

    to:
    if @opponent && (!pbIsSnagBall?(ball) || !battler.isShadow?)
    pokemon=battler.pokemon
    species=pokemon.species
    if $DEBUG && Input.press?(Input::CTRL)
    shakes=4

    tested.
     
    Back
    Top