Ego13

hollow_ego

Male
Larua Region
Seen 1 Day Ago
Posted January 15th, 2020
307 posts
2.7 Years
pbShowPicture
is meant to be used in a script event command (basically in an event that you set up in the overworld map) and it will probably only work in that enviroment, judging by the code.

If you want to display an image in any other enviroment you will need at least four lines of code:
viewport   = Viewport.new(0,0,Graphics.width,Graphics.height)
viewport.z = 99999
image          = Sprite.new(viewport)
image.bitmap   = Bitmap.new("PATH TO YOUR IMAGE")
This will position your image at the top left corner. To reposition it you need the following code:
image.x=100
image.y=100
You also need to get rid of the image manually. You can do that with this line:
viewport.dispose
Looking for spriters to help with

Pokemon Hollow on pokecommunity.com