mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Remove type changes when changing forme
This commit is contained in:
@@ -4344,6 +4344,8 @@ var Battle = (function () {
|
||||
var template = Tools.getTemplate(args[2]);
|
||||
var fromeffect = Tools.getEffect(kwargs.from);
|
||||
var spriteData = {'shiny': poke.sprite.sp.shiny};
|
||||
poke.removeVolatile('typeadd');
|
||||
poke.removeVolatile('typechange');
|
||||
|
||||
if (kwargs.silent) {
|
||||
// do nothing
|
||||
|
||||
Reference in New Issue
Block a user