Hi ho, who here can tell me what is wrong in THIS picture.
Because it ain't the illegal moves.
Imprison here is being baton passed to a breloom here that knows agility. Logically, the opposing sawsbuck would not be able to use agility because of this. But lo and behold, it can and did.
What is happening here?
Code: "imprison": {
num: 286,
accuracy: true,
basePower: 0,
category: "Status",
desc: "The user prevents all of its foes from using any moves that the user also knows as long as the user remains active.",
shortDesc: "No foe can use any move known by the user.",
id: "imprison",
name: "Imprison",
pp: 10,
priority: 0,
flags: {snatch: 1, authentic: 1},
volatileStatus: 'imprison',
effect: {
noCopy: true,
onStart: function (target) {
this.add('-start', target, 'move: Imprison');
},
onFoeDisableMove: function (pokemon) {
var foeMoves = this.effectData.source.moveset;
for (var f = 0; f < foeMoves.length; f++) {
pokemon.disableMove(foeMoves[f].id, true);
}
pokemon.maybeDisabled = true;
},
onFoeBeforeMovePriority: 4,
onFoeBeforeMove: function (attacker, defender, move) {
if (this.effectData.source.hasMove(move.id)) {
this.add('cant', attacker, 'move: Imprison', move);
return false;
}
}
},
secondary: false,
target: "self",
type: "Psychic"
},Here is the snippet of code that refers to imprison, as you can see it is tagged with:
Code: noCopy: true,
So that explains why sawsbuck can use the move, breloom here doesn't actually have the status imprison. Functionally correct.
But it's showing "imprisoning foe", any idea why? Another volatile status with the nocopy tag is in this screenshot in flash fire, it did not pass the label, this is only effecting imprison as far as I know.
EDIT: Autotomize, Disable, Attract as well.
Hide
Last edited: Jul 23, 2015