summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/battle.h3
-rw-r--r--include/constants/battle_setup.h2
-rw-r--r--include/constants/global.h5
-rw-r--r--include/constants/metatile_labels.h35
-rw-r--r--include/constants/object_events.h2
5 files changed, 45 insertions, 2 deletions
diff --git a/include/constants/battle.h b/include/constants/battle.h
index b28955210..63be37936 100644
--- a/include/constants/battle.h
+++ b/include/constants/battle.h
@@ -81,6 +81,9 @@
#define IS_BATTLE_TYPE_GHOST_WITHOUT_SCOPE(flags) ((flags) & BATTLE_TYPE_GHOST && !((flags) & BATTLE_TYPE_GHOST_UNVEILED))
#define IS_BATTLE_TYPE_GHOST_WITH_SCOPE(flags) ((flags) & BATTLE_TYPE_GHOST && (flags) & BATTLE_TYPE_GHOST_UNVEILED)
+#define RIVAL_BATTLE_HEAL_AFTER 1
+#define RIVAL_BATTLE_TUTORIAL 3
+
// Battle Outcome defines
#define B_OUTCOME_WON 0x1
#define B_OUTCOME_LOST 0x2
diff --git a/include/constants/battle_setup.h b/include/constants/battle_setup.h
index 8f700dc04..1e804fd18 100644
--- a/include/constants/battle_setup.h
+++ b/include/constants/battle_setup.h
@@ -10,6 +10,6 @@
#define TRAINER_BATTLE_CONTINUE_SCRIPT_DOUBLE 6
#define TRAINER_BATTLE_REMATCH_DOUBLE 7
#define TRAINER_BATTLE_CONTINUE_SCRIPT_DOUBLE_NO_MUSIC 8
-#define TRAINER_BATTLE_TUTORIAL 9
+#define TRAINER_BATTLE_EARLY_RIVAL 9
#endif // GUARD_CONSTANTS_BATTLE_SETUP_H
diff --git a/include/constants/global.h b/include/constants/global.h
index 77ef6f203..7f3c80bb4 100644
--- a/include/constants/global.h
+++ b/include/constants/global.h
@@ -38,6 +38,10 @@
#define FEMALE 1
#define GENDER_COUNT 2
+#define BARD_SONG_LENGTH 6
+#define NUM_STORYTELLER_TALES 4
+#define NUM_TRADER_ITEMS 4
+
#define OPTIONS_BUTTON_MODE_HELP 0
#define OPTIONS_BUTTON_MODE_LR 1
#define OPTIONS_BUTTON_MODE_L_EQUALS_A 2
@@ -62,6 +66,7 @@
#define MAX_MON_MOVES 4
+#define TRAINER_ID_LENGTH 4
#define PARTY_SIZE 6
#define MULTI_PARTY_SIZE (PARTY_SIZE / 2)
diff --git a/include/constants/metatile_labels.h b/include/constants/metatile_labels.h
index 7cdfb25e5..8726113f4 100644
--- a/include/constants/metatile_labels.h
+++ b/include/constants/metatile_labels.h
@@ -4,6 +4,41 @@
// General
#define METATILE_General_CalmWater 0x12B
+// PokeMart
+#define METATILE_Shop_CounterMid_Top 0x2BF
+#define METATILE_Shop_CounterMid_Bottom 0x2C0
+
+// Vermilion Gym
+#define METATILE_VermilionGym_Floor 0x281
+#define METATILE_VermilionGym_Beam_MidTop 0x285
+#define METATILE_VermilionGym_Beam_MidBottom 0x28D
+#define METATILE_VermilionGym_Beam_Node_TopLeft_Off 0x293
+#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_Off 0x294
+#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_Off 0x295
+#define METATILE_VermilionGym_Beam_Node_TopRight_Off 0x296
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_Off 0x29B
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_Off 0x29C
+#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_Off 0x29D
+#define METATILE_VermilionGym_Beam_Node_BottomRight_Off 0x29E
+#define METATILE_VermilionGym_Beam_Node_TopLeft_On 0x2A9
+#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_On 0x2AA
+#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_On 0x2AB
+#define METATILE_VermilionGym_Beam_Node_TopRight_On 0x2AC
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_On 0x2B1
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_On 0x2B2
+#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_On 0x2B3
+#define METATILE_VermilionGym_Beam_Node_BottomRight_On 0x2B4
+#define METATILE_VermilionGym_Beam_Node_TopLeft_HalfOn 0x2BB
+#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_HalfOn 0x2BC
+#define METATILE_VermilionGym_Beam_MidTop_HalfOn 0x2BD
+#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_HalfOn 0x2BE
+#define METATILE_VermilionGym_Beam_Node_TopRight_HalfOn 0x2BF
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_HalfOn 0x2C3
+#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_HalfOn 0x2C4
+#define METATILE_VermilionGym_Beam_MidBottom_HalfOn 0x2C5
+#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_HalfOn 0x2C6
+#define METATILE_VermilionGym_Beam_Node_BottomRight_HalfOn 0x2C7
+
// Pokemon Mansion
#define METATILE_PokemonMansion_Floor 0x284
#define METATILE_PokemonMansion_Floor_ShadeFull 0x285
diff --git a/include/constants/object_events.h b/include/constants/object_events.h
index 60783a793..d6f33b33c 100644
--- a/include/constants/object_events.h
+++ b/include/constants/object_events.h
@@ -35,7 +35,7 @@
#define OBJECT_EVENT_GFX_WOMAN_3 31
#define OBJECT_EVENT_GFX_OLD_MAN_1 32
#define OBJECT_EVENT_GFX_OLD_MAN_2 33
-#define OBJECT_EVENT_GFX_VIRIDIAN_DRUNK 34
+#define OBJECT_EVENT_GFX_OLD_MAN_LYING_DOWN 34
#define OBJECT_EVENT_GFX_OLD_WOMAN 35
#define OBJECT_EVENT_GFX_TUBER_M_1 36
#define OBJECT_EVENT_GFX_TUBER_F 37