2019-10-07 02:04:30 +02:00
|
|
|
#ifndef GUARD_CONSTANTS_BATTLE_PYRAMID_H
|
|
|
|
#define GUARD_CONSTANTS_BATTLE_PYRAMID_H
|
|
|
|
|
2023-02-01 17:43:21 +01:00
|
|
|
#define TOTAL_PYRAMID_ROUNDS 20
|
2019-10-07 02:04:30 +02:00
|
|
|
#define PICKUP_ITEMS_PER_ROUND 10
|
|
|
|
|
Undo PokeCodec's PRs
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.
Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136,
#1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179,
#1180, #1181, #1182 and #1183.
2020-09-13 09:22:50 +02:00
|
|
|
#define HINT_EXIT_DIRECTION 0
|
|
|
|
#define HINT_REMAINING_ITEMS 1
|
|
|
|
#define HINT_REMAINING_TRAINERS 2
|
|
|
|
#define HINT_EXIT_SHORT_REMAINING_TRAINERS 3
|
|
|
|
#define HINT_EXIT_SHORT_REMAINING_ITEMS 4
|
|
|
|
#define HINT_EXIT_MEDIUM_REMAINING_TRAINERS 5
|
|
|
|
#define HINT_EXIT_MEDIUM_REMAINING_ITEMS 6
|
|
|
|
#define HINT_EXIT_FAR_REMAINING_TRAINERS 7
|
|
|
|
#define HINT_EXIT_FAR_REMAINING_ITEMS 8
|
|
|
|
|
2022-06-06 21:15:46 +02:00
|
|
|
#define MAX_PYRAMID_TRAINERS 8
|
|
|
|
|
|
|
|
// Each floor of the Battle Pyramid is 32x32 metatiles, subdivided into a 4x4 grid of 8x8 metatile squares
|
|
|
|
#define PYRAMID_FLOOR_SQUARES_WIDE 4
|
|
|
|
#define PYRAMID_FLOOR_SQUARES_HIGH 4
|
|
|
|
#define NUM_PYRAMID_FLOOR_SQUARES (PYRAMID_FLOOR_SQUARES_WIDE * PYRAMID_FLOOR_SQUARES_HIGH)
|
|
|
|
|
2019-10-07 02:04:30 +02:00
|
|
|
#define OBJ_TRAINERS 0
|
|
|
|
#define OBJ_ITEMS 1
|
|
|
|
|
|
|
|
#define OBJ_POSITIONS_UNIFORM 0
|
|
|
|
#define OBJ_POSITIONS_IN_AND_NEAR_ENTRANCE 1
|
|
|
|
#define OBJ_POSITIONS_IN_AND_NEAR_EXIT 2
|
2021-08-25 00:59:32 +02:00
|
|
|
#define OBJ_POSITIONS_NEAR_ENTRANCE 3
|
2019-10-07 02:04:30 +02:00
|
|
|
#define OBJ_POSITIONS_NEAR_EXIT 4
|
|
|
|
|
|
|
|
// Functions IDs for sBattlePyramidFunctions / CallBattlePyramidFunction
|
2019-12-02 15:52:16 +01:00
|
|
|
#define BATTLE_PYRAMID_FUNC_INIT 0
|
2019-10-07 02:04:30 +02:00
|
|
|
#define BATTLE_PYRAMID_FUNC_GET_DATA 1
|
|
|
|
#define BATTLE_PYRAMID_FUNC_SET_DATA 2
|
2019-12-02 15:52:16 +01:00
|
|
|
#define BATTLE_PYRAMID_FUNC_SAVE 3
|
|
|
|
#define BATTLE_PYRAMID_FUNC_SET_PRIZE 4
|
|
|
|
#define BATTLE_PYRAMID_FUNC_GIVE_PRIZE 5 // unused
|
2019-10-07 02:04:30 +02:00
|
|
|
#define BATTLE_PYRAMID_FUNC_SEED_FLOOR 6
|
|
|
|
#define BATTLE_PYRAMID_FUNC_SET_ITEM 7
|
|
|
|
#define BATTLE_PYRAMID_FUNC_HIDE_ITEM 8
|
2019-12-11 09:28:55 +01:00
|
|
|
#define BATTLE_PYRAMID_FUNC_SET_TRAINERS 9
|
2019-10-07 02:04:30 +02:00
|
|
|
#define BATTLE_PYRAMID_FUNC_SHOW_HINT_TEXT 10
|
2019-12-02 15:52:16 +01:00
|
|
|
#define BATTLE_PYRAMID_FUNC_UPDATE_STREAK 11 // unused
|
2019-10-07 02:04:30 +02:00
|
|
|
#define BATTLE_PYRAMID_FUNC_IS_IN 12
|
|
|
|
#define BATTLE_PYRAMID_FUNC_UPDATE_LIGHT 13
|
|
|
|
#define BATTLE_PYRAMID_FUNC_CLEAR_HELD_ITEMS 14
|
|
|
|
#define BATTLE_PYRAMID_FUNC_SET_FLOOR_PALETTE 15
|
2019-12-11 09:28:55 +01:00
|
|
|
#define BATTLE_PYRAMID_FUNC_START_MENU 16 // unused
|
2019-10-07 02:04:30 +02:00
|
|
|
#define BATTLE_PYRAMID_FUNC_RESTORE_PARTY 17
|
|
|
|
|
2019-12-02 15:52:16 +01:00
|
|
|
#define PYRAMID_DATA_PRIZE 0
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK 1
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK_ACTIVE 2
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK_50 3 // the below streak data are redundant with the above when frontier.lvlMode is correct
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK_OPEN 4
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK_ACTIVE_50 5
|
|
|
|
#define PYRAMID_DATA_WIN_STREAK_ACTIVE_OPEN 6
|
|
|
|
#define PYRAMID_DATA_TRAINER_FLAGS 7
|
|
|
|
|
|
|
|
#define PYRAMID_LIGHT_SET_RADIUS 0
|
|
|
|
#define PYRAMID_LIGHT_INCR_RADIUS 1
|
|
|
|
|
2019-10-07 02:04:30 +02:00
|
|
|
#endif // GUARD_CONSTANTS_BATTLE_PYRAMID_H
|