summaryrefslogtreecommitdiff
path: root/include/constants/vars.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-19 11:00:32 -0400
committerGitHub <noreply@github.com>2020-03-19 11:00:32 -0400
commit33b65b547000387fcdce9fe497da9b217544ece6 (patch)
tree0c1754c67d188776ee1942fcca503ad8e1e19f05 /include/constants/vars.h
parent715c2ff3ad3a7842a97a2b221f4c02135a813139 (diff)
parenta8403c07790b1031c96ff35a1701e1684919ed95 (diff)
Merge pull request #307 from PikalaxALT/field_control_avatar
Field control avatar
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