From 5a2f0723ab5576cd1b6d59273c545313a641602c Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Sat, 6 May 2023 22:45:50 +0100 Subject: [PATCH] Fixed broken file paths for BP shop --- .../004_BattleArenaBattle.rb | 16 ++++++++-------- Data/Scripts/016_UI/021_UI_BattlePointShop.rb | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Data/Scripts/011_Battle/007_Other battle types/004_BattleArenaBattle.rb b/Data/Scripts/011_Battle/007_Other battle types/004_BattleArenaBattle.rb index ade18b37a..e8bafd2da 100644 --- a/Data/Scripts/011_Battle/007_Other battle types/004_BattleArenaBattle.rb +++ b/Data/Scripts/011_Battle/007_Other battle types/004_BattleArenaBattle.rb @@ -260,7 +260,7 @@ class Battle::Scene def pbBattleArenaBattlers(battler1, battler2) pbMessage(_INTL("REFEREE: {1} VS {2}!\nCommence battling!", - battler1.name, battler2.name) + "\\wtnp[20]") { pbBattleArenaUpdate } + battler1.name, battler2.name) + "\\wtnp[10]") { pbBattleArenaUpdate } end def pbBattleArenaJudgment(battler1, battler2, ratings1, ratings2) @@ -271,7 +271,7 @@ class Battle::Scene msgwindow = pbCreateMessageWindow dimmingvp = Viewport.new(0, 0, Graphics.width, Graphics.height - msgwindow.height) 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 dimmingvp.update end @@ -299,21 +299,21 @@ class Battle::Scene end updateJudgment(infowindow, 1, battler1, battler2, ratings1, ratings2) 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 dimmingvp.update infowindow.update end updateJudgment(infowindow, 2, battler1, battler2, ratings1, ratings2) 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 dimmingvp.update infowindow.update end updateJudgment(infowindow, 3, battler1, battler2, ratings1, ratings2) 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 dimmingvp.update infowindow.update @@ -326,7 +326,7 @@ class Battle::Scene end if total1 == total2 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 dimmingvp.update infowindow.update @@ -334,7 +334,7 @@ class Battle::Scene elsif total1 > total2 pbMessageDisplay(msgwindow, _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 dimmingvp.update infowindow.update @@ -342,7 +342,7 @@ class Battle::Scene else pbMessageDisplay(msgwindow, _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 dimmingvp.update infowindow.update diff --git a/Data/Scripts/016_UI/021_UI_BattlePointShop.rb b/Data/Scripts/016_UI/021_UI_BattlePointShop.rb index 5026a45a0..164b86f3d 100644 --- a/Data/Scripts/016_UI/021_UI_BattlePointShop.rb +++ b/Data/Scripts/016_UI/021_UI_BattlePointShop.rb @@ -96,7 +96,7 @@ class Window_BattlePointShop < Window_DrawableCommand @stock = stock @adapter = adapter 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) @shadowColor = Color.new(168, 184, 184) self.windowskin = nil @@ -163,7 +163,7 @@ class BattlePointShop_Scene @adapter = adapter @sprites = {} @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) winAdapter = BattlePointShopAdapter.new @sprites["itemwindow"] = Window_BattlePointShop.new(