• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
4
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