Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.48 KB | None | 0 0
  1. class Game_Party
  2.   attr_accessor   :actors
  3. end#class
  4.  
  5. class Scene_Map
  6.   alias j_switch_update update
  7.     def update
  8.       j_switch_update
  9.      
  10.     if Input.trigger?(Input::L)
  11.       unless $game_system.map_interpreter.running?
  12.         order = $game_party.actors
  13.           if order.size >= 2
  14.             tempHolder = order.shift
  15.             order.push(tempHolder)
  16.             $game_player.refresh
  17.           end#if
  18.       end#unless
  19.     end#if
  20.     end#def
  21.    
  22. end#class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement