edited in the post :) Sry
Okay with fresh install of everything now it works :D
But now i have another problem. Is this normal that the animations with ebdx buggy?
Heres a Image of the battle when a pokemon uses a attack:
its probably a problem of resizes and camera. Oo
Maybe you can help to fix that :D
Thanks for this plugin, you did a great work for us!
Yes resizing help :D Thanks for the tip :)
how can i add a 5 wild mon battle to the random grass encounter?
HI can you fix this graphic glitch
Image Link - https://ibb.co/fqTxQLd
also does partner trainers also work if then what the command
Sorry if I sound silly, but I don't exactly know where do I have to add the PBS for EBDX compatibility :(
Is it on the "Plugins" folder on PBS? Because I placed it there and it doesn't work...
overwrite the one provided by EBDX with the one in I provide. it's [Game Folder]/PBS/EBDX
Okay so I overwrote the files with the ones you provided (I added the "QUADRU" and "QUINTE" Vectors to my EBDX module, and the two classes to the battle core) and regular battles work, so the game is not breaking (Aganist Trainers and one-two wild Pokémon).
But when I try a battle aganist five Wild Pokémon, I get this error :(
Spoiler:---------------------------
Error
---------------------------
Script '[Settings]' line 118: NoMethodError occurred.
undefined method `z' for nil:NilClass
from eval line 118 in `initializeSprites'
from eval line 115 in `each_with_index'
from eval line 115 in `each'
from eval line 115 in `each_with_index'
from eval line 115 in `initializeSprites'
from eval line 84 in `pbStartBattle'
from 'Battle_StartAndEnd' line 290 in `pbStartBattleCore'
from 'Hordas' line 1048 in `pbStartBattle'
from 'Hordas' line 1594 in `pbWildBattleCore'
from 'Hordas' line 1593 in `pbSceneStandby'
from 'Hordas' line 1595 in `pbWildBattleCore'
from 'Hordas' line 1588 in `pbBattleAnimation'
"Hordas" is how I called the Modular Battle Script, which I have above Main and below EBDX
You have failed to add the modifications provided in the "Plugin Addon" properly. open the subfolder in the extractor of your choice, open the root of your games plugin folder, and simply Drag and drop "Elite Battle DX" to the plugin folder. if you overwrote ANY of the base EBDX scripts you have failed the install process and will need to reinstall Base EBDX first.
The thing is...I'm using v18, so I do not have a Plugin folder :(. Maybe it's because this EBDX version is too old? Because I picked up a fresh Essentials version, just added Luka's Utilities (3.1.3 version, the last one compatible for v18), your Script on its last version and EBDX 1.0.15 and after that. Then, I dragged down the content of the "Elite Battle DX"'s folder (the "[900]..." folder) into EBDX folder on PBS.
ModBattles work with 3 Pokémon (they look pretty cool, btw), but more than that it gives me the same error. I don't know whether I'm just stupid or I'm not doing something right. I think I followed all the steps well so I don't know what I'm doing wrong sorry:(
I'm also using a fresh version of each script to ensure I'm not having errors by my own failure editing before.
[Pokémon Essentials version 19.1]
[EBDX v1.2.6]
Exception: SystemStackError
Message: stack level too deep
Backtrace:
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
340:ModWildBattle:229:in `initialize'
[Pokémon Essentials version 19.1]
[EBDX v1.2.6]
Exception: RuntimeError
Message: Script error in event 5 (coords 12,10), map 2 (Lappet Town):
Exception: NoMethodError
Message: undefined method `>=' for nil:NilClass
***Full script:
pbModWildBat(5,:PIKACHU,5)
Backtrace:
[Modular Battler Scene] Essentials Modular Battle Scene v2.0.2.rb:966:in `pbModWildBat'
(eval):1:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
Okay so after trying for a couple of months to adapt the script to v18, I honestly gave up and started using v19.1, and just try to adapt my own scripts there. However, even while using v19.1 I'm not able to enter a ModWildBattle (I'm using 2.0.2 version of this mod)
If I add the mod like a v18 one, it gets me this error each time I want to start a new Game:
Spoiler:Code:[Pokémon Essentials version 19.1] [EBDX v1.2.6] Exception: SystemStackError Message: stack level too deep Backtrace: 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize' 340:ModWildBattle:229:in `initialize'
And if I try to add it from the Plugins' folder, this error pops when I start a battle:
Spoiler:Code:[Pokémon Essentials version 19.1] [EBDX v1.2.6] Exception: RuntimeError Message: Script error in event 5 (coords 12,10), map 2 (Lappet Town): Exception: NoMethodError Message: undefined method `>=' for nil:NilClass ***Full script: pbModWildBat(5,:PIKACHU,5) Backtrace: [Modular Battler Scene] Essentials Modular Battle Scene v2.0.2.rb:966:in `pbModWildBat' (eval):1:in `execute_script' 033:Interpreter:137:in `eval' 033:Interpreter:137:in `execute_script' 034:Interpreter_Commands:1024:in `command_355' 034:Interpreter_Commands:116:in `execute_command' 033:Interpreter:127:in `block in update' 033:Interpreter:87:in `loop' 033:Interpreter:87:in `update' 032:Scene_Map:157:in `block in update' Backtrace: 033:Interpreter:189:in `rescue in execute_script' 033:Interpreter:135:in `execute_script' 034:Interpreter_Commands:1024:in `command_355' 034:Interpreter_Commands:116:in `execute_command' 033:Interpreter:127:in `block in update' 033:Interpreter:87:in `loop' 033:Interpreter:87:in `update' 032:Scene_Map:157:in `block in update' 032:Scene_Map:155:in `loop' 032:Scene_Map:155:in `update'
I'm also using EBDX's 1.2.6 version, the newest one
Alright, The stack error I cannot help you with, period. I've never been able to figure out what really causes it, as for the pbModWildBat error, the way you're calling it is incorrect. the first argument is for the script to know how many Opponents you are facing. you're basically telling it you want to fight 1 Pikachu at level 5 and 4 MissingNo at level nil, which is why the game is crashing. if you want to fight one Pikachu with 5 of your own pokemon set $PokemonSystem.plabatlmt to 5, or if you want to fight 5 Pikachu's at once you need to copy `,:PIKACHU,5` 4 more times
[Pokémon Essentials version 19.1]
[EBDX v1.2.6]
Exception: RuntimeError
Message: Script error in event 5 (coords 6,10), map 2 (Lappet Town):
Exception: NoMethodError
Message: undefined method `>=' for nil:NilClass
***Full script:
pbModWildBat(3,:MEW,10,:CELEBI,10,:JIRACHI,10)
Backtrace:
[Modular Battler Scene] Essentials Modular Battle Scene v2.0.2.rb:966:in `pbModWildBat'
(eval):1:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
The thing is, even when I call it using your example (the one with Celebi, Jirachi and Mew), I still get the same error:(
I just added your Script to EBDX on a new save copy, and when I try the battle this pops up. Honestly I don't know if I am just an idiot and I'm not doing something right
Spoiler:Code:[Pokémon Essentials version 19.1] [EBDX v1.2.6] Exception: RuntimeError Message: Script error in event 5 (coords 6,10), map 2 (Lappet Town): Exception: NoMethodError Message: undefined method `>=' for nil:NilClass ***Full script: pbModWildBat(3,:MEW,10,:CELEBI,10,:JIRACHI,10) Backtrace: [Modular Battler Scene] Essentials Modular Battle Scene v2.0.2.rb:966:in `pbModWildBat' (eval):1:in `execute_script' 033:Interpreter:137:in `eval' 033:Interpreter:137:in `execute_script' 034:Interpreter_Commands:1024:in `command_355' 034:Interpreter_Commands:116:in `execute_command' 033:Interpreter:127:in `block in update' 033:Interpreter:87:in `loop' 033:Interpreter:87:in `update' 032:Scene_Map:157:in `block in update' Backtrace: 033:Interpreter:189:in `rescue in execute_script' 033:Interpreter:135:in `execute_script' 034:Interpreter_Commands:1024:in `command_355' 034:Interpreter_Commands:116:in `execute_command' 033:Interpreter:127:in `block in update' 033:Interpreter:87:in `loop' 033:Interpreter:87:in `update' 032:Scene_Map:157:in `block in update' 032:Scene_Map:155:in `loop' 032:Scene_Map:155:in `update'
plus = $PokemonSystem.plabatlmt
plus = $Trainer.pluscount if defined?($Trainer.pluscount)
vsT = $PokemonSystem.plabatlmt
vsT = $Trainer.pluscount if (vsT >= plus) && defined?($Trainer.pluscount)
vsT += 1 if ($PokemonGlobal.partner!=nil && vsT==0)
plus = $PokemonSystem.plabatlmt
if defined?($Trainer.pluscount)
plus = $Trainer.pluscount
vsT = $Trainer.pluscount if (vsT >= plus) && (plus != nil)
else
vsT = $PokemonSystem.plabatlmt
end
vsT += 1 if ($PokemonGlobal.partner!=nil && vsT==0)
I have an idea. Line 956 to 960 shows the following
Spoiler:Code:plus = $PokemonSystem.plabatlmt plus = $Trainer.pluscount if defined?($Trainer.pluscount) vsT = $PokemonSystem.plabatlmt vsT = $Trainer.pluscount if (vsT >= plus) && defined?($Trainer.pluscount) vsT += 1 if ($PokemonGlobal.partner!=nil && vsT==0)
Replace it with this:
Not sure that'll fix it but it's worth a trySpoiler:Code:plus = $PokemonSystem.plabatlmt if defined?($Trainer.pluscount) plus = $Trainer.pluscount vsT = $Trainer.pluscount if (vsT >= plus) && (plus != nil) else vsT = $PokemonSystem.plabatlmt end vsT += 1 if ($PokemonGlobal.partner!=nil && vsT==0)