Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old February 18th, 2019 (9:45 AM).
ItaloCTA99 ItaloCTA99 is offline
     
    Join Date: Jun 2017
    Posts: 11
    I need some help with the item Adrenaline Orb and the gold/silver bottle caps, I'm new here so I want some help here please
    Reply With Quote
      #2   Link to this post, but load the entire thread.  
    Old February 18th, 2019 (10:43 AM).
    WolfPP's Avatar
    WolfPP WolfPP is offline
    Discord: Wolf#1235
       
      Join Date: Aug 2018
      Location: Brazil
      Gender: Male
      Nature: Jolly
      Posts: 422
      Quote:
      Originally Posted by ItaloCTA99 View Post
      I'm new here so I want some help here please
      Lol.

      What you want? item.txt? script? be more especific with what you need.
      Reply With Quote
        #3   Link to this post, but load the entire thread.  
      Old February 18th, 2019 (8:07 PM).
      ItaloCTA99 ItaloCTA99 is offline
         
        Join Date: Jun 2017
        Posts: 11
        The item.txt is not neccesary, I really want the script and the only thing that I know about that item is only one use and it's activated by the intimidate ability
        Reply With Quote
          #4   Link to this post, but load the entire thread.  
        Old February 19th, 2019 (6:12 AM). Edited February 22nd, 2019 by WolfPP.
        WolfPP's Avatar
        WolfPP WolfPP is offline
        Discord: Wolf#1235
           
          Join Date: Aug 2018
          Location: Brazil
          Gender: Male
          Nature: Jolly
          Posts: 422
          Just add below intimidate script, in 'PokeBattle_Battler':

          Code:
              # Intimidate
              if self.hasWorkingAbility(:INTIMIDATE) && onactive
                PBDebug.log("[Ability triggered] #{pbThis}'s Intimidate")
                @battle.pbDisplayEffect(self)
                for i in 0...4
                  if pbIsOpposing?(i) && !@battle.battlers[i].fainted?
                    @battle.battlers[i].pbReduceAttackStatIntimidate(self)
                  end
                  if @battle.battlers[i].hasWorkingItem(:ADRENALINEORB) && !@battle.battlers[i].fainted?
                    if !@battle.battlers[i].pbTooHigh?(PBStats::SPEED)
                      if @battle.battlers[i].pbIncreaseStatWithCause(PBStats::SPEED,1,@battle.battlers[i],PBItems.getName(@battle.battlers[i].item))
                        @battle.battlers[i].pbConsumeItem
                      end
                    end
                  end
                end
              end
          Also, idk how to put that part:
          "If the holder is affected by Intimidate, it consumes the Adrenaline Orb and its Speed is increased by one stage. It is not consumed if the holder already has +6 Speed stat stages (unless its Ability is Contrary, in which case it won't activate if the holder has -6 Speed stat stages). It is consumed even if the holder is not affected by Intimidate due to its Ability (e.g. Hyper Cutter) or Mist, but will not activate if the holder is not affected because it already has -6 Attack stat stages (or +6 in the case of Contrary).

          If multiple Pokémon each holding an Adrenaline Orb are affected by Intimidate, each Pokémon will be affected by Intimidate and consume their Adrenaline Orb before Symbiosis transfers any item (including Adrenaline Orbs). "

          I tried to find a video on youtube about that (when opponent have Hyper Cutter, Contrary or use Mist) but i dont got it. If you have the original game, please rec and send to me.
          Lets find a solucion.

          And about "gold/silver bottle caps", what you script them? What functions they have? I did read in bulbapedia and they is just for Hyper Training.

          EDIT: to put that part:
          " (unless its Ability is Contrary, in which case it won't activate if the holder has -6 Speed stat stages). It is consumed even if the holder is not affected by Intimidate due to its Ability (e.g. Hyper Cutter) or Mist, but will not activate if the holder is not affected because it already has -6 Attack stat stages (or +6 in the case of Contrary).
          "
          Just search 'def pbReduceAttackStatIntimidate(opponent)' inside 'PokeBattle_BattlerEffects' and add the red lines:
          Spoiler:

          Code:
              return false if fainted?
              if effects[PBEffects::Substitute]>0
                @battle.pbDisplay(_INTL("{1}'s substitute protected it from {2}'s {3}!",
                   pbThis,opponent.pbThis(true),PBAbilities.getName(opponent.ability)))
                return false
              end
              if !opponent.hasWorkingAbility(:CONTRARY)
                if pbOwnSide.effects[PBEffects::Mist]>0
                  @battle.pbDisplay(_INTL("{1} is protected from {2}'s {3} by Mist!",
                     pbThis,opponent.pbThis(true),PBAbilities.getName(opponent.ability)))
                  if hasWorkingItem(:ADRENALINEORB)
                    if !self.pbTooHigh?(PBStats::SPEED)
                      if pbIncreaseStatWithCause(PBStats::SPEED,1,self,PBItems.getName(self.item))
                        self.pbConsumeItem
                      end
                    end
                  end
                  return false
                end
                if hasWorkingAbility(:CLEARBODY) || hasWorkingAbility(:WHITESMOKE) ||
                   hasWorkingAbility(:FULLMETALBODY) || hasWorkingAbility(:HYPERCUTTER) ||
                   (hasWorkingAbility(:FLOWERVEIL) && pbHasType?(:GRASS))
                  abilityname=PBAbilities.getName(self.ability)
                  oppabilityname=PBAbilities.getName(opponent.ability)
                  @battle.pbDisplay(_INTL("{1}'s {2} prevented {3}'s {4} from working!",
                     pbThis,abilityname,opponent.pbThis(true),oppabilityname))
                  if hasWorkingItem(:ADRENALINEORB)
                    if !self.pbTooHigh?(PBStats::SPEED)
                      if pbIncreaseStatWithCause(PBStats::SPEED,1,self,PBItems.getName(self.item))
                        self.pbConsumeItem
                      end
                    end
                  end
                  return false
                end
              end
              return pbReduceStatWithCause(PBStats::ATTACK,1,opponent,PBAbilities.getName(opponent.ability))
            end
          Reply With Quote
            #5   Link to this post, but load the entire thread.  
          Old February 19th, 2019 (1:36 PM).
          ItaloCTA99 ItaloCTA99 is offline
             
            Join Date: Jun 2017
            Posts: 11
            The golden and silver bottle caps are for maximize the ivs (in silver bottle cap's case it can boost one iv at the maximum but this only can happen if you pokemon is level 100 and the golden bottle cap is the same but with all the stats)
            Reply With Quote
              #6   Link to this post, but load the entire thread.  
            Old February 19th, 2019 (6:05 PM).
            NewAgeSteel NewAgeSteel is offline
               
              Join Date: Jan 2017
              Gender: Male
              Posts: 172
              Quote:
              Originally Posted by WolfPP View Post
              And about "gold/silver bottle caps", what you script them? What functions they have? I did read in bulbapedia and they is just for Hyper Training.
              I believe they’re referring to Pokémon let’s go.
              Reply With Quote
                #7   Link to this post, but load the entire thread.  
              Old February 20th, 2019 (3:39 AM). Edited February 20th, 2019 by WolfPP.
              WolfPP's Avatar
              WolfPP WolfPP is offline
              Discord: Wolf#1235
                 
                Join Date: Aug 2018
                Location: Brazil
                Gender: Male
                Nature: Jolly
                Posts: 422
                Quote:
                Originally Posted by ItaloCTA99 View Post
                The golden and silver bottle caps are for maximize the ivs (in silver bottle cap's case it can boost one iv at the maximum but this only can happen if you pokemon is level 100 and the golden bottle cap is the same but with all the stats)
                You can do it. To Silver Bottle Caps check how MOODY ability, Debug_Pokemon and Day Care script works and make a script for item in ItemEffect. If you finish to Silver you will find a way for Golden.

                I think is better just create a NPC:
                https://www.youtube.com/watch?v=Qd-37wOMLX4
                Reply With Quote
                  #8   Link to this post, but load the entire thread.  
                Old February 20th, 2019 (6:59 AM).
                NewAgeSteel NewAgeSteel is offline
                   
                  Join Date: Jan 2017
                  Gender: Male
                  Posts: 172
                  Quote:
                  Originally Posted by WolfPP View Post
                  You can do it. To Silver Bottle Caps check how MOODY ability, Debug_Pokemon and Day Care script works and make a script for item in ItemEffect. If you finish to Silver you will find a way for Golden.

                  I think is better just create a NPC:
                  https://www.youtube.com/watch?v=Qd-37wOMLX4
                  yeah I believe in lets go they use an NPC as well. but the NPC asks for the bottle caps in exchange. so silver bottle caps the NPC will boost one stat to 31, golden bottle caps the NPC will boost all to 31
                  Reply With Quote
                    #9   Link to this post, but load the entire thread.  
                  Old February 20th, 2019 (10:54 AM). Edited February 20th, 2019 by WolfPP.
                  WolfPP's Avatar
                  WolfPP WolfPP is offline
                  Discord: Wolf#1235
                     
                    Join Date: Aug 2018
                    Location: Brazil
                    Gender: Male
                    Nature: Jolly
                    Posts: 422
                    Good Luck.

                    Also, in 'PSystem_PokemonUtilities' add the red lines:
                    Spoiler:

                    Code:
                    # Same as pbChoosePokemon, but choose only Pokémons lvl 100 and prevents choosing other pokemons.
                    def pbChooseBottle(variableNumber,nameVarNumber)
                      pbChoosePokemon(variableNumber,nameVarNumber,proc {|poke|
                         !poke.egg? && poke.level>99
                      })
                    end
                    
                    
                    # Same as pbChoosePokemon, but prevents choosing an egg or a Shadow Pokémon.
                    def pbChooseTradablePokemon(variableNumber,nameVarNumber,ableProc=nil,allowIneligible=false)
                      chosen = 0
                      pbFadeOutIn(99999){
                        scene = PokemonParty_Scene.new
                        screen = PokemonPartyScreen.new(scene,$Trainer.party)
                        if ableProc
                          chosen=screen.pbChooseTradablePokemon(ableProc,allowIneligible)      
                        else
                          screen.pbStartScene(_INTL("Choose a Pokémon."),false)
                          chosen = screen.pbChoosePokemon
                          screen.pbEndScene
                        end
                      }
                      pbSet(variableNumber,chosen)
                      if chosen>=0
                        pbSet(nameVarNumber,$Trainer.party[chosen].name)
                      else
                        pbSet(nameVarNumber,"")
                      end
                    end

                    And edit the BGM sound inside script.

                    You're welcome.
                    Attached Images
                    File Type: png Hyper1.png‎ (47.9 KB, 6 views) (Save to Dropbox)
                    File Type: png Hyper2.png‎ (40.1 KB, 5 views) (Save to Dropbox)
                    File Type: png Hyper3.png‎ (42.3 KB, 4 views) (Save to Dropbox)
                    File Type: png Hyper4.png‎ (39.8 KB, 4 views) (Save to Dropbox)
                    File Type: png Hyper5.png‎ (37.2 KB, 3 views) (Save to Dropbox)
                    Reply With Quote
                    Reply

                    Quick Reply

                    Join the conversation!

                    Create an account to post a reply in this thread, participate in other discussions, and more!

                    Create a PokéCommunity Account
                    Ad Content
                    Thread Tools

                    Posting Rules
                    You may not post new threads
                    You may not post replies
                    You may not post attachments
                    You may not edit your posts

                    BB code is On
                    Smilies are On
                    [IMG] code is On
                    HTML code is Off

                    Forum Jump


                    All times are GMT -8. The time now is 12:32 AM.