summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-07-11 09:45:06 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-07-11 09:45:06 -0500
commit4fbad04ec2de7ca2529620f292356f1916b4d59d (patch)
tree5b625fd6c86d633d87e7a2363fac690aa12365d2 /include/constants
parentf96749deb674a2ae784708ee95c778585330b6ce (diff)
Use bg event type constants and remove unneeded bg_event argument
Diffstat (limited to 'include/constants')
-rwxr-xr-xinclude/constants/bg_event_constants.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/constants/bg_event_constants.h b/include/constants/bg_event_constants.h
new file mode 100755
index 000000000..a915bc509
--- /dev/null
+++ b/include/constants/bg_event_constants.h
@@ -0,0 +1,13 @@
+#ifndef GUARD_CONSTANTS_BG_EVENT_H
+#define GUARD_CONSTANTS_BG_EVENT_H
+
+#define BG_EVENT_PLAYER_FACING_ANY 0
+#define BG_EVENT_PLAYER_FACING_NORTH 1
+#define BG_EVENT_PLAYER_FACING_SOUTH 2
+#define BG_EVENT_PLAYER_FACING_EAST 3
+#define BG_EVENT_PLAYER_FACING_WEST 4
+
+#define BG_EVENT_HIDDEN_ITEM 7
+#define BG_EVENT_SECRET_BASE 8
+
+#endif // GUARD_CONSTANTS_BG_EVENT_H