• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
PokéSearch

v20.1 PokéSearch v1.1

This resource pertains to version 20.1 of Pokémon Essentials.
Pokémon Essentials Version
v20.1 ➖
PokéSearch (I know, clever name right?)
is a script that allows players to find the specific encounters they are looking for, and also allows berries to be more interesting.
It's a single UI script that allows the player to input a Pokémon that is available in the current map, enter a repel to increase the odds of a successful encounter, and add a berry in order to give the encounter some 'spice'.
Once they hit search they have a chance to encounter that specific Pokémon.

How to call the menu?
Run vPokeSearch in a script command / item's use in field handler

How do I use it as an item?

Open the 001_PokeSearch.rb script and uncomment the 3 lines that read: ItemHandlers

Add the following code to 002_Item_Effects.rb
Ruby:
Expand Collapse Copy
ItemHandlers::UseFromBag.add(:POKESEARCHITEM,proc { |item|
  next 2
})

ItemHandlers::UseInField.add(:POKESEARCHITEM,proc { |item|
  scene = PokeSearch_Scene.new
  screen = PokeSearch_Screen.new(scene)
  screen.pbStartScreen
  next 1
})

Add the following code in any script above main (recommended to put this near the other :pause_menu entries)
Ruby:
Expand Collapse Copy
MenuHandlers.add(:pause_menu, :pokesearch, {
  "name"      => _INTL("PokéSearch"),
  "order"     => 45,
  "condition" => proc { next (GameData::Item.get(:POKESEARCH).nil? ? $player.able_pokemon_count > 0 : $bag.has?(:POKESEARCH)) },
  "effect"    => proc { |menu|
    menu.pbHideMenu
    scene = PokeSearch_Scene.new
    screen = PokeSearch_Screen.new(scene)
    screen.pbStartScreen
    $game_temp.in_menu = false
    next true
  }
})

Add the following code to 005_VoltseonMenu_Entires.rb
Ruby:
Expand Collapse Copy
#-------------------------------------------------------------------------------
# Entry for PokeSearch Screen
#-------------------------------------------------------------------------------
class MenuEntryPokeSearch < MenuEntry
  def initialize
    @icon = "menuPokeSearch"
    @name = "PokéSearch"
  end

  def selected(menu)
    menu.pbHideMenu
    scene = PokeSearch_Scene.new
    screen = PokeSearch_Screen.new(scene)
    screen.pbStartScreen
    $game_temp.in_menu = false
    return true
  end

  def selectable?; return vHI("PokeSearch"); end
end

add a menuPokeSearch.png graphic to the Voltseon's Pause Menu folder in Graphics/Pictures and add "MenuEntryPokeSearch" to the MENU_ENTRIES array in 001_VoltseonMenu_Config.rb

Specifics?
Depending on the used repel the player will have a 10-100% chance of getting their preferred encounter.
The Pokémon will have the average level of the current map +- 2 levels.
Berries have specific effects on the encounter such as increasing the shiny odds.

I also wanna thank @ThatWelshOne_ for his help and couldnt have done it without looking at his the
Encounter list UI script

Screenshots:
unknown.png

unknown.png


Here's a video of the script in action in Pokémon Ethos


All of the Repel & Berry effects:
1640452330303.png
Credits
Voltseon (Me)
Author
Voltseon
Downloads
1,097
Views
7,419
First release
Last update

Ratings

4.80 star(s) 5 ratings

More resources from Voltseon

Latest updates

  1. Quick Hotfix

    Fixed a bug where wild Pokémon that are generated at below level 1 or above level 100 would...
  2. v1.1 - Now updated for Pokémon Essentials v20

    New in v1.1: Updated old methods to work with v20 Made the back / cancel arrow no longer appear...

Latest reviews

This is a really cool mechanic! Would be an excellent late-game feature to help with shinyhunting and such. Good job, Voltseon!
Back
Top