summaryrefslogtreecommitdiff
path: root/include/constants/vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants/vars.h')
-rw-r--r--include/constants/vars.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/constants/vars.h b/include/constants/vars.h
index 640bf41fd..4a64eb095 100644
--- a/include/constants/vars.h
+++ b/include/constants/vars.h
@@ -49,10 +49,15 @@
// Counts up every step. Wraps around at 128.
// When wraparound occurs, the friendship of
// every party poke gets a slight boost.
-#define VAR_FRIENDSHIP_STEP_COUNT 0x4021
+#define VAR_HAPPINESS_STEP_COUNTER 0x4021
-// Maybe unused?
-#define VAR_0x4022 0x4022
+// Counts up every step while a party Pokemon is
+// poisoned. Wraps around at 5. When wraparound
+// occurs, every party Pokemon with the PSN status
+// takes 1 point of damage.
+// This is a deviation from the typical rate in
+// the series, which is 1 damage every 4 steps.
+#define VAR_POISON_STEP_COUNTER 0x4022
// Step counter. Caps at 1500. If you enter a map with
// renewable hidden items and this counter is capped,
@@ -81,8 +86,8 @@
#define VAR_QUEST_LOG_MON_COUNTS 0x4027
#define VAR_MENEWS_JISAN_STEP_COUNTER 0x4028
#define VAR_0x4029 0x4029
-#define VAR_HAPPINESS_STEP_COUNTER 0x402A
-#define VAR_POISON_STEP_COUNTER 0x402B
+#define VAR_0x402A 0x402A
+#define VAR_0x402B 0x402B
#define VAR_RESET_RTC_ENABLE 0x402C
#define VAR_0x402D 0x402D
#define VAR_0x402E 0x402E