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

Recent content by Tommaniacal

  1. T

    [Scripting Question] Stealth Rock changes help

    This works! Thank you! I have a question, if I've already implemented all of the gen 7 mechanics into V17, would it still be worth it to update to 18? I only hesitate because I have quite a few custom scripts that would probably break
  2. T

    [Scripting Question] Stealth Rock changes help

    Here's the functions: And here's the error:
  3. T

    [Scripting Question] Stealth Rock changes help

    I only see PBTypes_Extra, not PBTypes. It does have functions for PBTypes.isNotVeryEffective?, PBTypes.isNormalEffective?, and PBTypes.isSuperEffective?, which is what I based the last script I posted on, but they give me argument errors.
  4. T

    [Scripting Question] Stealth Rock changes help

    Thanks for the help! I tried using your code, but I get the following error: I'm using V17, is that an issue? I also tried using the following code: But received this error instead:
  5. T

    [Scripting Question] Stealth Rock changes help

    Hello, I'm trying to rebalance Stealth Rock so that it no longer takes quad ineffectiveness or quad effectiveness into account, instead dealing 1/16th if Rock is Not Very Effective, 1/8th if Neutral, and 1/4th if Super Effective. This is the script I have so far: It successfully deals 1/16th...
  6. T

    [Scripting Question] Custom move that deals more damage the more hazards on the user's side

    Hello, I'm scripting a move that increases in damage depending on how many hazards are on its side, increasing by 20 for every hazard, similarly to Stored Power. The script I'm using doesn't return an error, however it appears to be dealing the same base damage no matter what. Here's the script...
  7. T

    [Scripting Question] Custom ability that sends Pokémon out as form 1 instead of form 0

    Hello, I'm trying to script an ability that works similarly to Disguise, in that it changes form after being attacked. The difference would be that its "busted" form would show outside of battle, instead of its disguised form. So it would either need to be in form 1 immediately when sent out (as...
  8. T

    [Scripting Question] Ability that disguises the user as a specific Pokemon

    I tried, but Illusion's scripts are all over the place, so it's very confusing. I can't find where it calls other Pokemon's sprites or stats
  9. T

    [Scripting Question] Ability that disguises the user as a specific Pokemon

    Hello, I'm trying to script an ability for an evolution of Dugtrio. How it would work, is that when it's first sent out into battle it has the name, sprite and stats of Dugtrio, and once it's hit by a damaging move it would change form to have its actual name, sprite, and stats. I originally...
  10. T

    [Scripting Question] How do I change non-critical hit moves' crit ratio to 0?

    When you say above the return, do you mean above return @battle.pbRandom(ratios[c])==0? So like:
  11. T

    [Scripting Question] How do I change non-critical hit moves' crit ratio to 0?

    So, in Pokebattle_Move, under def pbIsCritical? ratios=(USENEWBATTLEMECHANICS) ? [16,8,2,1,1] : [16,8,4,3,2] I'm assuming the 16,8,2,1 means the crit stages are 1/16, 1/8, 1/2 and 100%, however, I want the first stage to be a 0% chance (This means that non crit moves like tackle will never...
  12. T

    [Scripting Question] Item that can increase IVs of choice

    Hello, I'd like to make two items that raises a stat's IVs either by one, or maxes it out to 31 (I'm repurposing Bottle Caps and Gold Bottle Caps to remove the need for a dedicated NPC). Similar to PP Ups and PP Maxes, it would let you choose which stat you'd like to increase. I found a script...
  13. T

    [Scripting Question] Custom Ability boosts damage of next pokemon's attack

    Hello, I'm attempting to script an ability with two different effects: In double battles, if both allies go for a damaging attack the same turn, it increases damage by 30% (for both pokemon). In single battles, it increases the power of pivot moves (Volt Switch and U-Turn) and also the first...
Back
Top