def refresh
self.bitmap.clear
return if !@battler.pokemon
self.bitmap.blt(0,0,@databox.bitmap,Rect.new(0,0,@databox.width,@databox.height))
base = Color.new(255,255,255)#Color.new(72,72,72)
shadow = Color.new(0,0,0)#(184,184,184)
baseshiny = Color.new(222,197,95) #added to shiny
shadowshiny = Color.new(32,32,32) #added to shiny
pbSetSystemFont(self.bitmap)
textpos = []
imagepos = []
# Draw Pokémon's name
#textpos.push([@battler.name,@spritebaseX+8,6,false,base,shadow]) #original
if @battler.isShiny?#added
textpos.push([@battler.name,@spritebaseX+102,6,false,baseshiny,shadowshiny])#added
else#added
textpos.push([@battler.name,@spritebaseX+102,6,false,base,shadow])#added
end#added