• 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.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
BW Pokedex + In-Depth Data Page compatibility patch

Resource BW Pokedex + In-Depth Data Page compatibility patch 1.0

ChromeValiant

Novice
Member
Joined
Aug 27, 2024
Posts
47
Pronouns
he/him
ChromeValiant submitted a new resource:

BW Pokedex + In-Depth Data Page compatibility patch - Best of both worlds! Courtesy of NikDie with permission to share :)

The fangame Pokemon Eon Guardians by @NikDie includes both the BW Pokedex for v21.1 (original by @DeepBlue PacificWaves ) and the In-Depth Pokedex Data Page by @Lucidious89 . Intending to merge these myself, I contacted NikDie on Discord about his experience merging these two plugins...

Read more about this resource...
 
Can you describe what you changed in the Pokedex Data Page code that warrants replacing the entire plugin? At a glance, it looks like it's pretty much just asset swaps.
 
Can you describe what you changed in the Pokedex Data Page code that warrants replacing the entire plugin? At a glance, it looks like it's pretty much just asset swaps.
Yo! Sure thing:

[000] GameData.rb is identical

[001] Page Setup.rb:
  • DATA_TEXT_TAGS have been inverted for suit a darker message box, along with a new color for white text
  • Under def drawPage(page), a resetItemIcon call was added after pbResetFamilyIcons

[002] Main Page.rb
  • introduces def resetItemIcon
  • adds custom initialization to def drawPageData to support scrolling / animated BG

[003] Sub Menu.rb
  • after line 113, return if list.empty?: added pbResetFamilyIcons and resetItemIcon
  • lines 434, 435: removed @sprites["leftarrow"].visible = false and @sprites["rightarrow"].visible = false
  • line 470: removed imagepos.push([_INTL("Graphics/UI/Pokedex/icon_own"), 14, 50])
  • line 506: used white text DATA_TEXT_TAGS[4]
  • after line 592, return if list.empty?: added pbResetFamilyIcons and resetItemIcon
  • lines 663 & 665: used white text DATA_TEXT_TAGS[4]

[004] Moves Menu.rb
  • after line 174 pbSEPlay("GUI storage hide party panel"): added @page = 4
  • after line 176 pbDrawDataNotes: added @typebitmap2&.dispose
  • line 205: changed to
`@sprites["background"].setBitmap(_INTL("Graphics/UI/Pokedex/bg_databg"))
@sprites["infoverlay"].setBitmap(_INTL(path + "bg_moves"))`
- after line 208 overlay.clear: commented out drawPageIcons, added:
`textpos = [[_INTL("Data"),80,10,:center,Color.new(255,255,255),Color.new(115,115,115)]]
pbDrawTextPositions(overlay,textpos)`
  • lines 225 - 229: de-capitalized move list titles (ex: "LEVEL-UP" -> "Level-Up") to suit BW UI more
  • lines 249 & 250: replaced :base, :shadow with :base2, :shadow2
  • lines 315 - 319: more de-capitalization of some words + use of :base2, :shadow2
  • lines 323, 333: replaced :base, :shadow with :base2, :shadow2

[005] Data Messages.rb
  • mostly replacing t[0] (dark text color) with t[4] (white text color)
  • other inversions of text colors to support darker message box used
  • minor re-positioning of text
 
I also went ahead and updated the credits section of this page to more accurately reflect all the contributors :)
 
At some future date, I would like to:
  • re-structure the code to display distinct "Info" / "Area" / "Forms" / "Data" graphics (following the Modular UI scenes convention)
  • resolve any text mis-alignment issues
  • add Mouse Support compatibility via Luka S.J.'s Easy Mouse System
  • update to v22
but atm, I'm fatigued from UI work and would like to work on my own game for a while
😅
 
