From 2d056052ce0235b996b55b70b58151ab145876fe Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Thu, 26 Jan 2023 18:37:11 +0000 Subject: [PATCH] Fixed crash when trying to change a battle animation's foreground image --- .../006_Other battle code/007_BattleAnimationPlayer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/011_Battle/006_Other battle code/007_BattleAnimationPlayer.rb b/Data/Scripts/011_Battle/006_Other battle code/007_BattleAnimationPlayer.rb index 5abcdd2d8..9d6ff5b56 100644 --- a/Data/Scripts/011_Battle/006_Other battle code/007_BattleAnimationPlayer.rb +++ b/Data/Scripts/011_Battle/006_Other battle code/007_BattleAnimationPlayer.rb @@ -304,7 +304,7 @@ class PBAnimTiming text = sprintf("[%d] Set FG: \"%s\"", @frame + 1, name) text += sprintf(" (color=%s,%s,%s,%s)", @colorRed || "-", - @colorGreen | "-", + @colorGreen || "-", @colorBlue || "-", @colorAlpha || "-") text += sprintf(" (opacity=%d)", @opacity)