View Single Post
Old March 30th, 2013 (11:06 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Join Date: Jan 2008
Location: England
Posts: 4,777
Interesting design.

1. self.bitmap.font.size=16, placed directly after the line pbSetSystemFont(self.bitmap). That'll change all text in the Pokémon panels (i.e. level and name). You'll probably need to fiddle with the number a bit.

2. The width of the health bar (I'm just mentioning this for completeness) is the red number in the following line:
hpgauge=@pokemon.totalhp==0 ? 0 : (self.hp*96/@pokemon.totalhp)
The height of the health bar is determined by the red numbers in the following lines:
Knowing that the health bar is three separate coloured lines, this should make some sense.
Reply With Quote