summaryrefslogtreecommitdiff
path: root/include/constants/event_objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants/event_objects.h')
-rw-r--r--include/constants/event_objects.h38
1 files changed, 22 insertions, 16 deletions
diff --git a/include/constants/event_objects.h b/include/constants/event_objects.h
index c3862a7b1..2d51cd74d 100644
--- a/include/constants/event_objects.h
+++ b/include/constants/event_objects.h
@@ -154,22 +154,28 @@
#define OBJ_EVENT_GFX_DEOXYS_N 150
#define OBJ_EVENT_GFX_SS_ANNE 151
-#define OBJ_EVENT_GFX_VAR_0 240
-#define OBJ_EVENT_GFX_VAR_1 241
-#define OBJ_EVENT_GFX_VAR_2 242
-#define OBJ_EVENT_GFX_VAR_3 243
-#define OBJ_EVENT_GFX_VAR_4 244
-#define OBJ_EVENT_GFX_VAR_5 245
-#define OBJ_EVENT_GFX_VAR_6 246
-#define OBJ_EVENT_GFX_VAR_7 247
-#define OBJ_EVENT_GFX_VAR_8 248
-#define OBJ_EVENT_GFX_VAR_9 249
-#define OBJ_EVENT_GFX_VAR_A 250
-#define OBJ_EVENT_GFX_VAR_B 251
-#define OBJ_EVENT_GFX_VAR_C 252
-#define OBJ_EVENT_GFX_VAR_D 253
-#define OBJ_EVENT_GFX_VAR_E 254
-#define OBJ_EVENT_GFX_VAR_F 255
+#define NUM_OBJ_EVENT_GFX 239
+
+// These are dynamic object gfx ids.
+// They correspond with the values of the VAR_OBJ_GFX_ID_X vars.
+// More info about them in include/constants/vars.h
+#define OBJ_EVENT_GFX_VARS (NUM_OBJ_EVENT_GFX + 1)
+#define OBJ_EVENT_GFX_VAR_0 (OBJ_EVENT_GFX_VARS + 0x0) // 240
+#define OBJ_EVENT_GFX_VAR_1 (OBJ_EVENT_GFX_VARS + 0x1)
+#define OBJ_EVENT_GFX_VAR_2 (OBJ_EVENT_GFX_VARS + 0x2)
+#define OBJ_EVENT_GFX_VAR_3 (OBJ_EVENT_GFX_VARS + 0x3)
+#define OBJ_EVENT_GFX_VAR_4 (OBJ_EVENT_GFX_VARS + 0x4)
+#define OBJ_EVENT_GFX_VAR_5 (OBJ_EVENT_GFX_VARS + 0x5)
+#define OBJ_EVENT_GFX_VAR_6 (OBJ_EVENT_GFX_VARS + 0x6)
+#define OBJ_EVENT_GFX_VAR_7 (OBJ_EVENT_GFX_VARS + 0x7)
+#define OBJ_EVENT_GFX_VAR_8 (OBJ_EVENT_GFX_VARS + 0x8)
+#define OBJ_EVENT_GFX_VAR_9 (OBJ_EVENT_GFX_VARS + 0x9)
+#define OBJ_EVENT_GFX_VAR_A (OBJ_EVENT_GFX_VARS + 0xA)
+#define OBJ_EVENT_GFX_VAR_B (OBJ_EVENT_GFX_VARS + 0xB)
+#define OBJ_EVENT_GFX_VAR_C (OBJ_EVENT_GFX_VARS + 0xC)
+#define OBJ_EVENT_GFX_VAR_D (OBJ_EVENT_GFX_VARS + 0xD)
+#define OBJ_EVENT_GFX_VAR_E (OBJ_EVENT_GFX_VARS + 0xE)
+#define OBJ_EVENT_GFX_VAR_F (OBJ_EVENT_GFX_VARS + 0xF) // 255
#define SHADOW_SIZE_S 0
#define SHADOW_SIZE_M 1