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

[Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)

421
Posts
9
Years
  • Just add 'return if isConst?(ball,PBItems,:SAFARIBALL)' inside 'def pbBallFetch(ball)', like:
    Code:
      def pbBallFetch(ball)
        return if isConst?(ball,PBItems,:SAFARIBALL)
        for i in 0...4
          if self.battlers[i].hasWorkingAbility(:BALLFETCH) && self.battlers[i].item==0
            self.battlers[i].effects[PBEffects::BallFetch]=ball
          end
        end
      end

    Edited the main post about the ability. Thanks for the feedback!

    Thank you a whole bunch!

    But if I may, I found an issue with your Galarian Farfetch'd evolution method.
    I could trace the problem to PField_Battles, where you said to replace the scripts.
    I found it makes any Pokemon evolve, after a battle.
    This may be wrong, but it's what I found.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Thank you a whole bunch!

    But if I may, I found an issue with your Galarian Farfetch'd evolution method.
    I could trace the problem to PField_Battles, where you said to replace the scripts.
    I found it makes any Pokemon evolve, after a battle.
    This may be wrong, but it's what I found.

    LOL. Am on mobile right now but try to add a simple '>0' after '$PokemonTemp.evolutionLandCritical', like:
    Code:
        if $PokemonTemp.evolutionLandCritical>0
          pbEvolutionCheck($PokemonTemp.evolutionLandCritical)
          $PokemonTemp.evolutionLandCritical = nil
        end
      end
      if decision==1
        for pkmn in $Trainer.pokemonParty
     
    421
    Posts
    9
    Years
  • LOL. Am on mobile right now but try to add a simple '>0' after '$PokemonTemp.evolutionLandCritical', like:
    Code:
        if $PokemonTemp.evolutionLandCritical>0
          pbEvolutionCheck($PokemonTemp.evolutionLandCritical)
          $PokemonTemp.evolutionLandCritical = nil
        end
      end
      if decision==1
        for pkmn in $Trainer.pokemonParty

    Thanks again! I don't mean to point out all these mistakes a lot, by the way. Just wanting to help in making them work right!
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Thanks again! I don't mean to point out all these mistakes a lot, by the way. Just wanting to help in making them work right!

    We need that people tests to give us a feedback, you know?! :) You're right to test and say to us.
    Did you test and I fixed it, BTW?
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • It seems to not work for me still. It's doesn't seem to like the > symbol. I know I put it in the right place, where onEndBattle is.

    Ooff. Please send to me your situation:
    What pokémon evolved besides Galarian Farfetch after battle?
    I'd like to simulate your case in my game to check it 'cause TBH I can't see nothing wrong yet...
     
    421
    Posts
    9
    Years
  • Ooff. Please send to me your situation:
    What pokémon evolved besides Galarian Farfetch after battle?
    I'd like to simulate your case in my game to check it 'cause TBH I can't see nothing wrong yet...

    It's any Pokemon that's of level, actually. Just evolves. I'm sure I put in all the script right, too. I wonder what the difference is. I can check again.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Improved Galarian Farfetch'd evo method script. Please check the script again here.

    It's any Pokemon that's of level, actually. Just evolves. I'm sure I put in all the script right, too. I wonder what the difference is. I can check again.

    It's done! :D Check the main post about the evo method script.
    Our problem was here: "pokemon.level!=currentlevels". However I think I solved it. Please check it out!
     
    Last edited:
    421
    Posts
    9
    Years
  • Improved Galarian Farfetch'd evo method script. Please check the script again here.



    It's done! :D Check the main post about the evo method script.
    Our problem was here: "pokemon.level!=currentlevels". However I think I solved it. Please check it out!


    I still have problems, however. I made absolutely sure I followed your post.
    Of what I could gather, for some reason on my side, it activates if Farfetch'd gets at least 1 crit. It doesn't make other Pokemon evolve, though, this time around.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Edited G. Farfecth'd evo method again. Check here.

    I still have problems, however. I made absolutely sure I followed your post.
    Of what I could gather, for some reason on my side, it activates if Farfetch'd gets at least 1 crit. It doesn't make other Pokemon evolve, though, this time around.

    It's weird but a lazy solution is add 'next if poke.landCritical<3' below 'next if !(isConst?(poke.species,PBSpecies,:FARFETCHD) && poke.form==1)'.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Milcery's evo method (but we need to create a script to read/recognize a "spin around event" and also a "countdown"; any idea?) :
    Spoiler:
     
    1
    Posts
    5
    Years
    • Seen Feb 6, 2023
    Galarian Yamask's evo method:
    Spoiler:



    ---------------------------
    Essentials BW
    ---------------------------
    Exception: NoMethodError

    Message: undefined method isJustGrass?' for PBTerrain:Module

    PField_Field:1504

    PField_Field:1500:in call'

    Event:54:in trigger'

    Event:49:in each'

    Event:49:in trigger'

    Game_Character:333:in update_move'

    Game_Character:272:in update'

    Game_Player:445:in update_old'

    Walk_Run:75:in update'

    Scene_Map:105:in update'

    this error Apparear :C
     

    #Not Important

    All hail the wishmaker
    910
    Posts
    4
    Years
  • I just made it.
    Add this into PokeBattle_MoveEffects:
    Spoiler:
     
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Where you got the details about how many HP is healed?
    I like to wait when the move is released in its entirety to make the script for it: official phrase plus the official effects.

    But to healing, just get Life Dew as a base, and add the status condition inside the code.

    Also, I believe you need to fix your script:
    Change 'user', 'attcker', 'attaker' to 'attacker'.
     
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Oofff, too many details to make a script for Utility Umbrella:
    Spoiler:

    Font: https://m.bulbapedia.bulbagarden.net/wiki/Utility_Umbrella

    I'll try it later.
     
    1,805
    Posts
    7
    Years
  • Here is clangorous soul for you! :3

    All you need to do is replace this block regarding Ancient Power. Tis simpler than the other one posted:

    Code:
    ################################################################################
    # Increases the user's Attack, Defense, Speed, Special Attack and Special Defense
    # by 1 stage each. (AncientPower, Ominous Wind, Silver Wind)
    ################################################################################
    class PokeBattle_Move_02D < PokeBattle_Move
      def pbCheckKommoo
        if  isConst?(@id,PBMoves,:CLANGOROUSSOUL) && attacker.hp>= attacker.totalhp/3.floor
          attacker.pbReduceHP((attacker.totalhp/3).floor)
        else 
          @battle.pbDisplay(_INTL("But it failed!"))
          return -1
        end
      end
      def pbAdditionalEffect(attacker,opponent)
        attacker.pbCheckKommoo
        showanim=true
        if attacker.pbCanIncreaseStatStage?(PBStats::ATTACK,attacker,false,self)
          attacker.pbIncreaseStat(PBStats::ATTACK,1,attacker,false,self,showanim)
          showanim=false
        end
        if attacker.pbCanIncreaseStatStage?(PBStats::DEFENSE,attacker,false,self)
          attacker.pbIncreaseStat(PBStats::DEFENSE,1,attacker,false,self,showanim)
          showanim=false
        end
        if attacker.pbCanIncreaseStatStage?(PBStats::SPATK,attacker,false,self)
          attacker.pbIncreaseStat(PBStats::SPATK,1,attacker,false,self,showanim)
          showanim=false
        end
        if attacker.pbCanIncreaseStatStage?(PBStats::SPDEF,attacker,false,self)
          attacker.pbIncreaseStat(PBStats::SPDEF,1,attacker,false,self,showanim)
          showanim=false
        end
        if attacker.pbCanIncreaseStatStage?(PBStats::SPEED,attacker,false,self)
          attacker.pbIncreaseStat(PBStats::SPEED,1,attacker,false,self,showanim)
          showanim=false
        end
      end
    end



    And to update your Moves PBS file with the following string

    Code:
    ___,CLANGOROUSSOUL,Clangorous Soul,02D,00,DRAGON,Status,100,5,100,00,0,bef,"The user raises all its stats by using some of its HP."
    j
     
    Last edited:

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    Oofff, too many details to make a script for Utility Umbrella:
    Spoiler:

    Font: https://m.bulbapedia.bulbagarden.net/wiki/Utility_Umbrella

    I'll try it later.

    I made a script for it. Maybe you could take a look and modify it if you want.
    https://www.pokecommunity.com/showthread.php?t=422817&page=4
     
    Last edited:
    Back
    Top