Variable Battle Members
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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