# ResourceEssentials Modular Battle Scene 2.0.2

#### PokeMiner20

##### Novice
Member
Does this function like a Horde Battle, like in X&Y?
"Modular" should straight up tell you any knowledge you already know about this script should fit with any scenario you could come up with. Example: "Hoard Battles" Are defined as 1 player Pokémon vs 5 Pokémon, the screenshot in the original post shows 3 player Pokémon vs 5 Pokémon. if this script is "Modular" like I said, I think you should already know the answer

#### Leondrea

##### Cooltrainer
Member
"Modular" should straight up tell you any knowledge you already know about this script should fit with any scenario you could come up with. Example: "Hoard Battles" Are defined as 1 player Pokémon vs 5 Pokémon, the screenshot in the original post shows 3 player Pokémon vs 5 Pokémon. if this script is "Modular" like I said, I think you should already know the answer
If I were a native English/American speaker, yes I should know it, but I'm not, so I didn't know what Modular means/meant, so I thought its something else.
Sorry for I'm being dumb I have problems understanding words that were derived from latin or french.

#### Zed_Coeur

##### Rookie
Member
sure:

[Thu Aug 12 13:43:32 Central Daylight Time 2021]
[Pokémon Essentials version 18]
Exception: RuntimeError
Message: Script error within event 6 (coords 19,28), map 82 (Route 301):
Exception: NameError
Message: :1656:in pbTrainerBattleCore'undefined local variable or method room_for_partner' for #<Interpreter:0xc8ca518>

***Full script:
pbModTrBat(1,1,:POKEMONTRAINER_Zed,"Markus")

Backtrace:
Interpreter:201:in pbExecuteScript'
:1356:in pbModTrBat'
(eval):1:in pbExecuteScript'
Interpreter:665:in eval'
Interpreter:201:in pbExecuteScript'
Interpreter:665:in command_111'
Interpreter:279:in execute_command'
Interpreter:155:in update'
Interpreter:102:in loop'
Interpreter:158:in update'

Backtrace:
Interpreter:237:in pbExecuteScript'
Interpreter:665:in command_111'
Interpreter:279:in execute_command'
Interpreter:155:in update'
Interpreter:102:in loop'
Interpreter:158:in update'
Scene_Map:162:in update'
Scene_Map:160:in loop'
Scene_Map:169:in update'
Scene_Map:229:in main'

#### PokeMiner20

##### Novice
Member
sure:

[Thu Aug 12 13:43:32 Central Daylight Time 2021]
[Pokémon Essentials version 18]
Message: :1656:in pbTrainerBattleCore'undefined local variable or method room_for_partner' for #<Interpreter:0xc8ca518>
Manual fix: Go to line 1477 and copy the line of code above the "if !room" and place it on line 1656.
Lazy Fix: Redownload the script and inject v1.2.1 sine I updated it

Member

#### SebastiaanZ

##### Novice
Member
Uhm ... it tells me pbModWildBattle is an undefined method?

#### PokeMiner20

##### Novice
Member
Uhm ... it tells me pbModWildBattle is an undefined method?
the blurb at the top of the post is outdated. just Ctrl + f for ModWild and you'll fine the right method

#### SebastiaanZ

##### Novice
Member
the blurb at the top of the post is outdated. just Ctrl + f for ModWild and you'll fine the right method
Ah thanks! Found it and it works!

#### Lycanroc Bv

##### Rookie
Member
there is no compatibility between your script and the Zud of the version of essentials v18?

#### PokeMiner20

##### Novice
Member
there is no compatibility between your script and the Zud of the version of essentials v18?
while ZUD did make this and itself compatible back in v18, neither Lucidious, St. Cooler, nor myself will be providing any further support for v18 versions of our code since we've all upgraded to v19

#### RandomRyan

##### Rookie
Member
So, when you say that I have to take the scripts in this plugin and put them into the script editor, does that mean I have to replace the scripts in the script editor, or does it mean I have to add them without replacing anything?

#### PokeMiner20

##### Novice
Member
So, when you say that I have to take the scripts in this plugin and put them into the script editor, does that mean I have to replace the scripts in the script editor, or does it mean I have to add them without replacing anything?
all of my scripts are "Plugin Agnostic" meaning it doesn't matter if you install them in the script editor or the plugin folder. simply refer to my creations as scripts. if you replace anything in the script editor, you have failed to install this resource properly. if you want to install this in the script editor, scroll to the bottom of the script editor, select the divider above Main, press 'Insert' on your keyboard, and paste the script into the blank editor. save and load. and important: START A NEW SAVE AFTER INSTALLING

I've updated the download to allow for a 'Plugin Friendly' version to be used. pick your poison

Thank you for coming to my Ted Talk