• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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
    11
    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:
    How exactly did you fix the error? I'm getting the same error, but cannot diagnose it.
     
    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/threads/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