Add message and volatile for Throat Chop (#806)

This commit is contained in:
urkerab
2016-11-19 22:33:14 +00:00
committed by Guangcong Luo
parent d63b08406e
commit 7f3762a0f7

View File

@@ -2148,6 +2148,7 @@ var Side = (function () {
}
}
var statusTable = {
throatchop: '<span class="bad">Throat&nbsp;Chop</span> ',
confusion: '<span class="bad">Confused</span> ',
healblock: '<span class="bad">Heal&nbsp;Block</span> ',
yawn: '<span class="bad">Drowsy</span> ',
@@ -3341,6 +3342,9 @@ var Battle = (function () {
this.message('' + pokemon.getName() + ' can\'t use its sealed ' + move.name + '!');
pokemon.markMove(move.name, 0);
break;
case 'throatchop':
this.message('The effects of Throat Chop prevent ' + pokemon.getName() + ' from using certain moves!');
break;
case 'par':
this.resultAnim(pokemon, 'Paralyzed', 'par');
this.message('' + pokemon.getName() + ' is paralyzed! It can\'t move!');