Last edited:
At some future date, I would like to:
  • re-structure the code to use the "Info" / "Area" / "Forms" / "Data" to follow the Modular UI scenes convention (as distinct image files, instead of attached to their pages)
  • resolve any text mis-alignment errors
  • add Mouse Support compatibility via Luka S.J.'s Easy Mouse System
  • update to v22
you don't need to use the Easy Mouse System, his latests Utilities Plugin already have a build-in system for mouse inputs
 
you don't need to use the Easy Mouse System, his latests Utilities Plugin already have a build-in system for mouse inputs
Yeah, I saw that. This is built on Luka's Scripting Utilities, v3.3 (like @DeepBlue PacificWaves 's original BW Pokedex plugin), as is my Open-Source EBDX Renovation project & @Manurocker95 's PWT port, so I'll likely just copy/paste Easy Mouse System into v3.3 & credit accordingly lol.

Or perhaps I'll update everything to Luka's Scripting Utilities 4.x at some point, probably after a stable release of Essentials v22!
 
Im a bit confused. I'm getting an error everytime i try to view the info on a pokemon.


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: undefined local variable or method `resetDataPage' for #<PokemonPokedexInfo_Scene>

Backtrace:
[BW Pokedex Style] BW PokedexEntry.rb:277:in `drawPage'
[BW Pokedex Style] BW PokedexEntry.rb:81:in `pbStartScene'
UI_Pokedex_Entry:547:in `pbStartScreen'
UI_Pokedex_Main:879:in `pbDexEntry'
UI_Pokedex_Main:1281:in `block (2 levels) in pbPokedex'
UI_Pokedex_Main:1257:in `loop'
UI_Pokedex_Main:1257:in `block in pbPokedex'
MessageConfig:721:in `pbActivateWindow'
UI_Pokedex_Main:1256:in `pbPokedex'
UI_Pokedex_Main:1299:in `pbStartScreen'

So I removed the In-depth-view plugin and installed this, along with the other things that the instructions told me to do. However, I still kept getting an error, so I brought the IDVP back and got this.

(this is what I get without the IDVP)
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: uninitialized constant Settings::POKEDEX_DATA_PAGE_SWITCH

Backtrace:
[BW Pokedex Style] BW PokedexEntry.rb:48:in `pbStartScene'
UI_Pokedex_Entry:547:in `pbStartScreen'
UI_Pokedex_Main:879:in `pbDexEntry'
UI_Pokedex_Main:1281:in `block (2 levels) in pbPokedex'
UI_Pokedex_Main:1257:in `loop'
UI_Pokedex_Main:1257:in `block in pbPokedex'
MessageConfig:721:in `pbActivateWindow'
UI_Pokedex_Main:1256:in `pbPokedex'
UI_Pokedex_Main:1299:in `pbStartScreen'
UI_PauseMenu:151:in `block (2 levels) in <main>'
 
Yo!
Im a bit confused. I'm getting an error everytime i try to view the info on a pokemon.


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: undefined local variable or method `resetDataPage' for #<PokemonPokedexInfo_Scene>

Backtrace:
[BW Pokedex Style] BW PokedexEntry.rb:277:in `drawPage'
[BW Pokedex Style] BW PokedexEntry.rb:81:in `pbStartScene'
UI_Pokedex_Entry:547:in `pbStartScreen'
UI_Pokedex_Main:879:in `pbDexEntry'
UI_Pokedex_Main:1281:in `block (2 levels) in pbPokedex'
UI_Pokedex_Main:1257:in `loop'
UI_Pokedex_Main:1257:in `block in pbPokedex'
MessageConfig:721:in `pbActivateWindow'
UI_Pokedex_Main:1256:in `pbPokedex'
UI_Pokedex_Main:1299:in `pbStartScreen'

So I removed the In-depth-view plugin and installed this, along with the other things that the instructions told me to do. However, I still kept getting an error, so I brought the IDVP back and got this.

(this is what I get without the IDVP)
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: uninitialized constant Settings::POKEDEX_DATA_PAGE_SWITCH

