mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +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:
@@ -192,8 +192,8 @@ class TriadScene
|
||||
@sprites["overlay"].bitmap = BitmapWrapper.new(Graphics.width,Graphics.height)
|
||||
pbSetSystemFont(@sprites["overlay"].bitmap)
|
||||
pbDrawTextPositions(@sprites["overlay"].bitmap,[
|
||||
[@battle.opponentName,52,4,2,Color.new(248,248,248),Color.new(96,96,96)],
|
||||
[@battle.playerName,Graphics.width-52,4,2,Color.new(248,248,248),Color.new(96,96,96)]
|
||||
[@battle.opponentName,52,-2,2,Color.new(248,248,248),Color.new(96,96,96)],
|
||||
[@battle.playerName,Graphics.width-52,-2,2,Color.new(248,248,248),Color.new(96,96,96)]
|
||||
])
|
||||
@sprites["score"] = Sprite.new(@viewport)
|
||||
@sprites["score"].bitmap = BitmapWrapper.new(Graphics.width,Graphics.height)
|
||||
@@ -567,7 +567,7 @@ class TriadScene
|
||||
oppscore += @opponentCardIndexes.length
|
||||
end
|
||||
pbDrawTextPositions(bitmap,[
|
||||
[_INTL("{1}-{2}",oppscore,playerscore),Graphics.width/2,4,2,Color.new(248,248,248),Color.new(96,96,96)]
|
||||
[_INTL("{1}-{2}",oppscore,playerscore),Graphics.width/2,-2,2,Color.new(248,248,248),Color.new(96,96,96)]
|
||||
])
|
||||
end
|
||||
|
||||
@@ -1052,7 +1052,7 @@ def pbBuyTriads
|
||||
GameData::Species.each do |s|
|
||||
next if s.form != 0
|
||||
next if !$Trainer.owned?(s.species)
|
||||
price = TriadCard.new(i).price
|
||||
price = TriadCard.new(s.id).price
|
||||
commands.push([price, s.name, _INTL("{1} - ${2}", s.name, price.to_s_formatted), s.id])
|
||||
end
|
||||
if commands.length == 0
|
||||
|
||||
Reference in New Issue
Block a user