• 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.
  • 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!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Wild encounters with Shadow Pokémon

  • 27
    Posts
    12
    Years
    • Seen Aug 2, 2014
    IS there a way to Make Wild Pokemon Shadow - normal encounter's that is?
     
    IS there a way to Make Wild Pokemon Shadow - normal encounter's that is?

    Are you looking for pokemon to always be shadow or not?

    if yes:

    Code:
    Events.onWildPokemonCreate+=proc {|sender,e|
       pokemon=e[0]
       pokemon.makeShadow
    }

    if no and you just want let's say there is a 1% chance of it being shadow you could put down:

    Code:
    Events.onWildPokemonCreate+=proc {|sender,e|
       pokemon=e[0]
       pokemon.makeShadow if rand(100) == 0 # change the 100 to whatever number you want (100 = 1%, 1000 = 0.1%, 10 = 10%, ect.)
    }

    or if you want them only to appear with a switch activated:

    Code:
    Events.onWildPokemonCreate+=proc {|sender,e|
       pokemon=e[0]
       pokemon.makeShadow if $game_switches[SWITCH_NUMBER_ID_HERE]
    }
    Note that the script you choose should be put into the Script Editor of RMXP.
     
    Last edited:
    Add something like this to the script

    Code:
    maps=[2,3,4]   # Map IDs when you want pokemon to be shadow
       #Any of the above scripts here
       && $game_map && maps.include?($game_map.map_id)
         next 1
       else
         next 0
       end

    also replace pokemon.makeShiny with poke.makeShadow

    didn't test it but it should work, or be very close to it
     
    Back
    Top