summaryrefslogtreecommitdiff
path: root/constants/wram_constants.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 00:50:59 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 02:15:46 -0500
commit512863989fb2cb17bcca2f27a61fe3fa8f567b9a (patch)
tree84ab5a58da5e42fa32bc5eb2779d6a47c54ce71e /constants/wram_constants.asm
parent89b9292db0898f8ad2b6ea8513a3190762eb58c8 (diff)
Document constants with comments, actual names, and more thorough usage
Diffstat (limited to 'constants/wram_constants.asm')
-rw-r--r--constants/wram_constants.asm33
1 files changed, 32 insertions, 1 deletions
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm
index 09d457f5e..73a319081 100644
--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -1,4 +1,3 @@
-
; MonType: ; cf5f
PARTYMON EQU 0
OTPARTYMON EQU 1
@@ -103,3 +102,35 @@ DAYCARE_DEPOSIT EQU 3
const DEXMODE_OLD
const DEXMODE_ABC
const DEXMODE_UNOWN
+
+; JohtoBadges:
+ const_def
+ const ZEPHYRBADGE
+ const HIVEBADGE
+ const PLAINBADGE
+ const FOGBADGE
+ const MINERALBADGE
+ const STORMBADGE
+ const GLACIERBADGE
+ const RISINGBADGE
+NUM_JOHTO_BADGES EQU const_value
+
+; KantoBadges:
+ const_def
+ const BOULDERBADGE
+ const CASCADEBADGE
+ const THUNDERBADGE
+ const RAINBOWBADGE
+ const SOULBADGE
+ const MARSHBADGE
+ const VOLCANOBADGE
+ const EARTHBADGE
+NUM_KANTO_BADGES EQU const_value
+NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES
+
+; wInitListType:
+INIT_ENEMYOT_LIST EQU 1
+INIT_BAG_ITEM_LIST EQU 2
+INIT_OTHER_ITEM_LIST EQU 3
+INIT_PLAYEROT_LIST EQU 4
+INIT_MON_LIST EQU 5