mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
speech bubbles
This commit is contained in:
@@ -315,6 +315,9 @@ def isDarkBackground(background,rect=nil)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def isDarkWindowskin(windowskin)
|
def isDarkWindowskin(windowskin)
|
||||||
|
if $PokemonTemp.speechbubble_bubble
|
||||||
|
return false if $PokemonTemp.speechbubble_bubble > 0
|
||||||
|
end
|
||||||
return true if !windowskin || windowskin.disposed?
|
return true if !windowskin || windowskin.disposed?
|
||||||
if windowskin.width==192 && windowskin.height==128
|
if windowskin.width==192 && windowskin.height==128
|
||||||
return isDarkBackground(windowskin,Rect.new(0,0,128,128))
|
return isDarkBackground(windowskin,Rect.new(0,0,128,128))
|
||||||
|
|||||||
Reference in New Issue
Block a user