Document bard music (#2053)
* Missing bard song limit constants * Index bard sound arrays with word constants * Document bard music
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
#define FEMALE 1
|
||||
#define GENDER_COUNT 2
|
||||
|
||||
#define BARD_SONG_LENGTH 6
|
||||
#define NUM_BARD_SONG_WORDS 6
|
||||
#define NUM_STORYTELLER_TALES 4
|
||||
#define NUM_TRADER_ITEMS 4
|
||||
#define GIDDY_MAX_TALES 10
|
||||
|
||||
@@ -489,6 +489,8 @@
|
||||
#define MUS_RG_SLOW_PALLET 557 // MUS_RG_SLOWMASARA
|
||||
#define MUS_RG_TEACHY_TV_MENU 558 // MUS_RG_TVNOIZE
|
||||
|
||||
// These PH_* constants are phoneme sounds used by the "bard" NPC (see src/bard_music.c and src/mauville_old_man.c).
|
||||
// Each comes in a triplet of PH_*_BLEND, PH_*_HELD, and PH_*_SOLO, and the name of each triplet incorporates the English phonetic sound it represents.
|
||||
#define PH_TRAP_BLEND 559
|
||||
#define PH_TRAP_HELD 560
|
||||
#define PH_TRAP_SOLO 561
|
||||
@@ -545,4 +547,10 @@
|
||||
|
||||
#define MUS_NONE 0xFFFF
|
||||
|
||||
#define FIRST_PHONEME_SONG PH_TRAP_BLEND
|
||||
#define LAST_PHONEME_SONG PH_NURSE_SOLO
|
||||
#define NUM_PHONEME_SONGS (LAST_PHONEME_SONG - FIRST_PHONEME_SONG + 1)
|
||||
#define PHONEME_ID(song) ((song) - FIRST_PHONEME_SONG)
|
||||
#define PHONEME_ID_NONE 0xFF
|
||||
|
||||
#endif // GUARD_CONSTANTS_SONGS_H
|
||||
|
||||
Reference in New Issue
Block a user