area
wild_pokemon
var/pokemon = mob/pokemon
var/encounter
Enter(mob/m)
encounter = rand(1,3)
if(encounter == 1)
usr<<"You encounter a new pokemon"
var/a = new pokemon (loc)
i keep getting errors. i want the code when a player walks on grass theres a probabilty that a wild pokemon appears. in other words. am trying to code a special area for certain pokemons
(Note from Moderator: Please put all code inside <dm></dm> tags. Thanks.)