summaryrefslogtreecommitdiff
path: root/include/constants/battle_frontier.h
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-13 14:24:07 -0400
committerhuderlem <huderlem@gmail.com>2019-09-17 16:50:17 -0500
commitaac9658a8ee9a23bbb7cf8a56496a49b8cdbe61d (patch)
tree9356521698b20844deb99aee7fecca22b323a4f7 /include/constants/battle_frontier.h
parent06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff)
Document some field_specials data
Diffstat (limited to 'include/constants/battle_frontier.h')
-rw-r--r--include/constants/battle_frontier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/constants/battle_frontier.h b/include/constants/battle_frontier.h
index 1224c0f31..9675615de 100644
--- a/include/constants/battle_frontier.h
+++ b/include/constants/battle_frontier.h
@@ -1,6 +1,8 @@
#ifndef GUARD_CONSTANTS_BATTLE_FRONTIER_H
#define GUARD_CONSTANTS_BATTLE_FRONTIER_H
+#define FRONTIER_CHALLENGE(facility, mode) ((facility << 8) + mode)
+
// Battle Frontier facility ids.
#define FRONTIER_FACILITY_TOWER 0
#define FRONTIER_FACILITY_DOME 1
@@ -41,6 +43,8 @@
#define SPECIAL_BATTLE_PIKE_DOUBLE 9
#define SPECIAL_BATTLE_PYRAMID 10
+#define MAX_BATTLE_FRONTIER_POINTS 9999
+
// For 'ShowFacilityResultsWindow' function which is a part of the 'CallFrontierUtilFunc' special.
#define RESULTS_LINK_CONTEST 7