shithub: pokecrystal

ref: bbe87563028781312f447f1d4693cec1358dfc82
dir: /constants/music_constants.asm/

View raw version
; music
MUSIC_NONE EQU 0
MUSIC_TITLE EQU 1
MUSIC_ROUTE_1 EQU 2
MUSIC_ROUTE_3 EQU 3
MUSIC_ROUTE_12 EQU 4
MUSIC_MAGNET_TRAIN EQU 5
MUSIC_KANTO_GYM_LEADER_BATTLE EQU 6
MUSIC_KANTO_TRAINER_BATTLE EQU 7
MUSIC_KANTO_WILD_BATTLE EQU 8
MUSIC_POKEMON_CENTER EQU 9
MUSIC_HIKER_ENCOUNTER EQU 10
MUSIC_LASS_ENCOUNTER EQU 11
MUSIC_OFFICER_ENCOUNTER EQU 12
MUSIC_HEAL EQU 13
MUSIC_LAVENDER_TOWN EQU 14
MUSIC_ROUTE_2 EQU 15
MUSIC_MT_MOON EQU 16
MUSIC_SHOW_ME_AROUND EQU 17
MUSIC_GAME_CORNER EQU 18
MUSIC_BICYCLE EQU 19
MUSIC_HALL_OF_FAME EQU 20
MUSIC_VIRIDIAN_CITY EQU 21
MUSIC_CELADON_CITY EQU 22
MUSIC_TRAINER_VICTORY EQU 23
MUSIC_WILD_VICTORY EQU 24
MUSIC_GYM_VICTORY EQU 25
MUSIC_MT_MOON_SQUARE EQU 26
MUSIC_GYM EQU 27
MUSIC_PALLET_TOWN EQU 28
MUSIC_POKEMON_TALK EQU 29
MUSIC_PROF_OAK EQU 30
MUSIC_RIVAL_ENCOUNTER EQU 31
MUSIC_RIVAL_AFTER EQU 32
MUSIC_SURF EQU 33
MUSIC_EVOLUTION EQU 34
MUSIC_NATIONAL_PARK EQU 35
MUSIC_CREDITS EQU 36
MUSIC_AZALEA_TOWN EQU 37
MUSIC_CHERRYGROVE_CITY EQU 38
MUSIC_KIMONO_ENCOUNTER EQU 39
MUSIC_UNION_CAVE EQU 40
MUSIC_JOHTO_WILD_BATTLE EQU 41
MUSIC_JOHTO_TRAINER_BATTLE EQU 42
MUSIC_ROUTE_30 EQU 43
MUSIC_ECRUTEAK_CITY EQU 44
MUSIC_VIOLET_CITY EQU 45
MUSIC_JOHTO_GYM_LEADER_BATTLE EQU 46
MUSIC_CHAMPION_BATTLE EQU 47
MUSIC_RIVAL_BATTLE EQU 48
MUSIC_ROCKET_BATTLE EQU 49
MUSIC_PROF_ELM EQU 50
MUSIC_DARK_CAVE EQU 51
MUSIC_ROUTE_29 EQU 52
MUSIC_ROUTE_36 EQU 53
MUSIC_SS_AQUA EQU 54
MUSIC_YOUNGSTER_ENCOUNTER EQU 55
MUSIC_BEAUTY_ENCOUNTER EQU 56
MUSIC_ROCKET_ENCOUNTER EQU 57
MUSIC_POKEMANIAC_ENCOUNTER EQU 58
MUSIC_SAGE_ENCOUNTER EQU 59
MUSIC_NEW_BARK_TOWN EQU 60
MUSIC_GOLDENROD_CITY EQU 61
MUSIC_VERMILION_CITY EQU 62
MUSIC_POKEMON_CHANNEL EQU 63
MUSIC_POKE_FLUTE_CHANNEL EQU 64
MUSIC_TIN_TOWER EQU 65
MUSIC_SPROUT_TOWER EQU 66
MUSIC_BURNED_TOWER EQU 67
MUSIC_LIGHTHOUSE EQU 68
MUSIC_LAKE_OF_RAGE EQU 69
MUSIC_INDIGO_PLATEAU EQU 70
MUSIC_ROUTE_37 EQU 71
MUSIC_ROCKET_HIDEOUT EQU 72
MUSIC_DRAGONS_DEN EQU 73
MUSIC_JOHTO_WILD_BATTLE_NIGHT EQU 74
MUSIC_RUINS_OF_ALPH_RADIO EQU 75
MUSIC_CAPTURE EQU 76
MUSIC_ROUTE_26 EQU 77
MUSIC_MOM EQU 78
MUSIC_VICTORY_ROAD EQU 79
MUSIC_POKEMON_LULLABY EQU 80
MUSIC_POKEMON_MARCH EQU 81
MUSIC_GS_OPENING EQU 82
MUSIC_GS_OPENING_2 EQU 83
MUSIC_MAIN_MENU EQU 84
MUSIC_RUINS_OF_ALPH_INTERIOR EQU 85
MUSIC_ROCKET_OVERTURE EQU 86
MUSIC_DANCING_HALL EQU 87
MUSIC_BUG_CATCHING_CONTEST_RANKING EQU 88
MUSIC_BUG_CATCHING_CONTEST EQU 89
MUSIC_LAKE_OF_RAGE_ROCKET_RADIO EQU 90
MUSIC_PRINTER EQU 91
MUSIC_POST_CREDITS EQU 92
MUSIC_CLAIR EQU 93
MUSIC_MOBILE_ADAPTER_MENU EQU 94
MUSIC_MOBILE_ADAPTER EQU 95
MUSIC_BUENAS_PASSWORD EQU 96
MUSIC_MYSTICALMAN_ENCOUNTER EQU 97
MUSIC_CRYSTAL_OPENING EQU 98
MUSIC_BATTLE_TOWER_THEME EQU 99
MUSIC_SUICUNE_BATTLE EQU 100
MUSIC_BATTLE_TOWER_LOBBY EQU 101
MUSIC_MOBILE_CENTER EQU 102

