From 00a449473a216207ed678abc7e0bb7de2ccf93b5 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 7 Apr 2013 21:39:59 -0700 Subject: [PATCH] Show real HP in debug mode --- battles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battles.js b/battles.js index 390b3d3552..daa2db4590 100644 --- a/battles.js +++ b/battles.js @@ -924,7 +924,7 @@ var BattlePokemon = (function() { BattlePokemon.prototype.getHealth = function(realHp) { if (!this.hp) return '0 fnt'; var hpstring; - if (realHp) { + if (realHp || this.getFormat().debug) { hpstring = ''+this.hp+'/'+this.maxhp; } else { var ratio = this.hp / this.maxhp;