• 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.

GALAR BERRY TREE [ESSENTIALS V18]

GALAR BERRY TREE​
This script replicates the Berry Tree from Galar


Features:
  • Complete Pulg-n-Play
  • Get a random Berry from the tree or encounter a Pokemon.
  • Choose weather you want realistic time-based Berry Tree event or a simple Tree.
  • Modify the Berries that you want to be fallen by editing the array `vbberries`

Usage:
  1. Goto `PField_Encounters` and add BerryTree Encounter type:-
    In `module EncounterTypes` add in the bottom-
    Code:
      BerryTree    = 13
    In `Names` array add in the last (add a comma after the second last value)
    Code:
    "BerryTree"
    In `EnctypeChances` array add in the last (add a comma after the second last value)
    Code:
         [20,20,10,10,10,10,5,5,4,4,1,1]
    In `EnctypeDensities` array add ,0 after last value
    In `EnctypeCompileDens` array add ,0 after last value

    The `PField_Encounters` would look like the following:-
    Spoiler:
  2. Add BerryTree Encounters in the PBS/Encounters.txt
    Code:
    BerryTree
    	CHERUBI,5,7
    	PIDGEY,5,7
    	SPEAROW,5,7
    	BURMY,5,7
    	SCYTHER,6,7
    	ARON,5,7
    	ODDISH,6,8
    	HOOTHOOT,4,7
    	HOOTHOOT,1,6
    	CHIMCHAR,5,6
    	PANSAGE,4,8
    	PANPOUR,5,6
  3. Add the following script above Main and below Compiler
    Spoiler:
  4. Create an event, and enjoy the script.

Events:
There can be two type of Event based on the BERRY_TREE_GALAR switch in the script.
If set to false, it is used to make a simple GALAR BERRY TREE Script, which will either drop berry or encounter a Pokemon every time you interact.
Spoiler:

If set to true, you can create a BerryTree which drops berry or encounter Pokemon only after a certain time.
Spoiler:


Credits:
  • BhagyaJyoti (Made for v18 with Berry Array fix and made more Plug-n-Play)
  • #NotImportant (Original Script for v17.2)
 
Last edited:

Canal_do_Lontra

Oshawott uses Razor Shell
207
Posts
4
Years
  • GALAR BERRY TREE​
    This script replicates the Berry Tree from Galar


    Features:
    • Complete Pulg-n-Play
    • Get a random Berry from the tree or encounter a Pokemon.
    • Choose weather you want realistic time-based Berry Tree event or a simple Tree.
    • Modify the Berries that you want to be fallen by editing the array `vbberries`

    Usage:
    1. Goto `PField_Encounters` and add BerryTree Encounter type:-
      In `module EncounterTypes` add in the bottom-
      Code:
        BerryTree    = 13
      In `Names` array add in the last (add a comma after the second last value)
      Code:
      "BerryTree"
      In `EnctypeChances` array add in the last (add a comma after the second last value)
      Code:
           [20,20,10,10,10,10,5,5,4,4,1,1]
      In `EnctypeDensities` array add ,0 after last value
      In `EnctypeCompileDens` array add ,0 after last value

      The `PField_Encounters` would look like the following:-
      Spoiler:
    2. Add BerryTree Encounters in the PBS/Encounters.txt
      Code:
      BerryTree
      	CHERUBI,5,7
      	PIDGEY,5,7
      	SPEAROW,5,7
      	BURMY,5,7
      	SCYTHER,6,7
      	ARON,5,7
      	ODDISH,6,8
      	HOOTHOOT,4,7
      	HOOTHOOT,1,6
      	CHIMCHAR,5,6
      	PANSAGE,4,8
      	PANPOUR,5,6
    3. Add the following script above Main and below Compiler
      Spoiler:
    4. Create an event, and enjoy the script.

    Events:
    There can be two type of Event based on the BERRY_TREE_GALAR switch in the script.
    If set to false, it is used to make a simple GALAR BERRY TREE Script, which will either drop berry or encounter a Pokemon every time you interact.
    Spoiler:

    If set to true, you can create a BerryTree which drops berry or encounter Pokemon only after a certain time.
    Spoiler:


    Credits:
    • BhagyaJyoti (Made for v18 with Berry Array fix and made more Plug-n-Play)
    • #NotImportant (Original Script for v17.2)

    heya buddy, that works for v19 too?
     
    Back
    Top