• 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] [CODE][Pokémon Essentials version 20.1] Script error in event 5 (coords 26,8), map 3 (Red's house) Exception: TypeError Message: nil can't be coerced

  • 429
    Posts
    4
    Years
    Hey, so this isn't working even though it should be working. Let me know if any of you figure out how to make your engine work properly.

    Code:
    [Pokémon Essentials version 20.1]
    
    Script error in event 5 (coords 26,8), map 3 (Red's house)
    Exception: TypeError
    Message: nil can't be coerced into Integer
    
    ***Full script:
    setBattleRule("3v6")
    WildBattle.start(:PIKACHU, 42, :IVYSAUR, 17, :GEODUDE, 25, :GEODUDE, 25, :GEODUDE, 25, :GEODUDE, 25)
    
    Backtrace:
    191:Battle_Scene_Menus:489:in `-'
    191:Battle_Scene_Menus:489:in `block in initialize'
    191:Battle_Scene_Menus:477:in `initialize'
    191:Battle_Scene_Menus:477:in `new'
    191:Battle_Scene_Menus:477:in `initialize'
    188:Scene_Initialize:48:in `new'
    188:Scene_Initialize:48:in `pbInitSprites'
    221:BugContestBattle:8:in `pbInitSprites'
    188:Scene_Initialize:21:in `pbStartBattle'
    148:Battle_StartAndEnd:282:in `pbStartBattleCore'
     
    Back
    Top