getFightContext
getFightContext() → integer context
Returns the current fight's context.
Returns the context of the current fight.
Return
- context: Depending on the context of the fight:
- Test fight (FIGHT_CONTEXT_TEST)
- Garden fight (FIGHT_CONTEXT_GARDEN)
- Tournament fight (FIGHT_CONTEXT_TOURNAMENT)
- Challenge fight (FIGHT_CONTEXT_CHALLENGE)