FALSE = 0
TRUE = 1

STATE_INITIALIZE = 1
STATE_HUB = 2
STATE_FORGING = 3
STATE_READY_SET = 4
STATE_PLAYING = 5
STATE_FINAL_RESULTS = 6

FORGING_LAND = 1
FORGING_OBJECTS = 2
FORGING_DECORATIONS = 3
FORGING_MARKERS = 4
FORGING_MAX_STAGES = 4

UNFORGING_OBJECTS = 1
UNFORGING_LAND = 2

TRIBE_HUMAN = 1
TRIBE_AI = 2
TRIBE_UNUSED = 3

AI_EASY = 0
AI_MEDIUM = 1
AI_HARD = 2
AI_MAX_DIFFICULTIES = 3

MAP_OBJECTIVE_TIMER = 1
MAP_OBJECTIVE_TARGET_SCORE = 2
MAP_OBJECTIVE_ROUNDS = 3
MAX_MAP_OBJECTIVES = 3

HARDEND_MG_MODE_AWARD_PTS = 1
HARDEND_MG_MODE_NO_PTS = 2

POINTS_SYSTEM_CLASSIC_NORMAL = 1 			-- 8,7,6,5,4,3,2,1
POINTS_SYSTEM_CLASSIC_HARDCORE = 2 			-- 15,11,8,5,4,2,1,0
POINTS_SYSTEM_PODIUM_NORMAL = 3				-- 3,2,1,0,0,0,0,0
POINTS_SYSTEM_PODIUM_HARDCORE = 4			-- 3,2,1,0,0,-1,-2,-3
POINTS_SYSTEM_HEROIC_NORMAL = 5				-- 1,0,0,0,0,0,0,0
POINTS_SYSTEM_HEROIC_HARDCORE = 6			-- 1,-1,-2,-3,-4,-5,-6,-7
POINTS_SYSTEM_DEADLY_NORMAL = 7				-- 4,3,2,1,-1,-2,-3,-4
POINTS_SYSTEM_DEADLY_HARDCORE = 8			-- 8,6,4,2,-2,-4,-6,-8
POINTS_SYSTEM_NO_POINTS = 9					-- 0,0,0,0,0,0,0,0
POINTS_SYSTEM_MAX_TYPES = 9

HOVER_ZONE_SOLO_PLAYERS = 1
HOVER_ZONE_TEAM_1 = 2
HOVER_ZONE_TEAM_2 = 3
HOVER_ZONE_TEAM_3 = 4
HOVER_ZONE_TEAM_4 = 5

SECTION_CHANGE_MAP = 1
SECTION_SEARCH_MAP = 2
SECTION_MAP_OBJECTIVES = 3
SECTION_ADVANCED_OPTIONS_BTNS = 4
SECTION_LOCKS = 5
SECTION_START_GAME = 6
SECTION_BOT_MIDDLE_BUTTONS = 7
SECTION_VOLUME_BUTTONS = 8
SECTION_MAP_DESCRIPTION_BTNS = 9
SECTION_MAP_OBJ_BTN_MINUS = 10
SECTION_MAP_OBJ_BTN_PLUS = 11
SECTION_CARD_EYE = 12
SECTION_CARD_READY = 13
SECTION_CARD = 14
SECTION_ADD_AI = 15
SECTION_SEARCH_MAP_OPTION = 16
SECTION_VIEW_CHANGELOG = 17

CHANGE_MAP_PREVIOUS = 1
CHANGE_MAP_NEXT = 2

BOT_MIDDLE_BUTTON_POINT_SYSTEM = 1
--BOT_MIDDLE_BUTTON_AI_DIFFICULTY = 2 --deprecated. AIs will have individual difficulties.
BOT_MIDDLE_BUTTON_DISABLE_EMOJIS = 2
BOT_MIDDLE_BUTTON_PAST_MG_SCORES = 3

HOVERING_PERSONAL_SETTINGS_BTN = 1
HOVERING_MINIGAME_BTN = 2

HOVERING_PERSONAL_SETTING_SCORE_SIZE = 1
HOVERING_PERSONAL_SETTING_RESPAWN_ZOOM = 2
HOVERING_PERSONAL_SETTING_OBJECTIVES_HIDE = 3
HOVERING_PERSONAL_SETTING_DISABLE_EMOJIS = 4
MAX_PERSONAL_SETTINGS = 3

