Merge branch 'master' into _pret/pr/pyramidLocation
This commit is contained in:
5
include/constants/.gitignore
vendored
5
include/constants/.gitignore
vendored
@@ -1,3 +1,6 @@
|
||||
# Will be moved to build/ eventually
|
||||
map_groups.h
|
||||
layouts.h
|
||||
layouts.h
|
||||
region_map_sections.h
|
||||
map_event_ids.h
|
||||
heal_locations.h
|
||||
|
||||
@@ -23,12 +23,23 @@
|
||||
* +---------------------------+
|
||||
*/
|
||||
|
||||
#define MAX_BATTLERS_COUNT 4
|
||||
enum BattlerPosition
|
||||
{
|
||||
B_POSITION_PLAYER_LEFT,
|
||||
B_POSITION_OPPONENT_LEFT,
|
||||
B_POSITION_PLAYER_RIGHT,
|
||||
B_POSITION_OPPONENT_RIGHT,
|
||||
MAX_POSITION_COUNT,
|
||||
};
|
||||
|
||||
#define B_POSITION_PLAYER_LEFT 0
|
||||
#define B_POSITION_OPPONENT_LEFT 1
|
||||
#define B_POSITION_PLAYER_RIGHT 2
|
||||
#define B_POSITION_OPPONENT_RIGHT 3
|
||||
enum BattlerId
|
||||
{
|
||||
B_BATTLER_0,
|
||||
B_BATTLER_1,
|
||||
B_BATTLER_2,
|
||||
B_BATTLER_3,
|
||||
MAX_BATTLERS_COUNT,
|
||||
};
|
||||
|
||||
// These macros can be used with either battler ID or positions to get the partner or the opposite mon
|
||||
#define BATTLE_OPPOSITE(id) ((id) ^ BIT_SIDE)
|
||||
@@ -296,17 +307,17 @@
|
||||
#define MOVE_EFFECT_AFFECTS_USER (1 << 6) // 64
|
||||
#define MOVE_EFFECT_CERTAIN (1 << 7) // 128
|
||||
|
||||
// Battle terrain defines for gBattleTerrain.
|
||||
#define BATTLE_TERRAIN_GRASS 0
|
||||
#define BATTLE_TERRAIN_LONG_GRASS 1
|
||||
#define BATTLE_TERRAIN_SAND 2
|
||||
#define BATTLE_TERRAIN_UNDERWATER 3
|
||||
#define BATTLE_TERRAIN_WATER 4
|
||||
#define BATTLE_TERRAIN_POND 5
|
||||
#define BATTLE_TERRAIN_MOUNTAIN 6
|
||||
#define BATTLE_TERRAIN_CAVE 7
|
||||
#define BATTLE_TERRAIN_BUILDING 8
|
||||
#define BATTLE_TERRAIN_PLAIN 9
|
||||
// Battle environment defines for gBattleEnvironment.
|
||||
#define BATTLE_ENVIRONMENT_GRASS 0
|
||||
#define BATTLE_ENVIRONMENT_LONG_GRASS 1
|
||||
#define BATTLE_ENVIRONMENT_SAND 2
|
||||
#define BATTLE_ENVIRONMENT_UNDERWATER 3
|
||||
#define BATTLE_ENVIRONMENT_WATER 4
|
||||
#define BATTLE_ENVIRONMENT_POND 5
|
||||
#define BATTLE_ENVIRONMENT_MOUNTAIN 6
|
||||
#define BATTLE_ENVIRONMENT_CAVE 7
|
||||
#define BATTLE_ENVIRONMENT_BUILDING 8
|
||||
#define BATTLE_ENVIRONMENT_PLAIN 9
|
||||
|
||||
#define B_WAIT_TIME_LONG 64
|
||||
#define B_WAIT_TIME_MED 48
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
#define CONTEST_EFFECT_TYPE_WORSEN 4
|
||||
#define CONTEST_EFFECT_TYPE_SPECIAL_APPEAL 5
|
||||
#define CONTEST_EFFECT_TYPE_TURN_ORDER 6
|
||||
#define CONTEST_EFFECT_TYPE_UNKNOWN 8
|
||||
|
||||
#define COMBO_STARTER_RAIN_DANCE 1
|
||||
#define COMBO_STARTER_RAGE 2
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef GUARD_CONSTANTS_EVENT_OBJECTS_H
|
||||
#define GUARD_CONSTANTS_EVENT_OBJECTS_H
|
||||
|
||||
#include "constants/global.h"
|
||||
#include "constants/map_event_ids.h"
|
||||
|
||||
#define OBJ_EVENT_GFX_BRENDAN_NORMAL 0
|
||||
#define OBJ_EVENT_GFX_BRENDAN_MACH_BIKE 1
|
||||
#define OBJ_EVENT_GFX_BRENDAN_SURFING 2
|
||||
@@ -291,38 +294,18 @@
|
||||
#define OBJ_KIND_NORMAL 0
|
||||
#define OBJ_KIND_CLONE 255 // Exclusive to FRLG
|
||||
|
||||
// Special object event local ids
|
||||
#define OBJ_EVENT_ID_PLAYER 0xFF
|
||||
#define OBJ_EVENT_ID_CAMERA 0x7F
|
||||
// Each object event template gets an ID that can be used to refer to it in scripts and elsewhere.
|
||||
// This is referred to as the "local id" (and it's really just 1 + its index in the templates array).
|
||||
// There are a few special IDs reserved for objects that don't have templates in the map data -- one for the player
|
||||
// in regular offline play, five for linked players while playing Berry Blender, and one for an invisible object that
|
||||
// can be spawned for the camera to track instead of the player. Additionally, the value 0 is reserved as an "empty" indicator.
|
||||
#define LOCALID_NONE 0
|
||||
#define LOCALID_CAMERA 127
|
||||
#define LOCALID_BERRY_BLENDER_PLAYER_END 240 // This will use 5 (MAX_RFU_PLAYERS) IDs ending at 240, i.e. 236-240
|
||||
#define LOCALID_PLAYER 255
|
||||
|
||||
// Object event local ids referenced in C files
|
||||
#define LOCALID_ROUTE111_PLAYER_FALLING 45
|
||||
#define LOCALID_BIRTH_ISLAND_EXTERIOR_ROCK 1
|
||||
#define LOCALID_FARAWAY_ISLAND_MEW 1
|
||||
#define LOCALID_UNION_ROOM_PLAYER_4 2
|
||||
#define LOCALID_UNION_ROOM_PLAYER_8 3
|
||||
#define LOCALID_UNION_ROOM_PLAYER_7 4
|
||||
#define LOCALID_UNION_ROOM_PLAYER_6 5
|
||||
#define LOCALID_UNION_ROOM_PLAYER_5 6
|
||||
#define LOCALID_UNION_ROOM_PLAYER_3 7
|
||||
#define LOCALID_UNION_ROOM_PLAYER_2 8
|
||||
#define LOCALID_UNION_ROOM_PLAYER_1 9
|
||||
#define LOCALID_BATTLE_TOWER_LOBBY_REPORTER 5
|
||||
#define LOCALID_TRUCK_BOX_TOP 1
|
||||
#define LOCALID_TRUCK_BOX_BOTTOM_L 2
|
||||
#define LOCALID_TRUCK_BOX_BOTTOM_R 3
|
||||
#define LOCALID_OLDALE_MART_CLERK 1
|
||||
#define LOCALID_LAVARIDGE_MART_CLERK 1
|
||||
#define LOCALID_FALLARBOR_MART_CLERK 1
|
||||
#define LOCALID_VERDANTURF_MART_CLERK 1
|
||||
#define LOCALID_PETALBURG_MART_CLERK 1
|
||||
#define LOCALID_SLATEPORT_MART_CLERK 1
|
||||
#define LOCALID_MAUVILLE_MART_CLERK 1
|
||||
#define LOCALID_RUSTBORO_MART_CLERK 1
|
||||
#define LOCALID_FORTREE_MART_CLERK 1
|
||||
#define LOCALID_MOSSDEEP_MART_CLERK 1
|
||||
#define LOCALID_SOOTOPOLIS_MART_CLERK 1
|
||||
#define LOCALID_BATTLE_FRONTIER_MART_CLERK 1
|
||||
#define LOCALID_SLATEPORT_ENERGY_GURU 25
|
||||
// Aliases for old names. "object event id" normally refers to an index into gObjectEvents, which these are not.
|
||||
#define OBJ_EVENT_ID_CAMERA LOCALID_CAMERA
|
||||
#define OBJ_EVENT_ID_PLAYER LOCALID_PLAYER
|
||||
|
||||
#endif // GUARD_CONSTANTS_EVENT_OBJECTS_H
|
||||
|
||||
@@ -847,7 +847,7 @@
|
||||
#define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_1 0x31C
|
||||
#define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_1 0x31D
|
||||
#define FLAG_HIDE_ROUTE_120_GABBY_AND_TY_1 0x31E
|
||||
#define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_3 0x31F
|
||||
#define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_2 0x31F
|
||||
#define FLAG_HIDE_LUGIA 0x320
|
||||
#define FLAG_HIDE_HO_OH 0x321
|
||||
#define FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER 0x322
|
||||
@@ -951,7 +951,7 @@
|
||||
#define FLAG_HIDE_ROUTE_110_TEAM_AQUA 0x384
|
||||
#define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2 0x385
|
||||
#define FLAG_HIDE_ROUTE_120_GABBY_AND_TY_2 0x386
|
||||
#define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_2 0x387
|
||||
#define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_3 0x387
|
||||
#define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_3 0x388
|
||||
#define FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS 0x389
|
||||
#define FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST 0x38A
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
#define FEMALE 1
|
||||
#define GENDER_COUNT 2
|
||||
|
||||
#define BARD_SONG_LENGTH 6
|
||||
#define NUM_BARD_SONG_WORDS 6
|
||||
#define NUM_STORYTELLER_TALES 4
|
||||
#define NUM_TRADER_ITEMS 4
|
||||
#define GIDDY_MAX_TALES 10
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
#ifndef GUARD_CONSTANTS_HEAL_LOCATIONS_H
|
||||
#define GUARD_CONSTANTS_HEAL_LOCATIONS_H
|
||||
|
||||
#define HEAL_LOCATION_NONE 0
|
||||
#define HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F 1
|
||||
#define HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F 2
|
||||
#define HEAL_LOCATION_PETALBURG_CITY 3
|
||||
#define HEAL_LOCATION_SLATEPORT_CITY 4
|
||||
#define HEAL_LOCATION_MAUVILLE_CITY 5
|
||||
#define HEAL_LOCATION_RUSTBORO_CITY 6
|
||||
#define HEAL_LOCATION_FORTREE_CITY 7
|
||||
#define HEAL_LOCATION_LILYCOVE_CITY 8
|
||||
#define HEAL_LOCATION_MOSSDEEP_CITY 9
|
||||
#define HEAL_LOCATION_SOOTOPOLIS_CITY 10
|
||||
#define HEAL_LOCATION_EVER_GRANDE_CITY 11
|
||||
#define HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE 12
|
||||
#define HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE 13
|
||||
#define HEAL_LOCATION_OLDALE_TOWN 14
|
||||
#define HEAL_LOCATION_DEWFORD_TOWN 15
|
||||
#define HEAL_LOCATION_LAVARIDGE_TOWN 16
|
||||
#define HEAL_LOCATION_FALLARBOR_TOWN 17
|
||||
#define HEAL_LOCATION_VERDANTURF_TOWN 18
|
||||
#define HEAL_LOCATION_PACIFIDLOG_TOWN 19
|
||||
#define HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE 20
|
||||
#define HEAL_LOCATION_SOUTHERN_ISLAND_EXTERIOR 21
|
||||
#define HEAL_LOCATION_BATTLE_FRONTIER_OUTSIDE_EAST 22
|
||||
|
||||
#endif // GUARD_CONSTANTS_HEAL_LOCATIONS_H
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#define MAP_UNDEFINED (0xFF | (0xFF << 8))
|
||||
|
||||
#define MAP_GROUP(map) (MAP_##map >> 8)
|
||||
#define MAP_NUM(map) (MAP_##map & 0xFF)
|
||||
#define MAP_GROUP(map) (map >> 8)
|
||||
#define MAP_NUM(map) (map & 0xFF)
|
||||
|
||||
// IDs for dynamic warps. Both are used in the dest_warp_id field for warp events, but they
|
||||
// are never read in practice. A dest_map of MAP_DYNAMIC is used to indicate that a
|
||||
|
||||
@@ -1,249 +1,250 @@
|
||||
#ifndef GUARD_METATILE_BEHAVIORS_H
|
||||
#define GUARD_METATILE_BEHAVIORS_H
|
||||
|
||||
#define MB_NORMAL 0x00
|
||||
#define MB_SECRET_BASE_WALL 0x01
|
||||
#define MB_TALL_GRASS 0x02
|
||||
#define MB_LONG_GRASS 0x03
|
||||
#define MB_UNUSED_04 0x04
|
||||
#define MB_UNUSED_05 0x05
|
||||
#define MB_DEEP_SAND 0x06
|
||||
#define MB_SHORT_GRASS 0x07
|
||||
#define MB_CAVE 0x08
|
||||
#define MB_LONG_GRASS_SOUTH_EDGE 0x09
|
||||
#define MB_NO_RUNNING 0x0A
|
||||
#define MB_INDOOR_ENCOUNTER 0x0B
|
||||
#define MB_MOUNTAIN_TOP 0x0C
|
||||
#define MB_BATTLE_PYRAMID_WARP 0x0D
|
||||
#define MB_MOSSDEEP_GYM_WARP 0x0E
|
||||
#define MB_MT_PYRE_HOLE 0x0F
|
||||
#define MB_POND_WATER 0x10
|
||||
#define MB_INTERIOR_DEEP_WATER 0x11 // Used by interior maps; functionally the same as MB_DEEP_WATER
|
||||
#define MB_DEEP_WATER 0x12
|
||||
#define MB_WATERFALL 0x13
|
||||
#define MB_SOOTOPOLIS_DEEP_WATER 0x14
|
||||
#define MB_OCEAN_WATER 0x15
|
||||
#define MB_PUDDLE 0x16
|
||||
#define MB_SHALLOW_WATER 0x17
|
||||
#define MB_UNUSED_SOOTOPOLIS_DEEP_WATER 0x18
|
||||
#define MB_NO_SURFACING 0x19
|
||||
#define MB_UNUSED_SOOTOPOLIS_DEEP_WATER_2 0x1A
|
||||
#define MB_STAIRS_OUTSIDE_ABANDONED_SHIP 0x1B
|
||||
#define MB_SHOAL_CAVE_ENTRANCE 0x1C
|
||||
#define MB_UNUSED_1D 0x1D
|
||||
#define MB_UNUSED_1E 0x1E
|
||||
#define MB_UNUSED_1F 0x1F
|
||||
#define MB_ICE 0x20
|
||||
#define MB_SAND 0x21
|
||||
#define MB_SEAWEED 0x22
|
||||
#define MB_UNUSED_23 0x23
|
||||
#define MB_ASHGRASS 0x24
|
||||
#define MB_FOOTPRINTS 0x25
|
||||
#define MB_THIN_ICE 0x26
|
||||
#define MB_CRACKED_ICE 0x27
|
||||
#define MB_HOT_SPRINGS 0x28
|
||||
#define MB_LAVARIDGE_GYM_B1F_WARP 0x29
|
||||
#define MB_SEAWEED_NO_SURFACING 0x2A
|
||||
#define MB_REFLECTION_UNDER_BRIDGE 0x2B
|
||||
#define MB_UNUSED_2C 0x2C
|
||||
#define MB_UNUSED_2D 0x2D
|
||||
#define MB_UNUSED_2E 0x2E
|
||||
#define MB_UNUSED_2F 0x2F
|
||||
#define MB_IMPASSABLE_EAST 0x30
|
||||
#define MB_IMPASSABLE_WEST 0x31
|
||||
#define MB_IMPASSABLE_NORTH 0x32
|
||||
#define MB_IMPASSABLE_SOUTH 0x33
|
||||
#define MB_IMPASSABLE_NORTHEAST 0x34
|
||||
#define MB_IMPASSABLE_NORTHWEST 0x35
|
||||
#define MB_IMPASSABLE_SOUTHEAST 0x36
|
||||
#define MB_IMPASSABLE_SOUTHWEST 0x37
|
||||
#define MB_JUMP_EAST 0x38
|
||||
#define MB_JUMP_WEST 0x39
|
||||
#define MB_JUMP_NORTH 0x3A
|
||||
#define MB_JUMP_SOUTH 0x3B
|
||||
#define MB_JUMP_NORTHEAST 0x3C
|
||||
#define MB_JUMP_NORTHWEST 0x3D
|
||||
#define MB_JUMP_SOUTHEAST 0x3E
|
||||
#define MB_JUMP_SOUTHWEST 0x3F
|
||||
#define MB_WALK_EAST 0x40
|
||||
#define MB_WALK_WEST 0x41
|
||||
#define MB_WALK_NORTH 0x42
|
||||
#define MB_WALK_SOUTH 0x43
|
||||
#define MB_SLIDE_EAST 0x44
|
||||
#define MB_SLIDE_WEST 0x45
|
||||
#define MB_SLIDE_NORTH 0x46
|
||||
#define MB_SLIDE_SOUTH 0x47
|
||||
#define MB_TRICK_HOUSE_PUZZLE_8_FLOOR 0x48
|
||||
#define MB_UNUSED_49 0x49
|
||||
#define MB_UNUSED_4A 0x4A
|
||||
#define MB_UNUSED_4B 0x4B
|
||||
#define MB_UNUSED_4C 0x4C
|
||||
#define MB_UNUSED_4D 0x4D
|
||||
#define MB_UNUSED_4E 0x4E
|
||||
#define MB_UNUSED_4F 0x4F
|
||||
#define MB_EASTWARD_CURRENT 0x50
|
||||
#define MB_WESTWARD_CURRENT 0x51
|
||||
#define MB_NORTHWARD_CURRENT 0x52
|
||||
#define MB_SOUTHWARD_CURRENT 0x53
|
||||
#define MB_UNUSED_54 0x54
|
||||
#define MB_UNUSED_55 0x55
|
||||
#define MB_UNUSED_56 0x56
|
||||
#define MB_UNUSED_57 0x57
|
||||
#define MB_UNUSED_58 0x58
|
||||
#define MB_UNUSED_59 0x59
|
||||
#define MB_UNUSED_5A 0x5A
|
||||
#define MB_UNUSED_5B 0x5B
|
||||
#define MB_UNUSED_5C 0x5C
|
||||
#define MB_UNUSED_5D 0x5D
|
||||
#define MB_UNUSED_5E 0x5E
|
||||
#define MB_UNUSED_5F 0x5F
|
||||
#define MB_NON_ANIMATED_DOOR 0x60
|
||||
#define MB_LADDER 0x61
|
||||
#define MB_EAST_ARROW_WARP 0x62
|
||||
#define MB_WEST_ARROW_WARP 0x63
|
||||
#define MB_NORTH_ARROW_WARP 0x64
|
||||
#define MB_SOUTH_ARROW_WARP 0x65
|
||||
#define MB_CRACKED_FLOOR_HOLE 0x66
|
||||
#define MB_AQUA_HIDEOUT_WARP 0x67
|
||||
#define MB_LAVARIDGE_GYM_1F_WARP 0x68
|
||||
#define MB_ANIMATED_DOOR 0x69
|
||||
#define MB_UP_ESCALATOR 0x6A
|
||||
#define MB_DOWN_ESCALATOR 0x6B
|
||||
#define MB_WATER_DOOR 0x6C
|
||||
#define MB_WATER_SOUTH_ARROW_WARP 0x6D
|
||||
#define MB_DEEP_SOUTH_WARP 0x6E
|
||||
#define MB_UNUSED_6F 0x6F
|
||||
#define MB_BRIDGE_OVER_OCEAN 0x70
|
||||
#define MB_BRIDGE_OVER_POND_LOW 0x71
|
||||
#define MB_BRIDGE_OVER_POND_MED 0x72
|
||||
#define MB_BRIDGE_OVER_POND_HIGH 0x73
|
||||
#define MB_PACIFIDLOG_VERTICAL_LOG_TOP 0x74
|
||||
#define MB_PACIFIDLOG_VERTICAL_LOG_BOTTOM 0x75
|
||||
#define MB_PACIFIDLOG_HORIZONTAL_LOG_LEFT 0x76
|
||||
#define MB_PACIFIDLOG_HORIZONTAL_LOG_RIGHT 0x77
|
||||
#define MB_FORTREE_BRIDGE 0x78
|
||||
#define MB_UNUSED_79 0x79
|
||||
#define MB_BRIDGE_OVER_POND_MED_EDGE_1 0x7A
|
||||
#define MB_BRIDGE_OVER_POND_MED_EDGE_2 0x7B
|
||||
#define MB_BRIDGE_OVER_POND_HIGH_EDGE_1 0x7C
|
||||
#define MB_BRIDGE_OVER_POND_HIGH_EDGE_2 0x7D
|
||||
#define MB_UNUSED_BRIDGE 0x7E
|
||||
#define MB_BIKE_BRIDGE_OVER_BARRIER 0x7F
|
||||
#define MB_COUNTER 0x80
|
||||
#define MB_UNUSED_81 0x81
|
||||
#define MB_UNUSED_82 0x82
|
||||
#define MB_PC 0x83
|
||||
#define MB_CABLE_BOX_RESULTS_1 0x84
|
||||
#define MB_REGION_MAP 0x85
|
||||
#define MB_TELEVISION 0x86
|
||||
#define MB_POKEBLOCK_FEEDER 0x87
|
||||
#define MB_UNUSED_88 0x88
|
||||
#define MB_SLOT_MACHINE 0x89
|
||||
#define MB_ROULETTE 0x8A
|
||||
#define MB_CLOSED_SOOTOPOLIS_DOOR 0x8B
|
||||
#define MB_TRICK_HOUSE_PUZZLE_DOOR 0x8C
|
||||
#define MB_PETALBURG_GYM_DOOR 0x8D
|
||||
#define MB_RUNNING_SHOES_INSTRUCTION 0x8E
|
||||
#define MB_QUESTIONNAIRE 0x8F
|
||||
#define MB_SECRET_BASE_SPOT_RED_CAVE 0x90
|
||||
#define MB_SECRET_BASE_SPOT_RED_CAVE_OPEN 0x91
|
||||
#define MB_SECRET_BASE_SPOT_BROWN_CAVE 0x92
|
||||
#define MB_SECRET_BASE_SPOT_BROWN_CAVE_OPEN 0x93
|
||||
#define MB_SECRET_BASE_SPOT_YELLOW_CAVE 0x94
|
||||
#define MB_SECRET_BASE_SPOT_YELLOW_CAVE_OPEN 0x95
|
||||
#define MB_SECRET_BASE_SPOT_TREE_LEFT 0x96
|
||||
#define MB_SECRET_BASE_SPOT_TREE_LEFT_OPEN 0x97
|
||||
#define MB_SECRET_BASE_SPOT_SHRUB 0x98
|
||||
#define MB_SECRET_BASE_SPOT_SHRUB_OPEN 0x99
|
||||
#define MB_SECRET_BASE_SPOT_BLUE_CAVE 0x9A
|
||||
#define MB_SECRET_BASE_SPOT_BLUE_CAVE_OPEN 0x9B
|
||||
#define MB_SECRET_BASE_SPOT_TREE_RIGHT 0x9C
|
||||
#define MB_SECRET_BASE_SPOT_TREE_RIGHT_OPEN 0x9D
|
||||
#define MB_UNUSED_9E 0x9E
|
||||
#define MB_UNUSED_9F 0x9F
|
||||
#define MB_BERRY_TREE_SOIL 0xA0
|
||||
#define MB_UNUSED_A1 0xA1
|
||||
#define MB_UNUSED_A2 0xA2
|
||||
#define MB_UNUSED_A3 0xA3
|
||||
#define MB_UNUSED_A4 0xA4
|
||||
#define MB_UNUSED_A5 0xA5
|
||||
#define MB_UNUSED_A6 0xA6
|
||||
#define MB_UNUSED_A7 0xA7
|
||||
#define MB_UNUSED_A8 0xA8
|
||||
#define MB_UNUSED_A9 0xA9
|
||||
#define MB_UNUSED_AA 0xAA
|
||||
#define MB_UNUSED_AB 0xAB
|
||||
#define MB_UNUSED_AC 0xAC
|
||||
#define MB_UNUSED_AD 0xAD
|
||||
#define MB_UNUSED_AE 0xAE
|
||||
#define MB_UNUSED_AF 0xAF
|
||||
#define MB_SECRET_BASE_PC 0xB0
|
||||
#define MB_SECRET_BASE_REGISTER_PC 0xB1
|
||||
#define MB_SECRET_BASE_SCENERY 0xB2
|
||||
#define MB_SECRET_BASE_TRAINER_SPOT 0xB3
|
||||
#define MB_SECRET_BASE_DECORATION 0xB4
|
||||
#define MB_HOLDS_SMALL_DECORATION 0xB5
|
||||
#define MB_UNUSED_B6 0xB6
|
||||
#define MB_SECRET_BASE_NORTH_WALL 0xB7
|
||||
#define MB_SECRET_BASE_BALLOON 0xB8
|
||||
#define MB_SECRET_BASE_IMPASSABLE 0xB9
|
||||
#define MB_SECRET_BASE_GLITTER_MAT 0xBA
|
||||
#define MB_SECRET_BASE_JUMP_MAT 0xBB
|
||||
#define MB_SECRET_BASE_SPIN_MAT 0xBC
|
||||
#define MB_SECRET_BASE_SOUND_MAT 0xBD
|
||||
#define MB_SECRET_BASE_BREAKABLE_DOOR 0xBE
|
||||
#define MB_SECRET_BASE_SAND_ORNAMENT 0xBF
|
||||
#define MB_IMPASSABLE_SOUTH_AND_NORTH 0xC0
|
||||
#define MB_IMPASSABLE_WEST_AND_EAST 0xC1
|
||||
#define MB_SECRET_BASE_HOLE 0xC2
|
||||
#define MB_HOLDS_LARGE_DECORATION 0xC3
|
||||
#define MB_SECRET_BASE_TV_SHIELD 0xC4
|
||||
#define MB_PLAYER_ROOM_PC_ON 0xC5
|
||||
#define MB_SECRET_BASE_DECORATION_BASE 0xC6
|
||||
#define MB_SECRET_BASE_POSTER 0xC7
|
||||
#define MB_UNUSED_C8 0xC8
|
||||
#define MB_UNUSED_C9 0xC9
|
||||
#define MB_UNUSED_CA 0xCA
|
||||
#define MB_UNUSED_CB 0xCB
|
||||
#define MB_UNUSED_CC 0xCC
|
||||
#define MB_UNUSED_CD 0xCD
|
||||
#define MB_UNUSED_CE 0xCE
|
||||
#define MB_UNUSED_CF 0xCF
|
||||
#define MB_MUDDY_SLOPE 0xD0
|
||||
#define MB_BUMPY_SLOPE 0xD1
|
||||
#define MB_CRACKED_FLOOR 0xD2
|
||||
#define MB_ISOLATED_VERTICAL_RAIL 0xD3
|
||||
#define MB_ISOLATED_HORIZONTAL_RAIL 0xD4
|
||||
#define MB_VERTICAL_RAIL 0xD5
|
||||
#define MB_HORIZONTAL_RAIL 0xD6
|
||||
#define MB_UNUSED_D7 0xD7
|
||||
#define MB_UNUSED_D8 0xD8
|
||||
#define MB_UNUSED_D9 0xD9
|
||||
#define MB_UNUSED_DA 0xDA
|
||||
#define MB_UNUSED_DB 0xDB
|
||||
#define MB_UNUSED_DC 0xDC
|
||||
#define MB_UNUSED_DD 0xDD
|
||||
#define MB_UNUSED_DE 0xDE
|
||||
#define MB_UNUSED_DF 0xDF
|
||||
#define MB_PICTURE_BOOK_SHELF 0xE0
|
||||
#define MB_BOOKSHELF 0xE1
|
||||
#define MB_POKEMON_CENTER_BOOKSHELF 0xE2
|
||||
#define MB_VASE 0xE3
|
||||
#define MB_TRASH_CAN 0xE4
|
||||
#define MB_SHOP_SHELF 0xE5
|
||||
#define MB_BLUEPRINT 0xE6
|
||||
#define MB_CABLE_BOX_RESULTS_2 0xE7
|
||||
#define MB_WIRELESS_BOX_RESULTS 0xE8
|
||||
#define MB_TRAINER_HILL_TIMER 0xE9
|
||||
#define MB_SKY_PILLAR_CLOSED_DOOR 0xEA
|
||||
#define MB_UNUSED_EB 0xEB
|
||||
#define MB_UNUSED_EC 0xEC
|
||||
#define MB_UNUSED_ED 0xED
|
||||
#define MB_UNUSED_EE 0xEE
|
||||
#define MB_UNUSED_EF 0xEF
|
||||
enum {
|
||||
MB_NORMAL,
|
||||
MB_SECRET_BASE_WALL,
|
||||
MB_TALL_GRASS,
|
||||
MB_LONG_GRASS,
|
||||
MB_UNUSED_04,
|
||||
MB_UNUSED_05,
|
||||
MB_DEEP_SAND,
|
||||
MB_SHORT_GRASS,
|
||||
MB_CAVE,
|
||||
MB_LONG_GRASS_SOUTH_EDGE,
|
||||
MB_NO_RUNNING,
|
||||
MB_INDOOR_ENCOUNTER,
|
||||
MB_MOUNTAIN_TOP,
|
||||
MB_BATTLE_PYRAMID_WARP,
|
||||
MB_MOSSDEEP_GYM_WARP,
|
||||
MB_MT_PYRE_HOLE,
|
||||
MB_POND_WATER,
|
||||
MB_INTERIOR_DEEP_WATER, // Used by interior maps; functionally the same as MB_DEEP_WATER
|
||||
MB_DEEP_WATER,
|
||||
MB_WATERFALL,
|
||||
MB_SOOTOPOLIS_DEEP_WATER,
|
||||
MB_OCEAN_WATER,
|
||||
MB_PUDDLE,
|
||||
MB_SHALLOW_WATER,
|
||||
MB_UNUSED_SOOTOPOLIS_DEEP_WATER,
|
||||
MB_NO_SURFACING,
|
||||
MB_UNUSED_SOOTOPOLIS_DEEP_WATER_2,
|
||||
MB_STAIRS_OUTSIDE_ABANDONED_SHIP,
|
||||
MB_SHOAL_CAVE_ENTRANCE,
|
||||
MB_UNUSED_1D,
|
||||
MB_UNUSED_1E,
|
||||
MB_UNUSED_1F,
|
||||
MB_ICE,
|
||||
MB_SAND,
|
||||
MB_SEAWEED,
|
||||
MB_UNUSED_23,
|
||||
MB_ASHGRASS,
|
||||
MB_FOOTPRINTS,
|
||||
MB_THIN_ICE,
|
||||
MB_CRACKED_ICE,
|
||||
MB_HOT_SPRINGS,
|
||||
MB_LAVARIDGE_GYM_B1F_WARP,
|
||||
MB_SEAWEED_NO_SURFACING,
|
||||
MB_REFLECTION_UNDER_BRIDGE,
|
||||
MB_UNUSED_2C,
|
||||
MB_UNUSED_2D,
|
||||
MB_UNUSED_2E,
|
||||
MB_UNUSED_2F,
|
||||
MB_IMPASSABLE_EAST,
|
||||
MB_IMPASSABLE_WEST,
|
||||
MB_IMPASSABLE_NORTH,
|
||||
MB_IMPASSABLE_SOUTH,
|
||||
MB_IMPASSABLE_NORTHEAST,
|
||||
MB_IMPASSABLE_NORTHWEST,
|
||||
MB_IMPASSABLE_SOUTHEAST,
|
||||
MB_IMPASSABLE_SOUTHWEST,
|
||||
MB_JUMP_EAST,
|
||||
MB_JUMP_WEST,
|
||||
MB_JUMP_NORTH,
|
||||
MB_JUMP_SOUTH,
|
||||
MB_JUMP_NORTHEAST,
|
||||
MB_JUMP_NORTHWEST,
|
||||
MB_JUMP_SOUTHEAST,
|
||||
MB_JUMP_SOUTHWEST,
|
||||
MB_WALK_EAST,
|
||||
MB_WALK_WEST,
|
||||
MB_WALK_NORTH,
|
||||
MB_WALK_SOUTH,
|
||||
MB_SLIDE_EAST,
|
||||
MB_SLIDE_WEST,
|
||||
MB_SLIDE_NORTH,
|
||||
MB_SLIDE_SOUTH,
|
||||
MB_TRICK_HOUSE_PUZZLE_8_FLOOR,
|
||||
MB_UNUSED_49,
|
||||
MB_UNUSED_4A,
|
||||
MB_UNUSED_4B,
|
||||
MB_UNUSED_4C,
|
||||
MB_UNUSED_4D,
|
||||
MB_UNUSED_4E,
|
||||
MB_UNUSED_4F,
|
||||
MB_EASTWARD_CURRENT,
|
||||
MB_WESTWARD_CURRENT,
|
||||
MB_NORTHWARD_CURRENT,
|
||||
MB_SOUTHWARD_CURRENT,
|
||||
MB_UNUSED_54,
|
||||
MB_UNUSED_55,
|
||||
MB_UNUSED_56,
|
||||
MB_UNUSED_57,
|
||||
MB_UNUSED_58,
|
||||
MB_UNUSED_59,
|
||||
MB_UNUSED_5A,
|
||||
MB_UNUSED_5B,
|
||||
MB_UNUSED_5C,
|
||||
MB_UNUSED_5D,
|
||||
MB_UNUSED_5E,
|
||||
MB_UNUSED_5F,
|
||||
MB_NON_ANIMATED_DOOR,
|
||||
MB_LADDER,
|
||||
MB_EAST_ARROW_WARP,
|
||||
MB_WEST_ARROW_WARP,
|
||||
MB_NORTH_ARROW_WARP,
|
||||
MB_SOUTH_ARROW_WARP,
|
||||
MB_CRACKED_FLOOR_HOLE,
|
||||
MB_AQUA_HIDEOUT_WARP,
|
||||
MB_LAVARIDGE_GYM_1F_WARP,
|
||||
MB_ANIMATED_DOOR,
|
||||
MB_UP_ESCALATOR,
|
||||
MB_DOWN_ESCALATOR,
|
||||
MB_WATER_DOOR,
|
||||
MB_WATER_SOUTH_ARROW_WARP,
|
||||
MB_DEEP_SOUTH_WARP,
|
||||
MB_UNUSED_6F,
|
||||
MB_BRIDGE_OVER_OCEAN,
|
||||
MB_BRIDGE_OVER_POND_LOW,
|
||||
MB_BRIDGE_OVER_POND_MED,
|
||||
MB_BRIDGE_OVER_POND_HIGH,
|
||||
MB_PACIFIDLOG_VERTICAL_LOG_TOP,
|
||||
MB_PACIFIDLOG_VERTICAL_LOG_BOTTOM,
|
||||
MB_PACIFIDLOG_HORIZONTAL_LOG_LEFT,
|
||||
MB_PACIFIDLOG_HORIZONTAL_LOG_RIGHT,
|
||||
MB_FORTREE_BRIDGE,
|
||||
MB_UNUSED_79,
|
||||
MB_BRIDGE_OVER_POND_MED_EDGE_1,
|
||||
MB_BRIDGE_OVER_POND_MED_EDGE_2,
|
||||
MB_BRIDGE_OVER_POND_HIGH_EDGE_1,
|
||||
MB_BRIDGE_OVER_POND_HIGH_EDGE_2,
|
||||
MB_UNUSED_BRIDGE,
|
||||
MB_BIKE_BRIDGE_OVER_BARRIER,
|
||||
MB_COUNTER,
|
||||
MB_UNUSED_81,
|
||||
MB_UNUSED_82,
|
||||
MB_PC,
|
||||
MB_CABLE_BOX_RESULTS_1,
|
||||
MB_REGION_MAP,
|
||||
MB_TELEVISION,
|
||||
MB_POKEBLOCK_FEEDER,
|
||||
MB_UNUSED_88,
|
||||
MB_SLOT_MACHINE,
|
||||
MB_ROULETTE,
|
||||
MB_CLOSED_SOOTOPOLIS_DOOR,
|
||||
MB_TRICK_HOUSE_PUZZLE_DOOR,
|
||||
MB_PETALBURG_GYM_DOOR,
|
||||
MB_RUNNING_SHOES_INSTRUCTION,
|
||||
MB_QUESTIONNAIRE,
|
||||
MB_SECRET_BASE_SPOT_RED_CAVE,
|
||||
MB_SECRET_BASE_SPOT_RED_CAVE_OPEN,
|
||||
MB_SECRET_BASE_SPOT_BROWN_CAVE,
|
||||
MB_SECRET_BASE_SPOT_BROWN_CAVE_OPEN,
|
||||
MB_SECRET_BASE_SPOT_YELLOW_CAVE,
|
||||
MB_SECRET_BASE_SPOT_YELLOW_CAVE_OPEN,
|
||||
MB_SECRET_BASE_SPOT_TREE_LEFT,
|
||||
MB_SECRET_BASE_SPOT_TREE_LEFT_OPEN,
|
||||
MB_SECRET_BASE_SPOT_SHRUB,
|
||||
MB_SECRET_BASE_SPOT_SHRUB_OPEN,
|
||||
MB_SECRET_BASE_SPOT_BLUE_CAVE,
|
||||
MB_SECRET_BASE_SPOT_BLUE_CAVE_OPEN,
|
||||
MB_SECRET_BASE_SPOT_TREE_RIGHT,
|
||||
MB_SECRET_BASE_SPOT_TREE_RIGHT_OPEN,
|
||||
MB_UNUSED_9E,
|
||||
MB_UNUSED_9F,
|
||||
MB_BERRY_TREE_SOIL,
|
||||
MB_UNUSED_A1,
|
||||
MB_UNUSED_A2,
|
||||
MB_UNUSED_A3,
|
||||
MB_UNUSED_A4,
|
||||
MB_UNUSED_A5,
|
||||
MB_UNUSED_A6,
|
||||
MB_UNUSED_A7,
|
||||
MB_UNUSED_A8,
|
||||
MB_UNUSED_A9,
|
||||
MB_UNUSED_AA,
|
||||
MB_UNUSED_AB,
|
||||
MB_UNUSED_AC,
|
||||
MB_UNUSED_AD,
|
||||
MB_UNUSED_AE,
|
||||
MB_UNUSED_AF,
|
||||
MB_SECRET_BASE_PC,
|
||||
MB_SECRET_BASE_REGISTER_PC,
|
||||
MB_SECRET_BASE_SCENERY,
|
||||
MB_SECRET_BASE_TRAINER_SPOT,
|
||||
MB_SECRET_BASE_DECORATION,
|
||||
MB_HOLDS_SMALL_DECORATION,
|
||||
MB_UNUSED_B6,
|
||||
MB_SECRET_BASE_NORTH_WALL,
|
||||
MB_SECRET_BASE_BALLOON,
|
||||
MB_SECRET_BASE_IMPASSABLE,
|
||||
MB_SECRET_BASE_GLITTER_MAT,
|
||||
MB_SECRET_BASE_JUMP_MAT,
|
||||
MB_SECRET_BASE_SPIN_MAT,
|
||||
MB_SECRET_BASE_SOUND_MAT,
|
||||
MB_SECRET_BASE_BREAKABLE_DOOR,
|
||||
MB_SECRET_BASE_SAND_ORNAMENT,
|
||||
MB_IMPASSABLE_SOUTH_AND_NORTH,
|
||||
MB_IMPASSABLE_WEST_AND_EAST,
|
||||
MB_SECRET_BASE_HOLE,
|
||||
MB_HOLDS_LARGE_DECORATION,
|
||||
MB_SECRET_BASE_TV_SHIELD,
|
||||
MB_PLAYER_ROOM_PC_ON,
|
||||
MB_SECRET_BASE_DECORATION_BASE,
|
||||
MB_SECRET_BASE_POSTER,
|
||||
MB_UNUSED_C8,
|
||||
MB_UNUSED_C9,
|
||||
MB_UNUSED_CA,
|
||||
MB_UNUSED_CB,
|
||||
MB_UNUSED_CC,
|
||||
MB_UNUSED_CD,
|
||||
MB_UNUSED_CE,
|
||||
MB_UNUSED_CF,
|
||||
MB_MUDDY_SLOPE,
|
||||
MB_BUMPY_SLOPE,
|
||||
MB_CRACKED_FLOOR,
|
||||
MB_ISOLATED_VERTICAL_RAIL,
|
||||
MB_ISOLATED_HORIZONTAL_RAIL,
|
||||
MB_VERTICAL_RAIL,
|
||||
MB_HORIZONTAL_RAIL,
|
||||
MB_UNUSED_D7,
|
||||
MB_UNUSED_D8,
|
||||
MB_UNUSED_D9,
|
||||
MB_UNUSED_DA,
|
||||
MB_UNUSED_DB,
|
||||
MB_UNUSED_DC,
|
||||
MB_UNUSED_DD,
|
||||
MB_UNUSED_DE,
|
||||
MB_UNUSED_DF,
|
||||
MB_PICTURE_BOOK_SHELF,
|
||||
MB_BOOKSHELF,
|
||||
MB_POKEMON_CENTER_BOOKSHELF,
|
||||
MB_VASE,
|
||||
MB_TRASH_CAN,
|
||||
MB_SHOP_SHELF,
|
||||
MB_BLUEPRINT,
|
||||
MB_CABLE_BOX_RESULTS_2,
|
||||
MB_WIRELESS_BOX_RESULTS,
|
||||
MB_TRAINER_HILL_TIMER,
|
||||
MB_SKY_PILLAR_CLOSED_DOOR,
|
||||
MB_UNUSED_EB,
|
||||
MB_UNUSED_EC,
|
||||
MB_UNUSED_ED,
|
||||
MB_UNUSED_EE,
|
||||
MB_UNUSED_EF,
|
||||
NUM_METATILE_BEHAVIORS
|
||||
};
|
||||
|
||||
#define NUM_METATILE_BEHAVIORS 0xF0
|
||||
|
||||
#define MB_INVALID 0xFF
|
||||
#define MB_INVALID UCHAR_MAX
|
||||
|
||||
#endif // GUARD_METATILE_BEHAVIORS_H
|
||||
|
||||
@@ -1,227 +0,0 @@
|
||||
#ifndef GUARD_REGIONMAPSEC_H
|
||||
#define GUARD_REGIONMAPSEC_H
|
||||
|
||||
#define MAPSEC_LITTLEROOT_TOWN 0x00
|
||||
#define MAPSEC_OLDALE_TOWN 0x01
|
||||
#define MAPSEC_DEWFORD_TOWN 0x02
|
||||
#define MAPSEC_LAVARIDGE_TOWN 0x03
|
||||
#define MAPSEC_FALLARBOR_TOWN 0x04
|
||||
#define MAPSEC_VERDANTURF_TOWN 0x05
|
||||
#define MAPSEC_PACIFIDLOG_TOWN 0x06
|
||||
#define MAPSEC_PETALBURG_CITY 0x07
|
||||
#define MAPSEC_SLATEPORT_CITY 0x08
|
||||
#define MAPSEC_MAUVILLE_CITY 0x09
|
||||
#define MAPSEC_RUSTBORO_CITY 0x0A
|
||||
#define MAPSEC_FORTREE_CITY 0x0B
|
||||
#define MAPSEC_LILYCOVE_CITY 0x0C
|
||||
#define MAPSEC_MOSSDEEP_CITY 0x0D
|
||||
#define MAPSEC_SOOTOPOLIS_CITY 0x0E
|
||||
#define MAPSEC_EVER_GRANDE_CITY 0x0F
|
||||
#define MAPSEC_ROUTE_101 0x10
|
||||
#define MAPSEC_ROUTE_102 0x11
|
||||
#define MAPSEC_ROUTE_103 0x12
|
||||
#define MAPSEC_ROUTE_104 0x13
|
||||
#define MAPSEC_ROUTE_105 0x14
|
||||
#define MAPSEC_ROUTE_106 0x15
|
||||
#define MAPSEC_ROUTE_107 0x16
|
||||
#define MAPSEC_ROUTE_108 0x17
|
||||
#define MAPSEC_ROUTE_109 0x18
|
||||
#define MAPSEC_ROUTE_110 0x19
|
||||
#define MAPSEC_ROUTE_111 0x1A
|
||||
#define MAPSEC_ROUTE_112 0x1B
|
||||
#define MAPSEC_ROUTE_113 0x1C
|
||||
#define MAPSEC_ROUTE_114 0x1D
|
||||
#define MAPSEC_ROUTE_115 0x1E
|
||||
#define MAPSEC_ROUTE_116 0x1F
|
||||
#define MAPSEC_ROUTE_117 0x20
|
||||
#define MAPSEC_ROUTE_118 0x21
|
||||
#define MAPSEC_ROUTE_119 0x22
|
||||
#define MAPSEC_ROUTE_120 0x23
|
||||
#define MAPSEC_ROUTE_121 0x24
|
||||
#define MAPSEC_ROUTE_122 0x25
|
||||
#define MAPSEC_ROUTE_123 0x26
|
||||
#define MAPSEC_ROUTE_124 0x27
|
||||
#define MAPSEC_ROUTE_125 0x28
|
||||
#define MAPSEC_ROUTE_126 0x29
|
||||
#define MAPSEC_ROUTE_127 0x2A
|
||||
#define MAPSEC_ROUTE_128 0x2B
|
||||
#define MAPSEC_ROUTE_129 0x2C
|
||||
#define MAPSEC_ROUTE_130 0x2D
|
||||
#define MAPSEC_ROUTE_131 0x2E
|
||||
#define MAPSEC_ROUTE_132 0x2F
|
||||
#define MAPSEC_ROUTE_133 0x30
|
||||
#define MAPSEC_ROUTE_134 0x31
|
||||
#define MAPSEC_UNDERWATER_124 0x32
|
||||
#define MAPSEC_UNDERWATER_126 0x33
|
||||
#define MAPSEC_UNDERWATER_127 0x34
|
||||
#define MAPSEC_UNDERWATER_128 0x35
|
||||
#define MAPSEC_UNDERWATER_SOOTOPOLIS 0x36
|
||||
#define MAPSEC_GRANITE_CAVE 0x37
|
||||
#define MAPSEC_MT_CHIMNEY 0x38
|
||||
#define MAPSEC_SAFARI_ZONE 0x39
|
||||
#define MAPSEC_BATTLE_FRONTIER 0x3A
|
||||
#define MAPSEC_PETALBURG_WOODS 0x3B
|
||||
#define MAPSEC_RUSTURF_TUNNEL 0x3C
|
||||
#define MAPSEC_ABANDONED_SHIP 0x3D
|
||||
#define MAPSEC_NEW_MAUVILLE 0x3E
|
||||
#define MAPSEC_METEOR_FALLS 0x3F
|
||||
#define MAPSEC_METEOR_FALLS2 0x40
|
||||
#define MAPSEC_MT_PYRE 0x41
|
||||
#define MAPSEC_AQUA_HIDEOUT_OLD 0x42
|
||||
#define MAPSEC_SHOAL_CAVE 0x43
|
||||
#define MAPSEC_SEAFLOOR_CAVERN 0x44
|
||||
#define MAPSEC_UNDERWATER_SEAFLOOR_CAVERN 0x45
|
||||
#define MAPSEC_VICTORY_ROAD 0x46
|
||||
#define MAPSEC_MIRAGE_ISLAND 0x47
|
||||
#define MAPSEC_CAVE_OF_ORIGIN 0x48
|
||||
#define MAPSEC_SOUTHERN_ISLAND 0x49
|
||||
#define MAPSEC_FIERY_PATH 0x4A
|
||||
#define MAPSEC_FIERY_PATH2 0x4B
|
||||
#define MAPSEC_JAGGED_PASS 0x4C
|
||||
#define MAPSEC_JAGGED_PASS2 0x4D
|
||||
#define MAPSEC_SEALED_CHAMBER 0x4E
|
||||
#define MAPSEC_UNDERWATER_SEALED_CHAMBER 0x4F
|
||||
#define MAPSEC_SCORCHED_SLAB 0x50
|
||||
#define MAPSEC_ISLAND_CAVE 0x51
|
||||
#define MAPSEC_DESERT_RUINS 0x52
|
||||
#define MAPSEC_ANCIENT_TOMB 0x53
|
||||
#define MAPSEC_INSIDE_OF_TRUCK 0x54
|
||||
#define MAPSEC_SKY_PILLAR 0x55
|
||||
#define MAPSEC_SECRET_BASE 0x56
|
||||
#define MAPSEC_DYNAMIC 0x57
|
||||
#define MAPSEC_PALLET_TOWN 0x58
|
||||
#define MAPSEC_VIRIDIAN_CITY 0x59
|
||||
#define MAPSEC_PEWTER_CITY 0x5A
|
||||
#define MAPSEC_CERULEAN_CITY 0x5B
|
||||
#define MAPSEC_LAVENDER_TOWN 0x5C
|
||||
#define MAPSEC_VERMILION_CITY 0x5D
|
||||
#define MAPSEC_CELADON_CITY 0x5E
|
||||
#define MAPSEC_FUCHSIA_CITY 0x5F
|
||||
#define MAPSEC_CINNABAR_ISLAND 0x60
|
||||
#define MAPSEC_INDIGO_PLATEAU 0x61
|
||||
#define MAPSEC_SAFFRON_CITY 0x62
|
||||
#define MAPSEC_ROUTE_4_POKECENTER 0x63
|
||||
#define MAPSEC_ROUTE_10_POKECENTER 0x64
|
||||
#define MAPSEC_ROUTE_1 0x65
|
||||
#define MAPSEC_ROUTE_2 0x66
|
||||
#define MAPSEC_ROUTE_3 0x67
|
||||
#define MAPSEC_ROUTE_4 0x68
|
||||
#define MAPSEC_ROUTE_5 0x69
|
||||
#define MAPSEC_ROUTE_6 0x6A
|
||||
#define MAPSEC_ROUTE_7 0x6B
|
||||
#define MAPSEC_ROUTE_8 0x6C
|
||||
#define MAPSEC_ROUTE_9 0x6D
|
||||
#define MAPSEC_ROUTE_10 0x6E
|
||||
#define MAPSEC_ROUTE_11 0x6F
|
||||
#define MAPSEC_ROUTE_12 0x70
|
||||
#define MAPSEC_ROUTE_13 0x71
|
||||
#define MAPSEC_ROUTE_14 0x72
|
||||
#define MAPSEC_ROUTE_15 0x73
|
||||
#define MAPSEC_ROUTE_16 0x74
|
||||
#define MAPSEC_ROUTE_17 0x75
|
||||
#define MAPSEC_ROUTE_18 0x76
|
||||
#define MAPSEC_ROUTE_19 0x77
|
||||
#define MAPSEC_ROUTE_20 0x78
|
||||
#define MAPSEC_ROUTE_21 0x79
|
||||
#define MAPSEC_ROUTE_22 0x7A
|
||||
#define MAPSEC_ROUTE_23 0x7B
|
||||
#define MAPSEC_ROUTE_24 0x7C
|
||||
#define MAPSEC_ROUTE_25 0x7D
|
||||
#define MAPSEC_VIRIDIAN_FOREST 0x7E
|
||||
#define MAPSEC_MT_MOON 0x7F
|
||||
#define MAPSEC_S_S_ANNE 0x80
|
||||
#define MAPSEC_UNDERGROUND_PATH 0x81
|
||||
#define MAPSEC_UNDERGROUND_PATH_2 0x82
|
||||
#define MAPSEC_DIGLETTS_CAVE 0x83
|
||||
#define MAPSEC_KANTO_VICTORY_ROAD 0x84
|
||||
#define MAPSEC_ROCKET_HIDEOUT 0x85
|
||||
#define MAPSEC_SILPH_CO 0x86
|
||||
#define MAPSEC_POKEMON_MANSION 0x87
|
||||
#define MAPSEC_KANTO_SAFARI_ZONE 0x88
|
||||
#define MAPSEC_POKEMON_LEAGUE 0x89
|
||||
#define MAPSEC_ROCK_TUNNEL 0x8A
|
||||
#define MAPSEC_SEAFOAM_ISLANDS 0x8B
|
||||
#define MAPSEC_POKEMON_TOWER 0x8C
|
||||
#define MAPSEC_CERULEAN_CAVE 0x8D
|
||||
#define MAPSEC_POWER_PLANT 0x8E
|
||||
#define MAPSEC_ONE_ISLAND 0x8F
|
||||
#define MAPSEC_TWO_ISLAND 0x90
|
||||
#define MAPSEC_THREE_ISLAND 0x91
|
||||
#define MAPSEC_FOUR_ISLAND 0x92
|
||||
#define MAPSEC_FIVE_ISLAND 0x93
|
||||
#define MAPSEC_SEVEN_ISLAND 0x94
|
||||
#define MAPSEC_SIX_ISLAND 0x95
|
||||
#define MAPSEC_KINDLE_ROAD 0x96
|
||||
#define MAPSEC_TREASURE_BEACH 0x97
|
||||
#define MAPSEC_CAPE_BRINK 0x98
|
||||
#define MAPSEC_BOND_BRIDGE 0x99
|
||||
#define MAPSEC_THREE_ISLE_PORT 0x9A
|
||||
#define MAPSEC_SEVII_ISLE_6 0x9B
|
||||
#define MAPSEC_SEVII_ISLE_7 0x9C
|
||||
#define MAPSEC_SEVII_ISLE_8 0x9D
|
||||
#define MAPSEC_SEVII_ISLE_9 0x9E
|
||||
#define MAPSEC_RESORT_GORGEOUS 0x9F
|
||||
#define MAPSEC_WATER_LABYRINTH 0xA0
|
||||
#define MAPSEC_FIVE_ISLE_MEADOW 0xA1
|
||||
#define MAPSEC_MEMORIAL_PILLAR 0xA2
|
||||
#define MAPSEC_OUTCAST_ISLAND 0xA3
|
||||
#define MAPSEC_GREEN_PATH 0xA4
|
||||
#define MAPSEC_WATER_PATH 0xA5
|
||||
#define MAPSEC_RUIN_VALLEY 0xA6
|
||||
#define MAPSEC_TRAINER_TOWER 0xA7
|
||||
#define MAPSEC_CANYON_ENTRANCE 0xA8
|
||||
#define MAPSEC_SEVAULT_CANYON 0xA9
|
||||
#define MAPSEC_TANOBY_RUINS 0xAA
|
||||
#define MAPSEC_SEVII_ISLE_22 0xAB
|
||||
#define MAPSEC_SEVII_ISLE_23 0xAC
|
||||
#define MAPSEC_SEVII_ISLE_24 0xAD
|
||||
#define MAPSEC_NAVEL_ROCK_FRLG 0xAE
|
||||
#define MAPSEC_MT_EMBER 0xAF
|
||||
#define MAPSEC_BERRY_FOREST 0xB0
|
||||
#define MAPSEC_ICEFALL_CAVE 0xB1
|
||||
#define MAPSEC_ROCKET_WAREHOUSE 0xB2
|
||||
#define MAPSEC_TRAINER_TOWER_2 0xB3
|
||||
#define MAPSEC_DOTTED_HOLE 0xB4
|
||||
#define MAPSEC_LOST_CAVE 0xB5
|
||||
#define MAPSEC_PATTERN_BUSH 0xB6
|
||||
#define MAPSEC_ALTERING_CAVE_FRLG 0xB7
|
||||
#define MAPSEC_TANOBY_CHAMBERS 0xB8
|
||||
#define MAPSEC_THREE_ISLE_PATH 0xB9
|
||||
#define MAPSEC_TANOBY_KEY 0xBA
|
||||
#define MAPSEC_BIRTH_ISLAND_FRLG 0xBB
|
||||
#define MAPSEC_MONEAN_CHAMBER 0xBC
|
||||
#define MAPSEC_LIPTOO_CHAMBER 0xBD
|
||||
#define MAPSEC_WEEPTH_CHAMBER 0xBE
|
||||
#define MAPSEC_DILFORD_CHAMBER 0xBF
|
||||
#define MAPSEC_SCUFIB_CHAMBER 0xC0
|
||||
#define MAPSEC_RIXY_CHAMBER 0xC1
|
||||
#define MAPSEC_VIAPOIS_CHAMBER 0xC2
|
||||
#define MAPSEC_EMBER_SPA 0xC3
|
||||
#define MAPSEC_SPECIAL_AREA 0xC4
|
||||
#define MAPSEC_AQUA_HIDEOUT 0xC5
|
||||
#define MAPSEC_MAGMA_HIDEOUT 0xC6
|
||||
#define MAPSEC_MIRAGE_TOWER 0xC7
|
||||
#define MAPSEC_BIRTH_ISLAND 0xC8
|
||||
#define MAPSEC_FARAWAY_ISLAND 0xC9
|
||||
#define MAPSEC_ARTISAN_CAVE 0xCA
|
||||
#define MAPSEC_MARINE_CAVE 0xCB
|
||||
#define MAPSEC_UNDERWATER_MARINE_CAVE 0xCC
|
||||
#define MAPSEC_TERRA_CAVE 0xCD
|
||||
#define MAPSEC_UNDERWATER_105 0xCE
|
||||
#define MAPSEC_UNDERWATER_125 0xCF
|
||||
#define MAPSEC_UNDERWATER_129 0xD0
|
||||
#define MAPSEC_DESERT_UNDERPASS 0xD1
|
||||
#define MAPSEC_ALTERING_CAVE 0xD2
|
||||
#define MAPSEC_NAVEL_ROCK 0xD3
|
||||
#define MAPSEC_TRAINER_HILL 0xD4
|
||||
#define MAPSEC_NONE 0xD5
|
||||
|
||||
#define METLOC_SPECIAL_EGG 0xFD
|
||||
#define METLOC_IN_GAME_TRADE 0xFE
|
||||
#define METLOC_FATEFUL_ENCOUNTER 0xFF
|
||||
|
||||
#define KANTO_MAPSEC_START MAPSEC_PALLET_TOWN
|
||||
#define KANTO_MAPSEC_END MAPSEC_SPECIAL_AREA
|
||||
#define KANTO_MAPSEC_COUNT (KANTO_MAPSEC_END - KANTO_MAPSEC_START + 1)
|
||||
|
||||
#endif //GUARD_REGIONMAPSEC_H
|
||||
@@ -489,6 +489,8 @@
|
||||
#define MUS_RG_SLOW_PALLET 557 // MUS_RG_SLOWMASARA
|
||||
#define MUS_RG_TEACHY_TV_MENU 558 // MUS_RG_TVNOIZE
|
||||
|
||||
// These PH_* constants are phoneme sounds used by the "bard" NPC (see src/bard_music.c and src/mauville_old_man.c).
|
||||
// Each comes in a triplet of PH_*_BLEND, PH_*_HELD, and PH_*_SOLO, and the name of each triplet incorporates the English phonetic sound it represents.
|
||||
#define PH_TRAP_BLEND 559
|
||||
#define PH_TRAP_HELD 560
|
||||
#define PH_TRAP_SOLO 561
|
||||
@@ -545,4 +547,10 @@
|
||||
|
||||
#define MUS_NONE 0xFFFF
|
||||
|
||||
#define FIRST_PHONEME_SONG PH_TRAP_BLEND
|
||||
#define LAST_PHONEME_SONG PH_NURSE_SOLO
|
||||
#define NUM_PHONEME_SONGS (LAST_PHONEME_SONG - FIRST_PHONEME_SONG + 1)
|
||||
#define PHONEME_ID(song) ((song) - FIRST_PHONEME_SONG)
|
||||
#define PHONEME_ID_NONE 0xFF
|
||||
|
||||
#endif // GUARD_CONSTANTS_SONGS_H
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#define VARS_START 0x4000
|
||||
|
||||
// temporary vars
|
||||
// The first 0x10 vars are are temporary--they are cleared every time a map is loaded.
|
||||
// The first 0x10 vars are temporary--they are cleared every time a map is loaded.
|
||||
#define TEMP_VARS_START 0x4000
|
||||
#define VAR_TEMP_0 (TEMP_VARS_START + 0x0)
|
||||
#define VAR_TEMP_1 (TEMP_VARS_START + 0x1)
|
||||
|
||||
Reference in New Issue
Block a user