Backtrace:
[BW Pokedex Style] BW PokedexEntry.rb:48:in `pbStartScene'
UI_Pokedex_Entry:547:in `pbStartScreen'
UI_Pokedex_Main:879:in `pbDexEntry'
UI_Pokedex_Main:1281:in `block (2 levels) in pbPokedex'
UI_Pokedex_Main:1257:in `loop'
UI_Pokedex_Main:1257:in `block in pbPokedex'
MessageConfig:721:in `pbActivateWindow'
UI_Pokedex_Main:1256:in `pbPokedex'
UI_Pokedex_Main:1299:in `pbStartScreen'
UI_PauseMenu:151:in `block (2 levels) in <main>'
Yo! Sorry to hear, I shall look into this further.

Which game switch number did you select?

And which other plugins are you using?
 
Yo!

Yo! Sorry to hear, I shall look into this further.

Which game switch number did you select?

And which other plugins are you using?
It was set to 60 on default when I brought back the MUD_002 IDVP. But when I got rid of it, it wasnt defined anywhere.


View: https://drive.google.com/file/d/10peYhPRgiqMwJVW15IWqT7xAr_T-iN1H/view?usp=sharing
here is a link to an image of all the plugins im using. The DP menu plugin also has a bug too I should let you know.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]=' for #<SpriteHash>

Backtrace:
[DP PauseMenu] Script.rb:233:in `initialize'
[DP PauseMenu] Script.rb:26:in `new'
[DP PauseMenu] Script.rb:26:in `pbPauseMenu'
[DP PauseMenu] Script.rb:37:in `call_menu'
Scene_Map:207:in `update'
bubble:570:in `update'
[Randomizer X for v20+] script.rb:790:in `update'
[Following Pokemon EX] Refresh.rb:183:in `update'
[Dynamic Overworld Shadows] 005_Map_Extensions.rb:30:in `update'
Scene_Map:238:in `block in main'
 
It was set to 60 on default when I brought back the MUD_002 IDVP. But when I got rid of it, it wasnt defined anywhere.


View: https://drive.google.com/file/d/10peYhPRgiqMwJVW15IWqT7xAr_T-iN1H/view?usp=sharing
here is a link to an image of all the plugins im using. The DP menu plugin also has a bug too I should let you know.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]=' for #<SpriteHash>

Backtrace:
[DP PauseMenu] Script.rb:233:in `initialize'
[DP PauseMenu] Script.rb:26:in `new'
[DP PauseMenu] Script.rb:26:in `pbPauseMenu'
[DP PauseMenu] Script.rb:37:in `call_menu'
Scene_Map:207:in `update'
bubble:570:in `update'
[Randomizer X for v20+] script.rb:790:in `update'
[Following Pokemon EX] Refresh.rb:183:in `update'
[Dynamic Overworld Shadows] 005_Map_Extensions.rb:30:in `update'
Scene_Map:238:in `block in main'

Hey! So the DP Pause menu requires Marin's Scripting Utilities, hence the issues of undefined methods.

I shall investigate further for your issues with the BW Pokedex. Sorry to hear your issues!

Note that this version relies on the in-depth Pokedex data page, so it cannot be deleted easily. If you want, you could use NoNoNever's port of the BW Pokedex for v21.1 (not compatible with In-Depth Data Page) and replace some of its graphics with my version as desired :)
 
Last edited:
Hey! So the DP Pause menu requires Marin's Scripting Utilities, hence the issues of undefined methods.

I shall investigate further for your issues with the BW Pokedex. Sorry to hear your issues!

Note that this version relies on the in-depth Pokedex data page, so it cannot be deleted easily. If you want, you could use NoNoNever's port of the BW Pokedex for v21.1 (not compatible with In-Depth Data Page) and replace some of its graphics with my version as desired :)
That's fine. I'll wait for this version to be updated as I really like what you did with it!
Good Luck! And thanks for making awesome stuff!
 
Back
Top