Torterra18
Base PP Gifter
- 32
- Posts
- 1
- Years
- He/Him
- I know where you live
- Seen Dec 26, 2023
Hello, sorry if it seems like I'm spamming, but I usually feel pretty insecure of what I do, feeling uncapable of finding solutions to my problems, anyways, I've did a code thing there, to make Toxic poisoning reduce both attack and special attack by 25% UNLESS the user has either Guts, Toxic Boost or Poison Heal, and I'm searching for someone to see if my code wouldn't lead to anything wacky happening, like the time I tried making both False Swipe and Explosion-like moves deal neutral to Rock, but ended up disabling the Rock type's defensive properties entirely, and here's the thing:
btw it would be nice if we had some forum things here to ask help for stuff that we think shouldn't deserve an entire thread : )
Code:
// check toxic
if (gBattleMons[battlerAtk].status1 & STATUS1_TOXIC_POISON
&& gBattleMoves[move].effect != EFFECT_FACADE && abilityAtk != ABILITY_GUTS && abilityAtk != ABILITY_POISON_HEAL && abilityAtk != ABILITY_TOXIC_BOOST)
dmg = ApplyModifier(UQ_4_12(0.75), dmg);
Last edited: