- 87
- Posts
- 9
- Years
- The Elato Region
- Seen Mar 19, 2025
hpGaugeX=PokeBattle_SceneConstants::HPGAUGE_X
hpGaugeY=PokeBattle_SceneConstants::HPGAUGE_Y
# Position and width of HP/Exp bars
HPGAUGE_X = 102
HPGAUGE_Y = 40
Which are actually defined in the PokeBattle_SceneConstants section (as the name does imply...):Code:hpGaugeX=PokeBattle_SceneConstants::HPGAUGE_X hpGaugeY=PokeBattle_SceneConstants::HPGAUGE_Y
Code:# Position and width of HP/Exp bars HPGAUGE_X = 102 HPGAUGE_Y = 40
hpGaugeX=PokeBattle_SceneConstants::HPGAUGE_X
hpGaugeY=PokeBattle_SceneConstants::HPGAUGE_Y
if @animatingHP && self.hp>0
self.bitmap.fill_rect(@spritebaseX+hpGaugeX,hpGaugeY,
@starthp*hpGaugeSize/@battler.totalhp,6,[I]Color.new(0,0,0)[/I])