• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Day Care Error

65
Posts
9
Years
  • When I leave a Pokémon at day care, I get this message:

    Code:
    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [v19.1 Hotfixes 1.0.3]
    [EBDX v1.2]
    
    Exception: RuntimeError
    Message: Script error in event 1 (coords 7,3), map 24
    Exception: NoMethodError
    Message: undefined method `isSpecies?' for nil:NilClass
    
    ***Full script:
    pbDayCareDeposit(pbGet(1))
    
    Backtrace:
    221:Overworld_DayCare:55:in `block in pbDayCareDeposit'
    221:Overworld_DayCare:51:in `each'
    221:Overworld_DayCare:51:in `pbDayCareDeposit'
    (eval):1:in `execute_script'
    033:Interpreter:137:in `eval'
    033:Interpreter:137:in `execute_script'
    034:Interpreter_Commands:1030:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'
    033:Interpreter:87:in `loop'
    
    Backtrace:
    033:Interpreter:189:in `rescue in execute_script'
    033:Interpreter:135:in `execute_script'
    034:Interpreter_Commands:1030: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'

    Edit: Nevermind, it seens my script got corrupted. I got it fixed by now.
     
    Last edited:
    30
    Posts
    13
    Years
    • Seen Jan 28, 2024
    How exactly did you fix the error? I'm getting the same error, but cannot diagnose it.
     
    8
    Posts
    3
    Years
    • Seen Jan 29, 2024
    Hi,

    How exactly did you fix the error? I'm getting the same error, but cannot diagnose it.

    Look at this post:
    https://www.pokecommunity.com/showthread.php?t=460448

    Is an error produced by Generation 8 Project. In "def pbDayCareDeposit(index)" change
    Code:
    $PokemonGlobal.daycare[i][0].form = 0 if p.isSpecies?(:SHAYMIN)
    to
    Code:
    $PokemonGlobal.daycare[i][0].form = 0 if $Trainer.party[index].species == :SHAYMIN
     
    Back
    Top