Skip to content

Instantly share code, notes, and snippets.

@HimeWorks
Created May 29, 2015 11:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save HimeWorks/4b04d264ad15667bc699 to your computer and use it in GitHub Desktop.
Variable Battle Members
# Example of how you can use a variable to determine how many members you can have
# in battle.
module TH
module Variable_Battle_Members
# ID of the variable that determines how many members can join the battle
# Make sure it contains a number greater than 0
Variable = 9
end
end
class Game_Party
def max_battle_members
$game_variables[TH::Variable_Battle_Members::Variable]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment