diff options
| author | dannye <33dannye@gmail.com> | 2021-03-25 17:39:44 -0500 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2021-03-25 17:39:44 -0500 |
| commit | eb47bda8ee5c1f002236200df36012de9e243a97 (patch) | |
| tree | fc69fc5435582efebd36fc54414673dd8ac7f646 /constants/item_constants.asm | |
| parent | Merge remote-tracking branch 'remotes/pokered/master' (diff) | |
| parent | Verify data table and name list sizes with assertion macros (diff) | |
| download | pokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.tar.gz pokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.tar.xz pokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.zip | |
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'constants/item_constants.asm')
| -rw-r--r-- | constants/item_constants.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/constants/item_constants.asm b/constants/item_constants.asm index 4cbc8534..e7cea725 100644 --- a/constants/item_constants.asm +++ b/constants/item_constants.asm @@ -92,6 +92,9 @@ SAFARI_ROCK EQU $16 ; overload const MAX_ETHER ; $51 const ELIXER ; $52 const MAX_ELIXER ; $53 +NUM_ITEMS EQU const_value - 1 + +; elevator floors use item IDs const FLOOR_B2F ; $54 const FLOOR_B1F ; $55 const FLOOR_1F ; $56 @@ -106,6 +109,7 @@ SAFARI_ROCK EQU $16 ; overload const FLOOR_10F ; $5F const FLOOR_11F ; $60 const FLOOR_B4F ; $61 +NUM_FLOORS EQU const_value - 1 - NUM_ITEMS const_next $C4 |
