- 825
- Posts
- 9
- Years
- The Dissa Region
- Seen Oct 7, 2024
I'm trying to make it so that Ditto can Transform but keeps his own Shininess rather than the target's. I have it so that right before the Transformation animation, I copy the target to a variable named "bob", using
then I edit bob's shininess to match Ditto's. This, however, seems to cause the target to become Shiny - the infobox gains the red star but the sprite doesn't change.
Edit: I made a small fix and now the only issue is that the target becomes Shiny when it shouldn't be.
Second Edit: I have a fix. before making the variable bob I store the shininess to a new value (but I use (opponent.isShiny?)==true so it stores as a boolien instead of a function), and after the transformation I revert opponent's shininess to that value.
Code:
bob=opponent
Edit: I made a small fix and now the only issue is that the target becomes Shiny when it shouldn't be.
Second Edit: I have a fix. before making the variable bob I store the shininess to a new value (but I use (opponent.isShiny?)==true so it stores as a boolien instead of a function), and after the transformation I revert opponent's shininess to that value.
Last edited: