mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
speech bubble crash fix
This commit is contained in:
@@ -189,10 +189,12 @@ def pbDisposeMessageWindow(msgwindow)
|
|||||||
$PokemonTemp.speechbubble_vp.dispose if $PokemonTemp.speechbubble_vp
|
$PokemonTemp.speechbubble_vp.dispose if $PokemonTemp.speechbubble_vp
|
||||||
end
|
end
|
||||||
|
|
||||||
#3rd argument not current implemented
|
|
||||||
def pbCallBub(status=0,value=0,always_down=false)
|
def pbCallBub(status=0,value=0,always_down=false)
|
||||||
|
begin
|
||||||
$PokemonTemp.speechbubble_talking=get_character(value).id
|
$PokemonTemp.speechbubble_talking=get_character(value).id
|
||||||
$PokemonTemp.speechbubble_bubble=status
|
$PokemonTemp.speechbubble_bubble=status
|
||||||
$PokemonTemp.speechbubble_alwaysDown=always_down
|
$PokemonTemp.speechbubble_alwaysDown=always_down
|
||||||
|
rescue
|
||||||
|
return #Let's not crash the game if error
|
||||||
|
end
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user