PiaCRT
Orange Dev
- 958
- Posts
- 14
- Years
- Age 29
- Mikan Island
- Seen May 2, 2025
Is there a way to set up a windowskin only for location signposts? I've got my code in PokemonField set up like this:
However, I have no idea how to set a specific windowskin for this window only. I have a skin called "showarea.png" If anyone knows how to do this please let me know! I took a look at the wiki and it only told me where to look to make changes to the Location Signpost.
Thanks for looking,
Pia Carrot
Code:
################################################################################
# Location signpost
################################################################################
class LocationWindow
def initialize(name)
@window=Window_AdvancedTextPokemon.new(name)
#@window.resizeToFit(name,Graphics.width)
@window.width=320
@window.height=64
@window.x=0
@[email protected]
@window.z=99999
@currentmap=$game_map.map_id
@frames=0
end
def disposed?
@window.disposed?
end
def dispose
@window.dispose
end
def update
return if @window.disposed?
@window.update
if $game_temp.message_window_showing ||
@currentmap!=$game_map.map_id
@window.dispose
return
end
if @frames>80
@window.y-=288
@window.dispose if @[email protected]<0
else
@window.y+=288 if @window.y<0
@frames+=1
end
end
end
However, I have no idea how to set a specific windowskin for this window only. I have a skin called "showarea.png" If anyone knows how to do this please let me know! I took a look at the wiki and it only told me where to look to make changes to the Location Signpost.
Thanks for looking,
Pia Carrot