• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] PScreen_Party hasn't change after editing

  • 71
    Posts
    5
    Years
    So I've changed my PScreen Party options to this (imported from my 17.2 project)

    Code:
    commands   = []
          cmdSummary = -1
          cmdDebug   = -1
          cmdMoves   = [-1,-1,-1,-1]
          cmdSwitch  = -1
          cmdMail    = -1
          cmdItem    = -1
          cmdRename  = -1
          # Build the commands
          commands[cmdSummary = commands.length]      = _INTL("Datos")
          commands[cmdDebug = commands.length]        = _INTL("Debug") if $DEBUG
          for i in 0...pkmn.moves.length
            move = pkmn.moves[i]
            # Check for hidden moves and add any that were found
            if !pkmn.egg? && (isConst?(move.id,PBMoves,:MILKDRINK) ||
                              isConst?(move.id,PBMoves,:SOFTBOILED) ||
                              HiddenMoveHandlers.hasHandler(move.id))
              commands[cmdMoves[i] = commands.length] = [PBMoves.getName(move.id),1]
            end
          end
          commands[cmdSwitch = commands.length]       = _INTL("Mover") if @party.length>1
          if !pkmn.egg?
            if pkmn.mail
              commands[cmdMail = commands.length]     = _INTL("Correo")
            else
              commands[cmdItem = commands.length]     = _INTL("Objeto")
            end
          end
          commands[cmdRename = commands.length]      = _INTL("Renombrar")
          commands[commands.length]                   = _INTL("Cancelar")
          command = @scene.pbShowCommands(_INTL("¿Qué harás con {1}?",pkmn.name),commands)

    Yet it still shows the one in english and without Rename (Renombrar) option, which it did in 17.2. I don't know why because I've replaced the entire script, made a new save file and delete the old one in save games. Am I missing anything?

    Edit: I actually did changed all of PScreen_Party so this "Renombrar" option works, but I only showed this part to clarify the options that the menu should show
     
    Back
    Top