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

Resource BW Speech Bubble 1.1

gamemonkei

Novice
Member
Joined
Dec 31, 2022
Posts
11
new upload is up
It doesn't work 😭 I should've been clearer. Basically, when I am in the Load menu for the game, and I try to open the options menu, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
[Following Pokemon EX] Compatibility.rb:80:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutIn'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in `loop'
UI_Load:306:in `pbStartLoadScreen'
---------------------------------------------------------
As for the debug menu, I get this error.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
033:Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
385:Debug_Menus:85:in `pbDebugMenu'
[Following Pokemon EX] Refresh.rb:111:in `pbDebugMenu'
305:UI_Load:337:in `block (2 levels) in pbStartLoadScreen'
079:MessageConfig:575:in `pbFadeOutIn'
305:UI_Load:337:in `block in pbStartLoadScreen'
305:UI_Load:306:in `loop'
305:UI_Load:306:in `pbStartLoadScreen'
[Randomizer X for v20+] Script.rb:407:in `pbStartLoadScreen'
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
547
It doesn't work 😭 I should've been clearer. Basically, when I am in the Load menu for the game, and I try to open the options menu, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
[Following Pokemon EX] Compatibility.rb:80:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutIn'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in `loop'
UI_Load:306:in `pbStartLoadScreen'
---------------------------------------------------------
As for the debug menu, I get this error.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
033:Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
385:Debug_Menus:85:in `pbDebugMenu'
[Following Pokemon EX] Refresh.rb:111:in `pbDebugMenu'
305:UI_Load:337:in `block (2 levels) in pbStartLoadScreen'
079:MessageConfig:575:in `pbFadeOutIn'
305:UI_Load:337:in `block in pbStartLoadScreen'
305:UI_Load:306:in `loop'
305:UI_Load:306:in `pbStartLoadScreen'
[Randomizer X for v20+] Script.rb:407:in `pbStartLoadScreen'
The problem here is that the get_character function checks $game_map, which doesn't exist when you're on the load screen.

To fix it, add
Ruby:
Expand Collapse Copy
if $game_map
to the end of the line
Ruby:
Expand Collapse Copy
event = pbMapInterpreter&.get_character($game_temp.speechbubble_talking)
so it looks like this:
Ruby:
Expand Collapse Copy
 event = pbMapInterpreter&.get_character($game_temp.speechbubble_talking) if $game_map
 

gamemonkei

Novice
Member
Joined
Dec 31, 2022
Posts
11
In the plugin
i did that and got this error
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
[Following Pokemon EX] Compatibility.rb:80:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutIn'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in `loop'
UI_Load:306:in `pbStartLoadScreen'


basically i got the same error codes even with the addition.If you need to me to send the list of all the plugins im using, I can do that. Like I said earlier, Opening the Debug and Options menu ONLY works if I open it while im playing the game. Not in the Load screen. Another thing that happens is when I playtest the game and press F12 (or soft reset) then it works.
 
Last edited:

Mr.Heathcliff

Ace Trainer
Member
Joined
Jul 12, 2019
Posts
21
i did that and got this error
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `events' for nil:NilClass

Backtrace:
Interpreter:189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreateMessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
[Following Pokemon EX] Compatibility.rb:80:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutIn'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in `loop'
UI_Load:306:in `pbStartLoadScreen'


basically i got the same error codes even with the addition.If you need to me to send the list of all the plugins im using, I can do that. Like I said earlier, Opening the Debug and Options menu ONLY works if I open it while im playing the game. Not in the Load screen. Another thing that happens is when I playtest the game and press F12 (or soft reset) then it works.
You need to change both lines 36 and 114 to fix the error. I did and it works now.
 

adityabhandari

Rookie
Member
Joined
Jun 8, 2024
Posts
3
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
[EBDX v1.4.7 (E21)]
Exception: NoMethodError
Message: undefined method 'events' for nil:NilClass
Backtrace:
Interpreter: 189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreate MessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutin'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in 'loop'
UI_Load:306:in `pbStartLoadScreen'
[Elite Battle: DX] EBDX Nuzlocke.rb:340:in `pbStartLoadScreen'





This is what I'm getting when I open options in the title screen. Otherwise the plugin works alright
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
547
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
[EBDX v1.4.7 (E21)]
Exception: NoMethodError
Message: undefined method 'events' for nil:NilClass
Backtrace:
Interpreter: 189:in `get_character'
[BW Speech Bubble] BW Speech Bubble.rb:114:in `pbCreate MessageWindow'
UI_Options:292:in `pbStartScene'
UI_Options:375:in `pbStartScreen'
UI_Load:324:in `block (2 levels) in pbStartLoadScreen'
MessageConfig:575:in `pbFadeOutin'
UI_Load:321:in `block in pbStartLoadScreen'
UI_Load:306:in 'loop'
UI_Load:306:in `pbStartLoadScreen'
[Elite Battle: DX] EBDX Nuzlocke.rb:340:in `pbStartLoadScreen'





This is what I'm getting when I open options in the title screen. Otherwise the plugin works alright
Read the posts above yours that talk about that same issue :)
 
Back
Top