summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-11 14:12:59 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-11 14:12:59 -0400
commited3e70b97c41c950afd2824c267f220f4620a8a7 (patch)
tree4b37a8d76a00a4e3b00ff2dc152bec15327079d2 /constants
parent64e2cff5c46aaf8cdf8fceb5877901962235ebfc (diff)
Identify some time-related data
Diffstat (limited to 'constants')
-rw-r--r--constants/map_data_constants.asm1
-rw-r--r--constants/wram_constants.asm3
2 files changed, 4 insertions, 0 deletions
diff --git a/constants/map_data_constants.asm b/constants/map_data_constants.asm
index 136456d95..d288e07d5 100644
--- a/constants/map_data_constants.asm
+++ b/constants/map_data_constants.asm
@@ -32,6 +32,7 @@ MAP_NONE EQU 0
const PALETTE_NITE
const PALETTE_MORN
const PALETTE_DARK
+NUM_MAP_PALETTES EQU const_value
; FishGroups indexes (see data/wild/fish.asm)
const_def
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm
index 0007bdaaf..c571faf8b 100644
--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -123,6 +123,9 @@ DARKNESS EQU 1 << DARKNESS_F
ANYTIME EQU MORN | DAY | NITE
+; wTimeOfDayPalset::
+DARKNESS_PALSET EQU (DARKNESS_F << 6) | (DARKNESS_F << 4) | (DARKNESS_F << 2) | DARKNESS_F
+
; wBattleAnimFlags::
const_def
const BATTLEANIM_STOP_F ; 0