MUSIC_MAHOGANY_MART EQU 100 ; grandfathered from gold


; sfx
SFX_DEX_FANFARE_50_79           EQU $00
SFX_ITEM                        EQU $01
SFX_CAUGHT_MON                  EQU $02
SFX_POKEBALLS_PLACED_ON_TABLE   EQU $03
SFX_POTION                      EQU $04
SFX_FULL_HEAL                   EQU $05
SFX_MENU                        EQU $06
SFX_READ_TEXT                   EQU $07
SFX_READ_TEXT_2                 EQU $08
SFX_DEX_FANFARE_20_49           EQU $09
SFX_DEX_FANFARE_80_109          EQU $0a
SFX_POISON                      EQU $0b
SFX_GOT_SAFARI_BALLS            EQU $0c
SFX_BOOT_PC                     EQU $0d
SFX_SHUT_DOWN_PC                EQU $0e
SFX_CHOOSE_PC_OPTION            EQU $0f
SFX_ESCAPE_ROPE                 EQU $10
SFX_PUSH_BUTTON                 EQU $11
SFX_SECOND_PART_OF_ITEMFINDER   EQU $12
SFX_WARP_TO                     EQU $13
SFX_WARP_FROM                   EQU $14
SFX_CHANGE_DEX_MODE             EQU $15
SFX_JUMP_OVER_LEDGE             EQU $16
SFX_GRASS_RUSTLE                EQU $17
SFX_FLY                         EQU $18
SFX_WRONG                       EQU $19
SFX_SQUEAK                      EQU $1a
SFX_STRENGTH                    EQU $1b
SFX_BOAT                        EQU $1c
SFX_WALL_OPEN                   EQU $1d
SFX_PLACE_PUZZLE_PIECE_DOWN     EQU $1e
SFX_ENTER_DOOR                  EQU $1f
SFX_SWITCH_POKEMON              EQU $20
SFX_TALLY                       EQU $21
SFX_TRANSACTION                 EQU $22
SFX_EXIT_BUILDING               EQU $23
SFX_BUMP                        EQU $24
SFX_SAVE                        EQU $25
SFX_POKEFLUTE                   EQU $26
SFX_ELEVATOR_END                EQU $27
SFX_THROW_BALL                  EQU $28
SFX_BALL_POOF                   EQU $29
SFX_UNKNOWN_2A                  EQU $2a
SFX_RUN                         EQU $2b
SFX_SLOT_MACHINE_START          EQU $2c
SFX_FANFARE                     EQU $2d
SFX_PECK                        EQU $2e
SFX_KINESIS                     EQU $2f
SFX_LICK                        EQU $30
SFX_POUND                       EQU $31
SFX_MOVE_PUZZLE_PIECE           EQU $32
SFX_COMET_PUNCH                 EQU $33
SFX_MEGA_PUNCH                  EQU $34
SFX_SCRATCH                     EQU $35
SFX_VICEGRIP                    EQU $36
SFX_RAZOR_WIND                  EQU $37
SFX_CUT                         EQU $38
SFX_WING_ATTACK                 EQU $39
SFX_WHIRLWIND                   EQU $3a
SFX_BIND                        EQU $3b
SFX_VINE_WHIP                   EQU $3c
SFX_DOUBLE_KICK                 EQU $3d
SFX_MEGA_KICK                   EQU $3e
SFX_HEADBUTT                    EQU $3f
SFX_HORN_ATTACK                 EQU $40
SFX_TACKLE                      EQU $41
SFX_POISON_STING                EQU $42
SFX_POWDER                      EQU $43
SFX_DOUBLESLAP                  EQU $44
SFX_BITE                        EQU $45
SFX_JUMP_KICK                   EQU $46
SFX_STOMP                       EQU $47
SFX_TAIL_WHIP                   EQU $48
SFX_KARATE_CHOP                 EQU $49
SFX_SUBMISSION                  EQU $4a
SFX_WATER_GUN                   EQU $4b
SFX_SWORDS_DANCE                EQU $4c
SFX_THUNDER                     EQU $4d
SFX_SUPERSONIC                  EQU $4e
SFX_LEER                        EQU $4f
SFX_EMBER                       EQU $50
SFX_BUBBLEBEAM                  EQU $51
SFX_HYDRO_PUMP                  EQU $52
SFX_SURF                        EQU $53
SFX_PSYBEAM                     EQU $54
SFX_CHARGE                      EQU $55
SFX_THUNDERSHOCK                EQU $56
SFX_PSYCHIC                     EQU $57
SFX_SCREECH                     EQU $58
SFX_BONE_CLUB                   EQU $59
SFX_SHARPEN                     EQU $5a
SFX_EGG_BOMB                    EQU $5b
SFX_SING                        EQU $5c
SFX_HYPER_BEAM                  EQU $5d
SFX_SHINE                       EQU $5e
SFX_UNKNOWN_5F                  EQU $5f
SFX_UNKNOWN_60                  EQU $60
SFX_UNKNOWN_61                  EQU $61
SFX_UNKNOWN_62                  EQU $62
SFX_UNKNOWN_63                  EQU $63
SFX_BURN                        EQU $64
SFX_TITLE_SCREEN_ENTRANCE       EQU $65
SFX_UNKNOWN_66                  EQU $66
SFX_GET_COIN_FROM_SLOTS         EQU $67
SFX_PAY_DAY                     EQU $68
SFX_METRONOME                   EQU $69
SFX_CALL                        EQU $6a
SFX_HANG_UP                     EQU $6b
SFX_NO_SIGNAL                   EQU $6c
SFX_SANDSTORM                   EQU $6d
SFX_ELEVATOR                    EQU $6e
SFX_PROTECT                     EQU $6f
SFX_SKETCH                      EQU $70
SFX_RAIN_DANCE                  EQU $71
SFX_AEROBLAST                   EQU $72
SFX_SPARK                       EQU $73
SFX_CURSE                       EQU $74
SFX_RAGE                        EQU $75
SFX_THIEF                       EQU $76
SFX_THIEF_2                     EQU $77
SFX_SPIDER_WEB                  EQU $78
SFX_MIND_READER                 EQU $79
SFX_NIGHTMARE                   EQU $7a
SFX_SNORE                       EQU $7b
SFX_SWEET_KISS                  EQU $7c
SFX_SWEET_KISS_2                EQU $7d
SFX_BELLY_DRUM                  EQU $7e
SFX_UNKNOWN_7F                  EQU $7f
SFX_SLUDGE_BOMB                 EQU $80
SFX_FORESIGHT                   EQU $81
SFX_SPITE                       EQU $82
SFX_OUTRAGE                     EQU $83
SFX_PERISH_SONG                 EQU $84
SFX_GIGA_DRAIN                  EQU $85
SFX_ATTRACT                     EQU $86
SFX_KINESIS_2                   EQU $87
SFX_ZAP_CANNON                  EQU $88
SFX_MEAN_LOOK                   EQU $89
SFX_HEAL_BELL                   EQU $8a
SFX_RETURN                      EQU $8b
SFX_EXP_BAR                     EQU $8c
SFX_MILK_DRINK                  EQU $8d
SFX_PRESENT                     EQU $8e
SFX_MORNING_SUN                 EQU $8f
SFX_LEVEL_UP                    EQU $90
SFX_KEY_ITEM                    EQU $91
SFX_FANFARE_2                   EQU $92
SFX_REGISTER_PHONE_NUMBER       EQU $93
SFX_3RD_PLACE                   EQU $94
SFX_GET_EGG_FROM_DAYCARE_MAN    EQU $95
SFX_GET_EGG_FROM_DAYCARE_LADY   EQU $96
SFX_MOVE_DELETED                EQU $97
SFX_2ND_PLACE                   EQU $98
SFX_1ST_PLACE                   EQU $99
SFX_CHOOSE_A_CARD               EQU $9a
SFX_GET_TM                      EQU $9b
SFX_GET_BADGE                   EQU $9c
SFX_QUIT_SLOTS                  EQU $9d
SFX_EGG_CRACK                   EQU $9e
SFX_DEX_FANFARE_LESS_THAN_20    EQU $9f
SFX_DEX_FANFARE_140_169         EQU $a0
SFX_DEX_FANFARE_170_199         EQU $a1
SFX_DEX_FANFARE_200_229         EQU $a2
SFX_DEX_FANFARE_230_PLUS        EQU $a3
SFX_EVOLVED                     EQU $a4
SFX_MASTER_BALL                 EQU $a5
SFX_EGG_HATCH                   EQU $a6
SFX_GS_INTRO_CHARIZARD_FIREBALL EQU $a7
SFX_GS_INTRO_POKEMON_APPEARS    EQU $a8
SFX_FLASH                       EQU $a9
SFX_GAME_FREAK_LOGO_GS          EQU $aa
SFX_NOT_VERY_EFFECTIVE          EQU $ab
SFX_DAMAGE                      EQU $ac
SFX_SUPER_EFFECTIVE             EQU $ad
SFX_BALL_BOUNCE                 EQU $ae
SFX_MOONLIGHT                   EQU $af
SFX_ENCORE                      EQU $b0
SFX_BEAT_UP                     EQU $b1
SFX_BATON_PASS                  EQU $b2
SFX_BALL_WIGGLE                 EQU $b3
SFX_SWEET_SCENT                 EQU $b4
SFX_SWEET_SCENT_2               EQU $b5
SFX_HIT_END_OF_EXP_BAR          EQU $b6
SFX_GIVE_TRADEMON               EQU $b7
SFX_GET_TRADEMON                EQU $b8
SFX_TRAIN_ARRIVED               EQU $b9
SFX_STOP_SLOT                   EQU $ba
SFX_2_BOOPS                     EQU $bb
SFX_GLASS_TING                  EQU $bc
SFX_GLASS_TING_2                EQU $bd
SFX_INTRO_UNOWN_1               EQU $be
SFX_INTRO_UNOWN_2               EQU $bf
SFX_INTRO_UNOWN_3               EQU $c0
SFX_DITTO_POP_UP                EQU $c1
SFX_DITTO_TRANSFORM             EQU $c2
SFX_INTRO_SUICUNE_1             EQU $c3
SFX_INTRO_PICHU                 EQU $c4
SFX_INTRO_SUICUNE_2             EQU $c5
SFX_INTRO_SUICUNE_3             EQU $c6
SFX_DITTO_BOUNCE                EQU $c7
SFX_INTRO_SUICUNE_4             EQU $c8
SFX_GAME_FREAK_PRESENTS         EQU $c9
SFX_TINGLE                      EQU $ca
SFX_UNKNOWN_CB                  EQU $cb
SFX_TWO_PC_BEEPS                EQU $cc
SFX_4_NOTE_DITTY                EQU $cd
SFX_TWINKLE                     EQU $ce


