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

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
  • In items.txt (xxx will be your last number):

    xxx,HEAVYDUTYBOOTS,Heavy-Duty Boots,Heavy-Duty Boots,1,4000,"These boots prevent the effects of traps set on the battlefield.",0,0,0,

    P.S: for Fling Move, Power is 80.

    Now inside 'PokeBattle_Battle' script, look for Stealth Rock, Spikes, Toxic Spikes and Sticky Web and add pkmn.hasWorkingItem(:HEAVYDUTYBOOTS)', like:

    Code:
          # Spikes
          if pkmn.pbOwnSide.effects[PBEffects::Spikes]>0 && !pkmn.isAirborne?(moldbreaker)
            if !(pkmn.hasWorkingAbility(:MAGICGUARD) || pkmn.hasWorkingItem(:HEAVYDUTYBOOTS))

    Code:
          # Stealth Rock
          if pkmn.pbOwnSide.effects[PBEffects::StealthRock] && !pkmn.fainted?
            if !(pkmn.hasWorkingAbility(:MAGICGUARD) || pkmn.hasWorkingItem(:HEAVYDUTYBOOTS))
              atype=getConst(PBTypes,:ROCK) || 0

    Code:
          # Toxic Spikes
          if pkmn.pbOwnSide.effects[PBEffects::ToxicSpikes]>0 && !pkmn.fainted?
            if !(pkmn.isAirborne?(moldbreaker) || pkmn.hasWorkingItem(:HEAVYDUTYBOOTS))
              if pkmn.pbHasType?(:POISON)

    Code:
          # Sticky Web
          if pkmn.pbOwnSide.effects[PBEffects::StickyWeb] && !pkmn.fainted? &&
             !(pkmn.isAirborne?(moldbreaker) || pkmn.hasWorkingItem(:HEAVYDUTYBOOTS))
            if pkmn.pbCanReduceStatStage?(PBStats::SPEED,nil,false,nil,moldbreaker)
     

    Attachments

    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      itemXXX.png
      1.1 KB · Views: 720
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Some moves (only Drum Beating will have edition about the script):
    In moves.txt paste ("XXX" will be your last numbers):
    Code:
    XXX,BRANCHPOKE,Branch Poke,000,40,GRASS,Physical,100,40,0,00,0,abef,"The user attacks the target by poking it with a sharply pointed branch."
    XXX,DRUMBEATING,Drum Beating,04D,80,GRASS,Physical,100,10,0,00,0,bef,"The user plays its drum, controlling the drum's roots to attack the target. This also lowers the target's Speed stat."
    XXX,PYROBALL,Pyro Ball,00A,120,FIRE,Physical,90,5,10,00,0,bef,"The user attacks by igniting a small stone and launching it as a fiery ball at the target. This may also leave the target with a burn."

    Now, inside 'PokeBattle_MoveEffects' script, look for 'class PokeBattle_Move_04D < PokeBattle_Move' and replace for:
    Spoiler:
     
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Here the moves.txt for Gen 8 (some codes have XXX. Am working to code them):
    Spoiler:
     
    Last edited:

    HM100

    HM100 the Techno
    113
    Posts
    7
    Years
    • Seen Apr 27, 2024
    Here the moves.txt for Gen 8 (some codes have XXX. Am working to code them):
    Spoiler:

    Aura Wheel fails if used by Pokémon other than Morpeko. Also, I would use separate function codes i stead of editing the existing moves, unless it should use the same ones
     
    53
    Posts
    4
    Years
    • Seen May 29, 2022
    Milcery's Evolution:

    In Pokemon.txt at the bottom of Milcery's code:
    Evolutions=ALCREMIE,Item,(All spinners indivually listed for PItem_ItemEffects)

    In PItem_ItemEffects:

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERSLOW,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 49 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 50 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 51 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 52 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 53 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 54 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 55 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERMEDIUM,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 28 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 29 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 30 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 31 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 32 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 33 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 34 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERQUICK,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 0 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 1 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 2 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 3 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 4 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 5 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 6 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    pokemon.form=(pokemon.form==0) ? 14 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 15 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 16 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 17 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 18 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 19 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 20 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERSLOWC,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 56 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 57 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 58 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 59 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 60 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 61 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 62 : 0 if PBDayNight.isEvening? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERMEDIUMC,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 42 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 43 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 44 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 45 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 46 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 47 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 48 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    pokemon.form=(pokemon.form==0) ? 21 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 22 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 23 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 24 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 25 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 26 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 27 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })

    ItemHandlers::UseOnPokemon.add(:MILCERYSPINNERQUICKC,proc{|item,pokemon,scene|
    if isConst?(pokemon.species,PBSpecies,:MILCERY)
    if pokemon.hp>0
    pokemon.form=(pokemon.form==0) ? 7 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 8 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 9 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 10 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 11 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 12 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 13 : 0 if PBDayNight.isDay? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    pokemon.form=(pokemon.form==0) ? 35 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCHERRY)
    pokemon.form=(pokemon.form==0) ? 36 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY)
    pokemon.form=(pokemon.form==0) ? 37 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCANDYHEART)
    pokemon.form=(pokemon.form==0) ? 38 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETSTAR)
    pokemon.form=(pokemon.form==0) ? 39 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETCLOVER)
    pokemon.form=(pokemon.form==0) ? 40 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETFLOWER)
    pokemon.form=(pokemon.form==0) ? 41 : 0 if PBDayNight.isNight? && isConst?(pokemon.item,PBItems,:SWEETBOW)
    scene.pbRefresh
    scene.pbDisplay(_INTL("{1}'s flavor changed!",pokemon.name))
    newspecies=pbCheckEvolution(pokemon,item)
    newspecies=pbCheckEvolution(pokemon,item)
    if isConst?(pokemon.item,PBItems,:SWEETCHERRY) || isConst?(pokemon.item,PBItems,:SWEETBLUEBERRY) || isConst?(pokemon.item,PBItems,:SWEETCANDYHEART) || isConst?(pokemon.item,PBItems,:SWEETSTAR) || isConst?(pokemon.item,PBItems,:SWEETCLOVER) || isConst?(pokemon.item,PBItems,:SWEETFLOWER) || isConst?(pokemon.item,PBItems,:SWEETBOW)
    pbFadeOutInWithMusic(99999){
    evo=PokemonEvolutionScene.new
    evo.pbStartScreen(pokemon,newspecies)
    evo.pbEvolution(false)
    evo.pbEndScreen
    if scene.is_a?(PokemonBag_Scene)
    scene.pbRefreshAnnotations(proc{|p| pbCheckEvolution(p,item)>0 })
    scene.pbRefresh
    end
    }
    next true
    end
    else
    scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
    end
    else
    scene.pbDisplay(_INTL("It had no effect."))
    next false
    end
    })
     

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    Spoiler:


    Excuse me, but could you use "[.spoiler]text[./spoiler]" and "[.code]text[./code]" (without the dots) in order to post large scripts, please? It's a little bit annoying scrolling down for 10 seconds to see a reply. Thank you.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Aura Wheel fails if used by Pokémon other than Morpeko. Also, I would use separate function codes i stead of editing the existing moves, unless it should use the same ones

    Yep, I checked Smogon yesterday and I edited. Thanks anyway!


    Guys, I edited the main post today (Dec. 4) with the moves codes. Please check there! Only 7 moves need to be coded, IIRC.
    When I have time I will organize for Items and Abilities.

    Cya!
     
    44
    Posts
    6
    Years
    • Seen Jul 13, 2021
    EDIT: Fixed Rattled code to actually work as it should.

    In gen 8 some abilities got buffed,
    one of them was Rattled, it now activates when a mon with Intimidate is sent in:

    Spoiler:
     
    Last edited:

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    I've posted this information in a unique post here: https://www.pokecommunity.com/showthread.php?p=10093240#post10093240
    I decided putting the info again here for obvious reasons. (If a member that could delete that post see this, do it please, in order to avoid double-posting. Thanks.)

    I'm just informing new effects that were added (the old effects are still working, but now we have new effects) to old abilities in Gen 8.

    Disguise: when the disguise is busted, Mimikyu loses 1/8 of its total HP.
    Flash Fire: if you have a Pokémon with this ability in the FIRST place of your team, you will have a 50% of chances to find Fire-type wild Pokémon.
    Lighting Rod: same like Flash Fire, but with Electric-type wild Pokémon.
    Harvest: same like Flash Fire, but with Grass-type wild Pokémon.
    Storm Drain: same like Flash Fire, but with Water-type wild Pokémon.
    Inner Focus: Pokémon with this ability can't be affected by Intimidate.
    Oblivious: same like Inner Focus.
    Own Tempo: same like Inner Focus.
    Scrappy: same like Inner Focus.
    Rattled: if the Pokémon with this ability is affected by Intimidate, its Speed will be boosted in 1 level (Intimidate will low the Attack anyways, remember, this is just an ADDED effect).
    Moody: Accuracy and Evasion won't be affected with the effects of this ability.
    Super Luck: if you have a Pokémon with this ability in the FIRST place of your team, wild Pokémon will have an item (with a 50% of chances).
    Synchronize: if you have a Pokémon with this ability in the FIRST place of your team, wild Pokémon will always have the same nature of the Pokémon with Synchronize (not a 50% like before).

    Changes were informed here: https://www.youtube.com/watch?v=-kPnxYiqRpY
    He's not an official youtuber of Nintendo, but he always is informing things that are true. (He informed changes in 7th Gen and 6th Gen before too, and he wasn't wrong).

    As we can read, Intimidate was nerfed a lot. F.
     
    44
    Posts
    6
    Years
    • Seen Jul 13, 2021
    Here's the code for some of the things of the post above:

    Add or replace with the code in red:

    Flash Fire; Lightning Rod; Storm Drain and Harvest:

    Spoiler:


    For Super Luck and Synchronize

    Spoiler:
     
    Last edited:

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    Code:
    [COLOR="Red"]chances = [60,20,5] if firstpoke && (isConst?(firstpoke.ability,PBAbilities,:COMPOUNDEYES) || 
                                           isConst?(firstpoke.ability,PBAbilities,:KEENEYE) ||
                                           isConst?(firstpoke.ability,PBAbilities,:SUPERLUCK)) [/COLOR]

    I'm guess your code isn't correct at all, because, as far as I know, Superluck changes the chances into a 50% (all of them), and it isn't an addition of a 50%. So the code should be:

    Code:
    chances = [60,20,5] if firstpoke && isConst?(firstpoke.ability,PBAbilities,:COMPOUNDEYES)
    [COLOR="Red"]chances = [50,50,50] if firstpoke && isConst?(firstpoke.ability,PBAbilities,:SUPERLUCK)[/COLOR]

    (And I don't know why you have Keen Eye there, since it doesn't affect anything in the chances of finding an item in a wild Pokémon, but if you have it there because of your game, ignore this xD).

    Disguise's Modification

    First, you need the Disguise's script posted here by WolfPP: https://www.pokecommunity.com/showthread.php?t=417343&page=4 (it's almost at the end of the page).

    Now, in PokeBattle_Move find def pbReduceHPDamage(damage,attacker,opponent) and paste the red lines:
    Spoiler:

    Credits to WolfPP for helping me to do this and for being the creator of the script too.
     
    Last edited:

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    In gen 8 some abilities got buffed,
    one of them was Rattled, it now activates when a mon with Intimidate is sent in:

    Spoiler:

    That script gave me an error in-battle, after raising the speed of the Pokémon with Rattled, so I replaced yours with this:

    Spoiler:

    Remember to replace "#Ability" names. My game is in spanish, so that's why I had it in that language.
    Besides, I added some simple codes to make work Scrappy, Own Tempo, Oblivious and Inner Focus, according to their new effects related with Intimidate.
     
    Last edited:
    150
    Posts
    8
    Years
    • Seen Jul 13, 2023
    Spoiler:
    I like your idea of using spinner items to trigger the evolution. I took that thinking a step further and make some icon sprites based on electric kitchen mixers.

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


    Anyone who wants to use these, please feel free to!
     

    Attachments

    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1138.png
      671 bytes · Views: 862
    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1139.png
      674 bytes · Views: 865
    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1140.png
      669 bytes · Views: 863
    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1141.png
      684 bytes · Views: 864
    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1142.png
      687 bytes · Views: 875
    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      item1143.png
      681 bytes · Views: 865
    44
    Posts
    4
    Years
  • Wolf, I have a question.

    Your code for Ice Face doesn't work for me. I don't get any errors, simply it doesn't do anything.

    It's necessary to have your code for Disguise?

    I have that code from the thread of PoQ [Script for Disguise] (Sorry, I can't post links)

    Thanks for your help.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Wolf, I have a question.

    Your code for Ice Face doesn't work for me. I don't get any errors, simply it doesn't do anything.

    It's necessary to have your code for Disguise?

    I have that code from the thread of PoQ [Script for Disguise] (Sorry, I can't post links)

    Thanks for your help.

    Focus on the ICE FACE.
    Form 0 is Ice Face and form 1 is Noice Face. My mistake. Please check the code again, I edited where we have 0 to 1 and vice-versa.
     
    44
    Posts
    4
    Years
  • I tested it again and now the ability works but it stays in the No Ice form after the battle. And, during hail, the ability doesn't regenerate.

    Thanks for your effort, it's something awesome.
    ------------------
    EDIT 1: I also detected a little bug in you code for Gulp Missile. You missed an "r" in one lowerspeed, and that makes an error. Is easy to fix.

    This is the code that goes after air balloon. The "r" in red was missing.
    Spoiler:
    -------------------------
    EDIT 2: Ok, I'm here again. I revised the code for Ice Face and I found an error when you use Hail. It's also a little thing, like the previous one.

    This is part of the code that goes inside PokeBattle_MoveEffects, inside HAIL. A ":" was missing before EISCUE. I marked it in red.

    Spoiler:

    Changing that, when you use Hail with an Eiscue without his face, the ability regenerates. But it doesn't regenerates at the end of the turns during Hail.

    I didn't played Sword or Shield (yet), so I don't know exactly how it works.

    Also I'm very new to this world and I don't know how to code... The only thing that I can do is search for this kind of things.

    Again, thanks for your effort.
     
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Improve Rapid Spin:
    Spoiler:
     
    Last edited:
    658
    Posts
    7
    Years
  • Rotom and its forms have made it into the Gen 8 Dex, but this time you don't need to go to a specific place in order to change its form. In Wyndon, you'll encounter a man who will give you a special Rotom Catalog item which will allow you to change the form of your Rotom anywhere you desire.

    PBS:
    Spoiler:


    Code:
    Spoiler:
     

    Attachments

    • [Essentials v17.2] Gen 8 stuffs (Abilities, Items & Move)
      itemXXX.png
      903 bytes · Views: 999
    Last edited:
    Back
    Top