Synced sound.c
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#ifndef GUARD_CONSTANTS_FANFARES_H
|
||||
#define GUARD_CONSTANTS_FANFARES_H
|
||||
|
||||
enum Fanfares
|
||||
{
|
||||
FANFARE_00,
|
||||
FANFARE_01,
|
||||
FANFARE_02,
|
||||
FANFARE_03,
|
||||
FANFARE_04,
|
||||
FANFARE_05,
|
||||
FANFARE_06,
|
||||
FANFARE_07,
|
||||
FANFARE_08,
|
||||
FANFARE_09,
|
||||
FANFARE_10,
|
||||
FANFARE_POKEFLUTE,
|
||||
FANFARE_KEY_ITEM,
|
||||
FANFARE_DEX_EVAL
|
||||
};
|
||||
|
||||
#endif //GUARD_CONSTANTS_FANFARES_H
|
||||
@@ -353,4 +353,6 @@
|
||||
#define MUS_SLOW_PALLET 345 // MUS_RG_SLOWMASARA
|
||||
#define MUS_TEACHY_TV_MENU 346 // MUS_RG_TVNOIZE
|
||||
|
||||
#define MUS_NONE 0xFFFF
|
||||
|
||||
#endif // GUARD_CONSTANTS_SONGS_H
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
#ifndef GUARD_CONSTANTS_SOUND_H
|
||||
#define GUARD_CONSTANTS_SOUND_H
|
||||
|
||||
#define FANFARE_LEVEL_UP 0
|
||||
#define FANFARE_OBTAIN_ITEM 1
|
||||
#define FANFARE_EVOLVED 2
|
||||
#define FANFARE_OBTAIN_TMHM 3
|
||||
#define FANFARE_HEAL 4
|
||||
#define FANFARE_OBTAIN_BADGE 5
|
||||
#define FANFARE_MOVE_DELETED 6
|
||||
#define FANFARE_OBTAIN_BERRY 7
|
||||
#define FANFARE_SLOTS_JACKPOT 8
|
||||
#define FANFARE_SLOTS_WIN 9
|
||||
#define FANFARE_TOO_BAD 10
|
||||
#define FANFARE_POKE_FLUTE 11
|
||||
#define FANFARE_KEY_ITEM 12
|
||||
#define FANFARE_DEX_EVAL 13
|
||||
|
||||
#define CRY_MODE_NORMAL 0 // Default
|
||||
#define CRY_MODE_DOUBLES 1 // Shortened cry for double battles
|
||||
#define CRY_MODE_ENCOUNTER 2 // Used when starting a static encounter, or when a Pokémon is "aggressive"
|
||||
#define CRY_MODE_HIGH_PITCH 3 // Highest pitch mode, used exclusively by the move Howl
|
||||
#define CRY_MODE_ECHO_START 4 // For 1st half of cry used by the move Hyper Voice. Played in reverse
|
||||
#define CRY_MODE_FAINT 5 // Used when a Pokémon faints
|
||||
#define CRY_MODE_ECHO_END 6 // For 2nd half of cry used by the move Hyper Voice
|
||||
#define CRY_MODE_ROAR_1 7 // For 1st cry used by the move Roar
|
||||
#define CRY_MODE_ROAR_2 8 // For 2nd cry used by the move Roar
|
||||
#define CRY_MODE_GROWL_1 9 // For 1st cry used by the move Growl. Played in reverse
|
||||
#define CRY_MODE_GROWL_2 10 // For 2nd cry used by the move Growl
|
||||
#define CRY_MODE_WEAK 11 // Used when a Pokémon is unhealthy
|
||||
#define CRY_MODE_WEAK_DOUBLES 12 // Equivalent to CRY_MODE_DOUBLES for CRY_MODE_WEAK
|
||||
|
||||
// Given to SoundTask_PlayDoubleCry to determine which cry mode to use. Values are arbitrary
|
||||
#define DOUBLE_CRY_ROAR 2
|
||||
#define DOUBLE_CRY_GROWL 255
|
||||
|
||||
#define CRY_PRIORITY_NORMAL 10
|
||||
#define CRY_PRIORITY_AMBIENT 1
|
||||
|
||||
// Cry volume was changed from 125 in R/S to 120 for FRLG/Em, but was (accidentally?) not updated outside of sound.c
|
||||
#define CRY_VOLUME 120
|
||||
#define CRY_VOLUME_RS 125
|
||||
|
||||
#endif //GUARD_CONSTANTS_SOUND_H
|
||||
Reference in New Issue
Block a user