FONT_VERY_SMALL = 1
FONT_SMALL = 2
FONT_MEDIUM = 3
FONT_BIG = 4
mAX_FONTS = 4

NICKNAME_MAX_SIZE = 10
NICKNAME_MAX_SIZE_LOW_RES = 4
NICKNAME_MAX_SIZE_HYPER_LOW_RES = 2

ENUM_PLAYER_COLORED_CARDS_BG_START = 1762
GAME_MANAGER_SPRITE = 1848
MAX_LOG_FADING_TIMER = 8
MAX_LOG_GLASS_TIMER = 6
START_GAME_COUNTDOWN = 5 --use 5?
READY_SET_COUNTDOWN = 4 --use 4!
BEFORE_RESULTS_TIMER = 12*7 -- 12*7
STONE_HEAD_SINK_TIME_SECONDS = 10
POWERUP_CATCH_RADIUS_DEFAULT = 256+64
SEARCHING_MAX_CHARS = 12
HUB_LOG_SYSTEM_MSG_PTR = 2043
HUB_MAP_GIF_FRAMES = 48--96
DROP_BOX_ALERT_W_DIVIDER = 18
EMOJI_SPAM_COOLDOWN = 10
UNWALKABLE_FLAGS = (1 << 2) | (1 << 19)
MAX_MAP_CUSTOM_RULES = 5
MAX_SOUNDS_BUTTONS = 9
LOCK_SHAKE_TURNS_DUR = 16
CACHE_NEXT_MAPS_EACH_DIRECTION = 3
FORGE_LAND_OBJ_PLACEMENT_SPEED_SLOW = 1
FORGE_LAND_OBJ_PLACEMENT_SPEED_FAST = 2
HUB_SOUND_CDR_SECONDS = 2
IN_GAME_EMOJI_KEY = LB_KEY_T
GAME_LDB_CDR = 12*5
ANGLE_2_RAD = (2 * math.pi / 2048)
AI_DIFF_ICON_START = 2518
AI_DIFF_ICON_START2 = 2532
HUMAN_DC_SET_AI_DIFF = AI_MEDIUM

AI_UNSTUCK_METHOD_KILL = 1
AI_UNSTUCK_METHOD_LAND_DODGE = 2
AI_UNSTUCK_METHOD_WATER_DODGE = 3
AI_UNSTUCK_METHOD_CLEAR_C2D = 4


--put alphabetically at end / as you add a new map
MAP_BOAT_RACE_I = 1
MAP_BOAT_RACE_II = 2
MAP_BOAT_RACE_III = 3
MAP_COLOR_BATTLE = 4
MAP_CORROSION = 5
MAP_DISCO_FLOOR = 6
MAP_ICE_ARENA = 7
MAP_JUMPERS = 8
MAP_LUCK_OF_THE_DRAW = 9
MAP_NAVAL_WARFARE = 10
MAP_PAINTBALL = 11
MAP_POTION_BATTLE = 12
MAP_QUAKE_ARENA = 13
MAP_QUIZ_EASY = 14
MAP_QUIZ_HARD = 15
MAP_SHIFTING_SANDS = 16
MAP_SPARKLING_TILES = 17
MAP_SUN_AND_MOON = 18
MAP_TECTONIC = 19
MAP_TEMPEST = 20
MAP_TESLA_COIL = 21
MAP_TILES_WAR = 22
MAP_WOOD_BEARERS = 23
MAX_MAPS = 23
LONGEST_MAP_STR = "LUCK_OF_THE_DRAW"

GUI_COLOR_A = 1731 --very light
GUI_COLOR_B = 1732
GUI_COLOR_C = 1733
GUI_COLOR_D = 1734
GUI_COLOR_E = 1735
GUI_COLOR_F = 1736
GUI_COLOR_G = 1737
GUI_COLOR_H = 1738
GUI_COLOR_I = 1739
GUI_COLOR_J = 1740
GUI_COLOR_K = 1741 --very dark
GUI_COLOR_LOCKED = 1825
