• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

v18 Wild Nicknamed pokemon 1.0

This resource pertains to version 18 of Pokémon Essentials.
Pokémon Essentials Version
v18.1 ➖
This may be compatible with most versions of essentials

When walking in the grass you have a chance to find a shiny Pokémon but why not a nicknamed Pokémon?
If a trainer lets a Pokémon go it should be free with a nickname... or whatever it takes to make this lore friendly...
perhaps you limit the name letters to 10 and you put some cool 11 letter wild encounter nicknames in to spice up your game. either way this is just an easy addition to add into your pokemon game

So to break this up lets use a lot of spoilers cause I'm a noob and may edit this to look pretty later!!!

In your setting script at line 40 add
Ruby:
NICKNAME_CHANCE       = 65535
but change 65535 to whatever you want for the odds (65535 = 100%) (32000 is ~ 50%) ect

In PField_Encounters at about line 441 (might be different for you)

When you see these lines
Ruby:
 # Give Pokérus
  if rand(65536)<POKERUS_CHANCE
    genwildpoke.givePokerus
  end
Add
Ruby:
 # give nickname---------------------------------------------------------------
  if rand(65536)<NICKNAME_CHANCE
    genwildpoke.nickname?
  end
It should be just above this Comment
Ruby:
# Change wild Pokémon's gender/nature depending on the lead party Pokémon's


Lastly add to PokeBattle_Pokemon at the very bottom add
Ruby:
#=============================================================================
  # NICKNAME
#=============================================================================
Nicknames = ["Czechoslovakia", "Jennnnnnny", "Billlllllll", "Masterball"]

def nickname?
    @Name = Nicknames[rand(0..3)]  # Adjusted to select a random index from 0 to 3
end


and there you have it edit the names to whatever you want if you add more names make sure to change the 3 in
@Name = Nicknames[rand(0..3)]
to 1 less than however many names you add
and know that names over 11 like the first one in my list wont fully show up in battle
Credits
lemiho19
  • Like
Reactions: A.I.R
Author
lemiho19
Views
428
First release
Last update
Rating
0.00 star(s) 0 ratings
Back
Top