• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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
    5
    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