summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/metatile_labels.h37
-rw-r--r--include/global.fieldmap.h2
-rw-r--r--include/sea_cottage_special_anim.h12
-rw-r--r--include/special_field_anim.h10
4 files changed, 48 insertions, 13 deletions
diff --git a/include/constants/metatile_labels.h b/include/constants/metatile_labels.h
index b71e7d08f..fa3a43fab 100644
--- a/include/constants/metatile_labels.h
+++ b/include/constants/metatile_labels.h
@@ -6,7 +6,30 @@
// gTileset_Mart
#define METATILE_Mart_CounterMid_Top 0x2BF
-#define METATILE_Mart_CounterMid_Bottom 0x2C0
+#define METATILE_Mart_CounterMid_Bottom 0x2C0
+
+// gTileset_PokemonCenter
+#define METATILE_PokemonCenter_Escalator_Top_Normal 0x2E4
+#define METATILE_PokemonCenter_Escalator_Top_Transition1 0x317
+#define METATILE_PokemonCenter_Escalator_Top_Transition2 0x315
+#define METATILE_PokemonCenter_Escalator_TopNext_Normal 0x2E3
+#define METATILE_PokemonCenter_Escalator_TopNext_Transition1 0x316
+#define METATILE_PokemonCenter_Escalator_TopNext_Transition2 0x314
+#define METATILE_PokemonCenter_Escalator_TopNextRail_Normal 0x2EB
+#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition1 0x31E
+#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition2 0x31C
+#define METATILE_PokemonCenter_Escalator_Bottom_Normal 0x2D9
+#define METATILE_PokemonCenter_Escalator_Bottom_Transition1 0x313
+#define METATILE_PokemonCenter_Escalator_Bottom_Transition2 0x311
+#define METATILE_PokemonCenter_Escalator_BottomRail_Normal 0x2D1
+#define METATILE_PokemonCenter_Escalator_BottomRail_Transition1 0x30B
+#define METATILE_PokemonCenter_Escalator_BottomRail_Transition2 0x309
+#define METATILE_PokemonCenter_Escalator_BottomNext_Normal 0x2D8
+#define METATILE_PokemonCenter_Escalator_BottomNext_Transition1 0x312
+#define METATILE_PokemonCenter_Escalator_BottomNext_Transition2 0x310
+#define METATILE_PokemonCenter_Escalator_BottomNextRail_Normal 0x2D0
+#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition1 0x30A
+#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition2 0x308
// gTileset_VermilionGym
#define METATILE_VermilionGym_Floor 0x281
@@ -39,6 +62,18 @@
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_HalfOn 0x2C6
#define METATILE_VermilionGym_Beam_Node_BottomRight_HalfOn 0x2C7
+// gTileset_SeaCottage
+#define METATILE_SeaCottage_Teleporter_Light_Green 0x28A
+#define METATILE_SeaCottage_Teleporter_Light_Yellow 0x2B5
+#define METATILE_SeaCottage_Teleporter_Light_Red 0x2B6
+#define METATILE_SeaCottage_Teleporter_Cable_Top 0x285
+#define METATILE_SeaCottage_Teleporter_Cable_Bottom 0x2B4
+#define METATILE_SeaCottage_Teleporter_CableBall_Top 0x2B9
+#define METATILE_SeaCottage_Teleporter_CableBall_Bottom 0x2BA
+#define METATILE_SeaCottage_Teleporter_Door 0x296
+#define METATILE_SeaCottage_Teleporter_Door_HalfGlowing 0x2B7
+#define METATILE_SeaCottage_Teleporter_Door_FullGlowing 0x2B8
+
// gTileset_GameCorner
#define METATILE_GameCorner_Floor_ShadeFull 0x292
#define METATILE_GameCorner_Floor_StairsTop 0x29D
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index c599b68ab..2b7999092 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -3,6 +3,8 @@
#define OBJECT_EVENTS_COUNT 16
+#define METATILE_COLLISION_MASK 0x0C00
+
enum
{
CONNECTION_SOUTH = 1,
diff --git a/include/sea_cottage_special_anim.h b/include/sea_cottage_special_anim.h
deleted file mode 100644
index 5c939df12..000000000
--- a/include/sea_cottage_special_anim.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
-#define GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
-
-#include "global.h"
-
-void sub_809C448(u8 a0);
-void sub_809C460(void);
-bool8 sub_809C474(void);
-void sub_809C4A8(void);
-void sub_809C5FC(void);
-
-#endif // GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
diff --git a/include/special_field_anim.h b/include/special_field_anim.h
new file mode 100644
index 000000000..d21c932bf
--- /dev/null
+++ b/include/special_field_anim.h
@@ -0,0 +1,10 @@
+#ifndef GUARD_SPECIAL_FIELD_ANIM_H
+#define GUARD_SPECIAL_FIELD_ANIM_H
+
+#include "global.h"
+
+void StartEscalator(u8 a0);
+void StopEscalator(void);
+bool8 IsEscalatorMoving(void);
+
+#endif // GUARD_SPECIAL_FIELD_ANIM_H