• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Berry Core and Dex

Resource Berry Core and Dex 1.6

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
282
In v21.1 this happens when I try to open the menu.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `tdw_berry_dep_suppress' for Deprecation:Module

Backtrace:
[TDW Berry Core and Dex] 001_BerryData.rb:317:in `warn_method'
FileTests:85:in `safeExists?'
[Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:275:in `call_menu'
[Following Pokemon EX] Refresh.rb:122:in `call_menu'
Scene_Map:207:in `update'
[Following Pokemon EX] Refresh.rb:178:in `update'
Scene_Map:238:in `block in main'
Scene_Map:235:in `loop'
Scene_Map:235:in `main'
Main:35:in `mainFunctionDebug'
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
In v21.1 this happens when I try to open the menu.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `tdw_berry_dep_suppress' for Deprecation:Module

Backtrace:
[TDW Berry Core and Dex] 001_BerryData.rb:317:in `warn_method'
FileTests:85:in `safeExists?'
[Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:275:in `call_menu'
[Following Pokemon EX] Refresh.rb:122:in `call_menu'
Scene_Map:207:in `update'
[Following Pokemon EX] Refresh.rb:178:in `update'
Scene_Map:238:in `block in main'
Scene_Map:235:in `loop'
Scene_Map:235:in `main'
Main:35:in `mainFunctionDebug'
Yeah it would help if I aliased the warn_method command correctly -_-
 

srcwolf1

Novice
Member
Joined
Jan 30, 2024
Posts
38
Not sure if i did it right but nothing works cant get berrydex or even do anything with the berry
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
Not sure if i did it right but nothing works cant get berrydex or even do anything with the berry
I can't help much with just that information. Did you make sure you properly compiled plugins after you added them? Did you follow the setup guide included in the plugin?
 

srcwolf1

Novice
Member
Joined
Jan 30, 2024
Posts
38
I can't help much with just that information. Did you make sure you properly compiled plugins after you added them? Did you follow the setup guide included in the plugin?
not sure i got it right do i need to make script commands in event i try that and didnt work
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
not sure i got it right do i need to make script commands in event i try that and didnt work
Can you show me what you tried? You just need to give the berrydex to the player via script call and it should work.
 

srcwolf1

Novice
Member
Joined
Jan 30, 2024
Posts
38
Can you show me what you tried? You just need to give the berrydex to the player via script call and it should work.
not sure if its right
 

Attachments

  • Screenshot 2024-02-04 190216.png
    Screenshot 2024-02-04 190216.png
    18.8 KB · Views: 20

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
not sure if its right
Yep, that should make it so the Berry Dex is enabled, similar to how you handle a Pokedex.

Then, the Berry Dex is accessed through the script call pbBerryDex. If for some reason the Berry Dex isn't opening when you run that call, it should say why in the debug console.

At this time, I didn't include a way to view the Berry Dex anywhere, so if you want to set it up to appear in your Pause Menu for instance, you'll need to look at how the Pokedex appears in the Pause Menu, duplicate that MenuHandler and just call pbBerryDex that way. I gave it some thought and will likely add in ways to add it to the Pause Menu via my plugin to make it easier for folks who don't do a lot of coding.
 
Last edited:

srcwolf1

Novice
Member
Joined
Jan 30, 2024
Posts
38
Yep, that should make it so the Berry Dex is enabled, similar to how you handle a Pokedex.

Then, the Berry Dex is accessed through the script call pbBerryDex. If for some reason the Berry Dex isn't opening when you run that call, it should say why in the debug console.

At this time, I didn't include a way to view the Berry Dex anywhere, so if you want to set it up to appear in your Pause Menu for instance, you'll need to look at how the Pokedex appears in the Pause Menu, duplicate that MenuHandler and just call pbBerryDex that way. I gave it some thought and will likely add in ways to add it to the Pause Menu via my plugin to make it easier for folks who don't do a lot of coding.
thank you works now not sure why i didnt before
 
Last edited:

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
wrigty12 updated Berry Core and Dex with a new update entry:

Update 1.6 - New Settings + Preferred Soil support

BEFORE UPDATING ANY FILES: If you have made any edits to the 000_Settings file, make sure to make a backup of that files before updating the plugin. If you copy over files to update, it will overwrite your changes.

Change Log
  • ⚙️Added a SHOW_BERRYDEX_IN_PAUSE_MENU setting to provide a way to make the BerryDex appear in the vanilla pause menu (since I've been asked for this many times).
  • ⚙️Added a...

Read the rest of this update entry...
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
Is there an item to access the dex in-game? Or does it have to be on an event?
You can make an item if you want, but there is not one that comes with my plugin as I made get turned on/accessed the same way Pokedex is.
 

colin24601

Novice
Member
Joined
Feb 21, 2025
Posts
26
You can make an item if you want, but there is not one that comes with my plugin as I made get turned on/accessed the same way Pokedex is.
So how would the average player access it? I just can't find it in the menu or anything.
 

Willøw

Main Dev of Pokemon Oraculum
Member
Joined
Nov 1, 2023
Posts
111
So how would the average player access it? I just can't find it in the menu or anything.
because you need to call pbToggleBerryDex(true or false) or pbBerryDex somewhere to call the BerryDex.
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
598
So how would the average player access it? I just can't find it in the menu or anything.
Willow is correct. You have to toggle the berrydex on first using pbToggleBerryDex. Then, if you're using the vanilla pause menu and you have the setting SHOW_BERRYDEX_IN_PAUSE_MENU set to true, it should appear there with the newest update. Otherwise, you'll need to set it up so something runs pbBerryDex which opens the dex.
 
Back
Top