diff options
Diffstat (limited to 'constants')
-rw-r--r-- | constants/audio_constants.asm | 6 | ||||
-rw-r--r-- | constants/menu_constants.asm | 36 | ||||
-rw-r--r-- | constants/move_effect_constants.asm | 4 | ||||
-rwxr-xr-x | constants/pokemon_data_constants.asm | 11 | ||||
-rw-r--r-- | constants/script_constants.asm | 19 |
5 files changed, 57 insertions, 19 deletions
diff --git a/constants/audio_constants.asm b/constants/audio_constants.asm index 3dc9fbee..e36d2d5f 100644 --- a/constants/audio_constants.asm +++ b/constants/audio_constants.asm @@ -1,4 +1,5 @@ ; pitch +; Audio[1|2|3]_Pitches indexes (see audio/notes.asm) const_def const C_ ; 0 const C# ; 1 @@ -14,15 +15,20 @@ const B_ ; B ; channel +; Audio[1|2|3]_HWChannelBaseAddresses, Audio[1|2|3]_HWChannelDisableMasks, +; and Audio[1|2|3]_HWChannelEnableMasks indexes (see audio/engine_[1|2|3].asm) const_def const Ch1 ; 0 const Ch2 ; 1 const Ch3 ; 2 const Ch4 ; 3 +NUM_MUSIC_CHANS EQU const_value const Ch5 ; 4 const Ch6 ; 5 const Ch7 ; 6 const Ch8 ; 7 +NUM_NOISE_CHANS EQU const_value - NUM_MUSIC_CHANS +NUM_CHANNELS EQU const_value ; HW sound channel register base addresses HW_CH1_BASE EQU LOW(rNR10) diff --git a/constants/menu_constants.asm b/constants/menu_constants.asm index c45d5ead..3a601dc2 100644 --- a/constants/menu_constants.asm +++ b/constants/menu_constants.asm @@ -58,25 +58,27 @@ CHOSE_SECOND_ITEM EQU 2 const PARTY_TO_DAYCARE ; 3 ; party menu types +; PartyMenuMessagePointers indexes const_def - const NORMAL_PARTY_MENU ; 0 - const USE_ITEM_PARTY_MENU ; 1 - const BATTLE_PARTY_MENU ; 2 - const TMHM_PARTY_MENU ; 3 - const SWAP_MONS_PARTY_MENU ; 4 - const EVO_STONE_PARTY_MENU ; 5 - + const NORMAL_PARTY_MENU ; $00 + const USE_ITEM_PARTY_MENU ; $01 + const BATTLE_PARTY_MENU ; $02 + const TMHM_PARTY_MENU ; $03 + const SWAP_MONS_PARTY_MENU ; $04 + const EVO_STONE_PARTY_MENU ; $05 ; party menu message IDs - const_def $F0 - const ANTIDOTE_MSG ; $F0 - const BURN_HEAL_MSG ; $F1 - const ICE_HEAL_MSG ; $F2 - const AWAKENING_MSG ; $F3 - const PARALYZ_HEAL_MSG ; $F4 - const POTION_MSG ; $F5 - const FULL_HEAL_MSG ; $F6 - const REVIVE_MSG ; $F7 - const RARE_CANDY_MSG ; $F8 +; PartyMenuItemUseMessagePointers indexes + const_next $F0 +FIRST_PARTY_MENU_TEXT_ID EQU const_value + const ANTIDOTE_MSG ; $F0 + const BURN_HEAL_MSG ; $F1 + const ICE_HEAL_MSG ; $F2 + const AWAKENING_MSG ; $F3 + const PARALYZ_HEAL_MSG ; $F4 + const POTION_MSG ; $F5 + const FULL_HEAL_MSG ; $F6 + const REVIVE_MSG ; $F7 + const RARE_CANDY_MSG ; $F8 ; naming screen types const_def diff --git a/constants/move_effect_constants.asm b/constants/move_effect_constants.asm index 54fc4896..8872ac3e 100644 --- a/constants/move_effect_constants.asm +++ b/constants/move_effect_constants.asm @@ -5,7 +5,7 @@ const_def const NO_ADDITIONAL_EFFECT ; $00 - const_skip ; $01 + const EFFECT_01 ; $01 unused const POISON_SIDE_EFFECT1 ; $02 const DRAIN_HP_EFFECT ; $03 const BURN_SIDE_EFFECT1 ; $04 @@ -34,7 +34,7 @@ const THRASH_PETAL_DANCE_EFFECT ; $1B const SWITCH_AND_TELEPORT_EFFECT ; $1C const TWO_TO_FIVE_ATTACKS_EFFECT ; $1D - const_skip ; $1E + const EFFECT_1E ; $1E unused const FLINCH_SIDE_EFFECT1 ; $1F const SLEEP_EFFECT ; $20 const POISON_SIDE_EFFECT2 ; $21 diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm index a304b852..a0e5b257 100755 --- a/constants/pokemon_data_constants.asm +++ b/constants/pokemon_data_constants.asm @@ -28,3 +28,14 @@ HOF_TEAM_CAPACITY EQU 50 MAX_EVOLUTIONS EQU 3 EVOLUTION_SIZE EQU 4 + + +; wMonHGrowthRate values +; GrowthRateTable indexes (see data/growth_rates.asm) + const_def + const GROWTH_MEDIUM_FAST + const GROWTH_SLIGHTLY_FAST + const GROWTH_SLIGHTLY_SLOW + const GROWTH_MEDIUM_SLOW + const GROWTH_FAST + const GROWTH_SLOW diff --git a/constants/script_constants.asm b/constants/script_constants.asm index d381ce6c..9b2ab740 100644 --- a/constants/script_constants.asm +++ b/constants/script_constants.asm @@ -11,3 +11,22 @@ SLOTSCHERRY EQU $0A08 SLOTSFISH EQU $0E0C SLOTSBIRD EQU $1210 SLOTSMOUSE EQU $1614 + +; in game trade dialog sets + const_def + const TRADE_DIALOGSET_CASUAL + const TRADE_DIALOGSET_POLITE + const TRADE_DIALOGSET_HAPPY + +; badges +; wObtainedBadges and wBeatGymFlags bits + const_def + const BIT_BOULDERBADGE ; 0 + const BIT_CASCADEBADGE ; 1 + const BIT_THUNDERBADGE ; 2 + const BIT_RAINBOWBADGE ; 3 + const BIT_SOULBADGE ; 4 + const BIT_MARSHBADGE ; 5 + const BIT_VOLCANOBADGE ; 6 + const BIT_EARTHBADGE ; 7 +NUM_BADGES EQU const_value |