05-03-2014, 05:32 PM
posting in your own thread to move it to the top of the list is called a bump. Which is what you just did o:
It's just that simple.
Code:
class Scene_Map
alias modern_algebra_change_leader_modification update
def update
modern_algebra_change_leader_modification
if Input.trigger? (Input::Letters["Q"]) && $game_switches[36] == true
# Remove the Lead Actor
old_lead = $game_party.actors.shift
# Add the old leader back into the party
$game_party.add_actor (old_lead.id)
end
if Input.trigger? (Input::Letters["W"]) && $game_switches[36] == true
# Remove the last actor in the party
new_lead = $game_party.actors.pop
# Insert him as the lead actor
$game_party.actors.unshift (new_lead)
# Refresh $game_player to reflect new leader
$game_player.refresh
end
end
end
It's just that simple.