IceDragon200

ISS-SwapXT SRPG Patch

May 13th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.78 KB | None | 0 0
  1. #=*==========================================================================*=#
  2. # ISS-SwapXT SRPG Patch by IceDragon
  3. # SwapXT by BulletXT
  4. # SRPG2 by Tomokay
  5. # ISS-SwapXT (rewrite) by IceDragon
  6. #=*==========================================================================*=#
  7. #==============================================================================#
  8. # Game_Srpg
  9. #==============================================================================#
  10. class Game_Srpg < Game_Map
  11.  
  12.   #--------------------------------------------------------------------------#
  13.   # * alias method :setup
  14.   #--------------------------------------------------------------------------#
  15.   alias iss_swapxt_gmrpg_setup setup unless $@
  16.   def setup( map_id )
  17.     iss_swapxt_gmrpg_setup( map_id )
  18.     $game_swapxt.setup( map_id )
  19.     unless $game_swapxt.loaded_system.nil?()
  20.       @passages = $game_swapxt.loaded_system.passages
  21.       setup_pass_table # // Rebuild Passability Table                            
  22.     end  
  23.   end
  24.  
  25. end
  26.  
  27. #==============================================================================#
  28. # Spriteset_Srpg
  29. #==============================================================================#
  30. class Spriteset_Srpg < Spriteset_Map
  31.  
  32.   #--------------------------------------------------------------------------#
  33.   # * alias method :create_tilemap
  34.   #--------------------------------------------------------------------------#  
  35.   alias iss_swapxt_sprpg_create_tilemap create_tilemap unless $@
  36.   def create_tilemap()
  37.     iss_swapxt_sprpg_create_tilemap()
  38.     set_tilemapBitmaps( @tilemap )
  39.   end
  40.  
  41. end  
  42.  
  43. #=*==========================================================================*=#
  44. # ** END OF FILE
  45. #=*==========================================================================*=#
Advertisement
Add Comment
Please, Sign In to add comment