mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
6.6.2
This commit is contained in:
@@ -1648,7 +1648,11 @@ end
|
||||
def displaySpriteWindowWithMessage(pif_sprite, message = "", x = 0, y = 0, z = 0)
|
||||
spriteLoader = BattleSpriteLoader.new
|
||||
sprite_bitmap = spriteLoader.load_pif_sprite_directly(pif_sprite)
|
||||
pictureWindow = PictureWindow.new(sprite_bitmap.bitmap)
|
||||
if sprite_bitmap
|
||||
pictureWindow = PictureWindow.new(sprite_bitmap.bitmap)
|
||||
else
|
||||
pictureWindow = PictureWindow.new("")
|
||||
end
|
||||
|
||||
pictureWindow.opacity = 0
|
||||
pictureWindow.z = z
|
||||
@@ -1867,6 +1871,14 @@ def giveJigglypuffScribbles(possible_versions = [1,2,3,4])
|
||||
end
|
||||
|
||||
|
||||
#type:
|
||||
# 0: default
|
||||
# 1: wood
|
||||
def sign(message,type=0)
|
||||
signId= "sign_#{type}"
|
||||
formatted_message = "\\sign[#{signId}]#{message}"
|
||||
pbMessage(formatted_message)
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user