mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Fixed broken file paths for BP shop
This commit is contained in:
@@ -260,7 +260,7 @@ class Battle::Scene
|
|||||||
|
|
||||||
def pbBattleArenaBattlers(battler1, battler2)
|
def pbBattleArenaBattlers(battler1, battler2)
|
||||||
pbMessage(_INTL("REFEREE: {1} VS {2}!\nCommence battling!",
|
pbMessage(_INTL("REFEREE: {1} VS {2}!\nCommence battling!",
|
||||||
battler1.name, battler2.name) + "\\wtnp[20]") { pbBattleArenaUpdate }
|
battler1.name, battler2.name) + "\\wtnp[10]") { pbBattleArenaUpdate }
|
||||||
end
|
end
|
||||||
|
|
||||||
def pbBattleArenaJudgment(battler1, battler2, ratings1, ratings2)
|
def pbBattleArenaJudgment(battler1, battler2, ratings1, ratings2)
|
||||||
@@ -271,7 +271,7 @@ class Battle::Scene
|
|||||||
msgwindow = pbCreateMessageWindow
|
msgwindow = pbCreateMessageWindow
|
||||||
dimmingvp = Viewport.new(0, 0, Graphics.width, Graphics.height - msgwindow.height)
|
dimmingvp = Viewport.new(0, 0, Graphics.width, Graphics.height - msgwindow.height)
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: That's it! We will now go to judging to determine the winner!") + "\\wtnp[20]") do
|
_INTL("REFEREE: That's it! We will now go to judging to determine the winner!") + "\\wtnp[10]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
end
|
end
|
||||||
@@ -299,21 +299,21 @@ class Battle::Scene
|
|||||||
end
|
end
|
||||||
updateJudgment(infowindow, 1, battler1, battler2, ratings1, ratings2)
|
updateJudgment(infowindow, 1, battler1, battler2, ratings1, ratings2)
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judging category 1, Mind!\nThe Pokémon showing the most guts!") + "\\wtnp[40]") do
|
_INTL("REFEREE: Judging category 1, Mind!\nThe Pokémon showing the most guts!") + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
end
|
end
|
||||||
updateJudgment(infowindow, 2, battler1, battler2, ratings1, ratings2)
|
updateJudgment(infowindow, 2, battler1, battler2, ratings1, ratings2)
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judging category 2, Skill!\nThe Pokémon using moves the best!") + "\\wtnp[40]") do
|
_INTL("REFEREE: Judging category 2, Skill!\nThe Pokémon using moves the best!") + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
end
|
end
|
||||||
updateJudgment(infowindow, 3, battler1, battler2, ratings1, ratings2)
|
updateJudgment(infowindow, 3, battler1, battler2, ratings1, ratings2)
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judging category 3, Body!\nThe Pokémon with the most vitality!") + "\\wtnp[40]") do
|
_INTL("REFEREE: Judging category 3, Body!\nThe Pokémon with the most vitality!") + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
@@ -326,7 +326,7 @@ class Battle::Scene
|
|||||||
end
|
end
|
||||||
if total1 == total2
|
if total1 == total2
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judgment: {1} to {2}!\nWe have a draw!", total1, total2) + "\\wtnp[40]") do
|
_INTL("REFEREE: Judgment: {1} to {2}!\nWe have a draw!", total1, total2) + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
@@ -334,7 +334,7 @@ class Battle::Scene
|
|||||||
elsif total1 > total2
|
elsif total1 > total2
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judgment: {1} to {2}!\nThe winner is {3}'s {4}!",
|
_INTL("REFEREE: Judgment: {1} to {2}!\nThe winner is {3}'s {4}!",
|
||||||
total1, total2, @battle.pbGetOwnerName(battler1.index), battler1.name) + "\\wtnp[40]") do
|
total1, total2, @battle.pbGetOwnerName(battler1.index), battler1.name) + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
@@ -342,7 +342,7 @@ class Battle::Scene
|
|||||||
else
|
else
|
||||||
pbMessageDisplay(msgwindow,
|
pbMessageDisplay(msgwindow,
|
||||||
_INTL("REFEREE: Judgment: {1} to {2}!\nThe winner is {3}!",
|
_INTL("REFEREE: Judgment: {1} to {2}!\nThe winner is {3}!",
|
||||||
total1, total2, battler2.name) + "\\wtnp[40]") do
|
total1, total2, battler2.name) + "\\wtnp[20]") do
|
||||||
pbBattleArenaUpdate
|
pbBattleArenaUpdate
|
||||||
dimmingvp.update
|
dimmingvp.update
|
||||||
infowindow.update
|
infowindow.update
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ class Window_BattlePointShop < Window_DrawableCommand
|
|||||||
@stock = stock
|
@stock = stock
|
||||||
@adapter = adapter
|
@adapter = adapter
|
||||||
super(x, y, width, height, viewport)
|
super(x, y, width, height, viewport)
|
||||||
@selarrow = AnimatedBitmap.new("Graphics/Pictures/martSel")
|
@selarrow = AnimatedBitmap.new("Graphics/UI/Mart/cursor")
|
||||||
@baseColor = Color.new(88, 88, 80)
|
@baseColor = Color.new(88, 88, 80)
|
||||||
@shadowColor = Color.new(168, 184, 184)
|
@shadowColor = Color.new(168, 184, 184)
|
||||||
self.windowskin = nil
|
self.windowskin = nil
|
||||||
@@ -163,7 +163,7 @@ class BattlePointShop_Scene
|
|||||||
@adapter = adapter
|
@adapter = adapter
|
||||||
@sprites = {}
|
@sprites = {}
|
||||||
@sprites["background"] = IconSprite.new(0, 0, @viewport)
|
@sprites["background"] = IconSprite.new(0, 0, @viewport)
|
||||||
@sprites["background"].setBitmap("Graphics/Pictures/martScreen")
|
@sprites["background"].setBitmap("Graphics/UI/Mart/bg")
|
||||||
@sprites["icon"] = ItemIconSprite.new(36, Graphics.height - 50, nil, @viewport)
|
@sprites["icon"] = ItemIconSprite.new(36, Graphics.height - 50, nil, @viewport)
|
||||||
winAdapter = BattlePointShopAdapter.new
|
winAdapter = BattlePointShopAdapter.new
|
||||||
@sprites["itemwindow"] = Window_BattlePointShop.new(
|
@sprites["itemwindow"] = Window_BattlePointShop.new(
|
||||||
|
|||||||
Reference in New Issue
Block a user