Registrarse

Problema creando batalla Líder

Estado
Cerrado para nuevas respuestas.
Hola:

La duda que tengo tiene relación con un entrenador. Para efectos de un proyecto de aprendizaje que hago, modifiqué un entrenador que viene de ejemplo en Pokemon Essentials. Todo marchaba bien, decía el mensaje, pero, al momento de ir a la batalla, muestra el siguiente error:

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 2, map 24 (BROCK'S HIDDEN):

Exception: NoMethodError

Message: Section107:289:in `pbTrainerBattle'undefined method `pokemonCount' for nil:NilClass

***Full script:

pbTrainerBattle(PBTrainers::Brocks_disiple,"Brock's Pet 1",_I("A very good battle, indeed."),false,0)

Interpreter:243:in `pbExecuteScript'

(eval):1:in `pbExecuteScript'

Interpreter:788:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in

C:\Users\MI_USUARIO\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
Aceptar
---------------------------

No sé que puede estar mal. ¿Estará faltando algo?

Espero me ayuden. Saludos.

:8)
 
Estado
Cerrado para nuevas respuestas.
Arriba