From 66e7d03fbd4a0151d0c2e88bda1198718168357d Mon Sep 17 00:00:00 2001 From: infinitefusion Date: Sun, 15 May 2022 09:04:36 -0400 Subject: [PATCH] speech bubble crash fix --- Data/Scripts/050_AddOns/SpeechBubbles.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Data/Scripts/050_AddOns/SpeechBubbles.rb b/Data/Scripts/050_AddOns/SpeechBubbles.rb index c2bb6a2e5..06b9d3d8d 100644 --- a/Data/Scripts/050_AddOns/SpeechBubbles.rb +++ b/Data/Scripts/050_AddOns/SpeechBubbles.rb @@ -189,10 +189,12 @@ def pbDisposeMessageWindow(msgwindow) $PokemonTemp.speechbubble_vp.dispose if $PokemonTemp.speechbubble_vp end -#3rd argument not current implemented def pbCallBub(status=0,value=0,always_down=false) + begin $PokemonTemp.speechbubble_talking=get_character(value).id $PokemonTemp.speechbubble_bubble=status $PokemonTemp.speechbubble_alwaysDown=always_down - + rescue + return #Let's not crash the game if error + end end \ No newline at end of file