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

Resource Mid battle dialogue for v20+ 3.0

Hypertoxin55

Rookie
Member
Joined
Aug 12, 2024
Posts
1
I am using plugin(v20), and understand how to create a new function. However, how do i assign this function to a specific battle that i want?
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
122
I readed the lost example picture, you should be fine now!
I am using plugin(v20), and understand how to create a new function. However, how do i assign this function to a specific battle that i want?
 

Cross Agento

Novice
Member
Joined
Jun 27, 2021
Posts
33
Error keeps happening where the Trainer won't go away after speaking.
Error Video
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

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

Backtrace:
[Mid Battle Dialogue] MBD.rb:1368:in `createProcesses'
193:Battle_Scene_BaseAnimation:12:in `initialize'
[Mid Battle Dialogue] MBD.rb:1362:in `initialize'
[Mid Battle Dialogue] MBD.rb:1304:in `new'
[Mid Battle Dialogue] MBD.rb:1304:in `pbHideOpponent'
[Mid Battle Dialogue] data.rb:59:in `block in <module:DialogueModule>'
[Mid Battle Dialogue] MBD.rb:1174:in `display'
[Mid Battle Dialogue] MBD.rb:1028:in `block in pbSendOutBattlers'
[Mid Battle Dialogue] MBD.rb:1027:in `each'
[Mid Battle Dialogue] MBD.rb:1027:in `pbSendOutBattlers'
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
122
Error keeps happening where the Trainer won't go away after speaking.
Error Video
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

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

Backtrace:
[Mid Battle Dialogue] MBD.rb:1368:in `createProcesses'
193:Battle_Scene_BaseAnimation:12:in `initialize'
[Mid Battle Dialogue] MBD.rb:1362:in `initialize'
[Mid Battle Dialogue] MBD.rb:1304:in `new'
[Mid Battle Dialogue] MBD.rb:1304:in `pbHideOpponent'
[Mid Battle Dialogue] data.rb:59:in `block in <module:DialogueModule>'
[Mid Battle Dialogue] MBD.rb:1174:in `display'
[Mid Battle Dialogue] MBD.rb:1028:in `block in pbSendOutBattlers'
[Mid Battle Dialogue] MBD.rb:1027:in `each'
[Mid Battle Dialogue] MBD.rb:1027:in `pbSendOutBattlers'
Just to be sure, what is the code used for the battle? Its probably caused by old code that was not updated properly, and I need it for the diagnosis
 

Cross Agento

Novice
Member
Joined
Jun 27, 2021
Posts
33
Just to be sure, what is the code used for the battle? Its probably caused by old code that was not updated properly, and I need it for the diagnosis
Code for Character
Ruby:
Expand Collapse Copy
  IntRat= Proc.new{|battle|
      battle.scene.pbShowOpponent(0)
      battle.scene.disappearDatabox
      battle.scene.appearBar
      pbMessage"The Argent Region is home to pretty much any Pokemon in existance!"
      battle.scene.disappearBar
      battle.scene.appearDatabox
      battle.scene.pbHideOpponent(0)
      }
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
122
Code for Character
Ruby:
Expand Collapse Copy
  IntRat= Proc.new{|battle|
      battle.scene.pbShowOpponent(0)
      battle.scene.disappearDatabox
      battle.scene.appearBar
      pbMessage"The Argent Region is home to pretty much any Pokemon in existance!"
      battle.scene.disappearBar
      battle.scene.appearDatabox
      battle.scene.pbHideOpponent(0)
      }
it's pbHideOpponent instead of pbHideOpponent(0). You don't need to specify who disappears as it's erasing the sprite currently on screen
 
Back
Top