• 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.

[Scripting Question] v18 3rd type?

NeroCraft

NeroGameCraft FGO project
  • 3
    Posts
    4
    Years
    hello, for v18 is there a guide for adding the third type (fourth, fifth)? i tried to do it myself but i can't find in v18 strings like that
    Code:
    optionaltypes={
    ..
    "Type2"=>[9,"e",PBTypes],
    "Type3"=>[10,"e",PBTypes],

    and got errors like that

    Code:
    Message: uninitialized constant PokeBattle_Pokemon::SpeciesType3
    
    Backtrace:
    PokeBattle_Pokemon:398:in `type3'
    PScreen_Summary:455:in `drawPageOne'
    PScreen_Summary:353:in `drawPage'
    PScreen_Summary:165:in `pbStartScene'
    PScreen_Summary:1340:in `pbStartScreen'
    PScreen_Party:639:in `pbSummary'
    PScreen_Party:1217:in `pbPokemonScreen'
    PScreen_Party:1114:in `loop'
    PScreen_Party:1323:in `pbPokemonScreen'
    PScreen_PauseMenu:178:in `pbStartPokemonMenu'
     
    Back
    Top