• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our next favorite protagonist poll is for the Oblivia region, from Pokémon Ranger 3! This poll is only lasting 2 days, so don't forget to cast your vote for your favorite protagonist before it's over!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Signpost Mod V1.0

Qu4ntumSh3rd

Herald of the Nine
  • 119
    Posts
    5
    Years
    This is something I made for my fan game, and I decided It would be best to share it for all to use.
    This is an edit to the script Class LocationWindow, under PField_Visuals, and makes the signpost appear on the left side of the screen before moving away, instead of just popping down from the top.
    (NOTE: You will want to change the PbSEplay for your game, as you may not have the sound I used.)
    Replace Class LocationWindow under PField_Visuals with the following:
    Free to use as long as credit is given.
    Code:
    #===============================================================================
    # Location signpost MOD V 1.0 By Qu4ntumSh3rd. Free to use with credit.
    #===============================================================================
    class LocationWindow
      def initialize(name)
        @window = Window_AdvancedTextPokemon.new(name)
        @window.resizeToFit(name,Graphics.width)
        @window.x        = -100
        @window.y        = 155
        @window.z        = 99999
        @window.viewport = Viewport.new(0,0,Graphics.width,Graphics.height)
        @window.viewport.z = 600
        @currentmap = $game_map.map_id
        @frames = 0
        pbSEPlay("SE_Zoom2")
      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>200
          @window.x += 15
          @window.dispose if @[email protected]<0
        else
          @window.x += 15 if @window.x<50
          @frames += 1
        end
      end
    end
     
    Back
    Top