Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.