; header channels
_4CH1 EQU $c0
_3CH1 EQU $80
_2CH1 EQU $40
_1CH1 EQU $00
_3CH2 EQU $81
_2CH2 EQU $41
_1CH2 EQU $01
_2CH3 EQU $42
_1CH3 EQU $02
_1CH4 EQU $03

_4CH5 EQU $c4
_3CH5 EQU $84
_2CH5 EQU $44
_1CH5 EQU $04
_3CH6 EQU $85
_2CH6 EQU $45
_1CH6 EQU $05
_2CH7 EQU $46
_1CH7 EQU $06
_1CH8 EQU $07

_CH2 EQU $01
_CH3 EQU $02
_CH4 EQU $03
_CH5 EQU $04
_CH6 EQU $05
_CH7 EQU $06
_CH8 EQU $07

; note pitch
NOTE_RST EQU $00
NOTE_C EQU $10
NOTE_C# EQU $20
NOTE_D EQU $30
NOTE_D# EQU $40
NOTE_E EQU $50
NOTE_F EQU $60
NOTE_F# EQU $70
NOTE_G EQU $80
NOTE_G# EQU $90
NOTE_A EQU $a0
NOTE_A# EQU $b0
NOTE_B EQU $c0

; note duration (16ths)
NOTE_1 EQU $00
NOTE_2 EQU $01
NOTE_3 EQU $02
NOTE_4 EQU $03
NOTE_5 EQU $04
NOTE_6 EQU $05
NOTE_7 EQU $06
NOTE_8 EQU $07
NOTE_9 EQU $08
NOTE_10 EQU $09
NOTE_11 EQU $0a
NOTE_12 EQU $0b
NOTE_13 EQU $0c
NOTE_14 EQU $0d
NOTE_15 EQU $0e
NOTE_16 EQU $0f