mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Fixed up text positioning and window sizes, fixed crash when choosing how many items to toss from the Bag
This commit is contained in:
@@ -643,10 +643,10 @@ class Window_PurifyChamberSets < Window_DrawableCommand
|
||||
rect=drawCursor(index,rect)
|
||||
if index==@switching
|
||||
textpos.push([(index+1).to_s,rect.x,
|
||||
rect.y,false,Color.new(248,0,0),self.shadowColor])
|
||||
rect.y-6,false,Color.new(248,0,0),self.shadowColor])
|
||||
else
|
||||
textpos.push([(index+1).to_s,rect.x,
|
||||
rect.y,false,self.baseColor,self.shadowColor])
|
||||
rect.y-6,false,self.baseColor,self.shadowColor])
|
||||
end
|
||||
if @chamber.setCount(index)>0
|
||||
pbDrawGauge(self.contents,Rect.new(rect.x+16,rect.y+6,48,8),
|
||||
@@ -934,14 +934,14 @@ class PurifyChamberSetView < SpriteWrapper
|
||||
textpos=[]
|
||||
if pkmn
|
||||
if pkmn.type1==pkmn.type2
|
||||
textpos.push([_INTL("{1} Lv.{2} {3}",pkmn.name,pkmn.level,GameData::Type.get(pkmn.type1).name),2,0,0,
|
||||
textpos.push([_INTL("{1} Lv.{2} {3}",pkmn.name,pkmn.level,GameData::Type.get(pkmn.type1).name),2,-6,0,
|
||||
Color.new(248,248,248),Color.new(128,128,128)])
|
||||
else
|
||||
textpos.push([_INTL("{1} Lv.{2} {3}/{4}",pkmn.name,pkmn.level,GameData::Type.get(pkmn.type1).name,
|
||||
GameData::Type.get(pkmn.type2).name),2,0,0,
|
||||
GameData::Type.get(pkmn.type2).name),2,-6,0,
|
||||
Color.new(248,248,248),Color.new(128,128,128)])
|
||||
end
|
||||
textpos.push([_INTL("FLOW"),2+@info.bitmap.width/2,24,0,
|
||||
textpos.push([_INTL("FLOW"),2+@info.bitmap.width/2,18,0,
|
||||
Color.new(248,248,248),Color.new(128,128,128)])
|
||||
# draw heart gauge
|
||||
pbDrawGauge(@info.bitmap, Rect.new(@info.bitmap.width*3/4,8,@info.bitmap.width*1/4,8),
|
||||
@@ -951,7 +951,7 @@ class PurifyChamberSetView < SpriteWrapper
|
||||
Color.new(0,0,248),@chamber.chamberFlow(@set),6)
|
||||
end
|
||||
if @chamber.setCount(@set)>0
|
||||
textpos.push([_INTL("TEMPO"),2,24,0,
|
||||
textpos.push([_INTL("TEMPO"),2,18,0,
|
||||
Color.new(248,248,248),Color.new(128,128,128)])
|
||||
# draw tempo gauge
|
||||
pbDrawGauge(@info.bitmap,Rect.new(@info.bitmap.width*1/4,24+8,@info.bitmap.width*1/4,8),
|
||||
|
||||
Reference in New Issue
Block a user