diff options
-rw-r--r-- | audio/cries.asm | 1308 | ||||
-rw-r--r-- | audio/cry_pointers.asm | 43 | ||||
-rw-r--r-- | audio/engine.asm | 8 | ||||
-rw-r--r-- | audio/sfx.asm | 2334 | ||||
-rw-r--r-- | audio/sfx_pointers.asm | 114 | ||||
-rw-r--r-- | constants.asm | 1 | ||||
-rw-r--r-- | constants/cry_constants.asm | 42 | ||||
-rw-r--r-- | constants/sfx_constants.asm | 3 | ||||
-rw-r--r-- | data/pokemon/cries.asm | 266 | ||||
-rw-r--r-- | home/audio.asm | 4 | ||||
-rw-r--r-- | home/cry.asm | 4 | ||||
-rw-r--r-- | layout.link | 11 | ||||
-rwxr-xr-x | shim.sym | 150 |
13 files changed, 3970 insertions, 318 deletions
diff --git a/audio/cries.asm b/audio/cries.asm index 89eef76..a8b7d9b 100644 --- a/audio/cries.asm +++ b/audio/cries.asm @@ -1,46 +1,1266 @@ INCLUDE "constants.asm" -SECTION "audio/cries.asm@Cry Header Pointers", ROMX -CryHeaderPointers:: - dba CryHeader_f17c5 - dba CryHeader_f17ce - dba CryHeader_f17d7 - dba CryHeader_f17e0 - dba CryHeader_f17e9 - dba CryHeader_f17f2 - dba CryHeader_f17fb - dba CryHeader_f1804 - dba CryHeader_f180d - dba CryHeader_f1816 - dba CryHeader_f181f - dba CryHeader_f1828 - dba CryHeader_f1831 - dba CryHeader_f183a - dba CryHeader_f1843 - dba CryHeader_f184c - dba CryHeader_f1855 - dba CryHeader_f185e - dba CryHeader_f1867 - dba CryHeader_f1870 - dba CryHeader_f1879 - dba CryHeader_f1882 - dba CryHeader_f188b - dba CryHeader_f1894 - dba CryHeader_f189d - dba CryHeader_f18a6 - dba CryHeader_f18af - dba CryHeader_f18b8 - dba CryHeader_f18c1 - dba CryHeader_f18ca - dba CryHeader_f18d3 - dba CryHeader_f18dc - dba CryHeader_f18e5 - dba CryHeader_f18ee - dba CryHeader_f18f7 - dba CryHeader_f1900 - dba CryHeader_f1909 - dba CryHeader_f1912 - -SECTION "audio/cries.asm@Cries", ROMX - -CryHeaders:: ; TODO: Rip the data, then INCBIN it +SECTION "audio/cries.asm", ROMX + +Cry_00: + channel_count 3 + channel 5, Cry_00_Ch5 + channel 6, Cry_00_Ch6 + channel 8, Cry_00_Ch8 + +Cry_01: + channel_count 3 + channel 5, Cry_01_Ch5 + channel 6, Cry_01_Ch6 + channel 8, Cry_01_Ch8 + +Cry_02: + channel_count 3 + channel 5, Cry_02_Ch5 + channel 6, Cry_02_Ch6 + channel 8, Cry_02_Ch8 + +Cry_03: + channel_count 3 + channel 5, Cry_03_Ch5 + channel 6, Cry_03_Ch6 + channel 8, Cry_03_Ch8 + +Cry_04: + channel_count 3 + channel 5, Cry_04_Ch5 + channel 6, Cry_04_Ch6 + channel 8, Cry_04_Ch8 + +Cry_05: + channel_count 3 + channel 5, Cry_05_Ch5 + channel 6, Cry_05_Ch6 + channel 8, Cry_05_Ch8 + +Cry_06: + channel_count 3 + channel 5, Cry_06_Ch5 + channel 6, Cry_06_Ch6 + channel 8, Cry_06_Ch8 + +Cry_07: + channel_count 3 + channel 5, Cry_07_Ch5 + channel 6, Cry_07_Ch6 + channel 8, Cry_07_Ch8 + +Cry_08: + channel_count 3 + channel 5, Cry_08_Ch5 + channel 6, Cry_08_Ch6 + channel 8, Cry_08_Ch8 + +Cry_09: + channel_count 3 + channel 5, Cry_09_Ch5 + channel 6, Cry_09_Ch6 + channel 8, Cry_09_Ch8 + +Cry_0a: + channel_count 3 + channel 5, Cry_0a_Ch5 + channel 6, Cry_0a_Ch6 + channel 8, Cry_0a_Ch8 + +Cry_0b: + channel_count 3 + channel 5, Cry_0b_Ch5 + channel 6, Cry_0b_Ch6 + channel 8, Cry_0b_Ch8 + +Cry_0c: + channel_count 3 + channel 5, Cry_0c_Ch5 + channel 6, Cry_0c_Ch6 + channel 8, Cry_0c_Ch8 + +Cry_0d: + channel_count 3 + channel 5, Cry_0d_Ch5 + channel 6, Cry_0d_Ch6 + channel 8, Cry_0d_Ch8 + +Cry_0e: + channel_count 3 + channel 5, Cry_0e_Ch5 + channel 6, Cry_0e_Ch6 + channel 8, Cry_0e_Ch8 + +Cry_0f: + channel_count 3 + channel 5, Cry_0f_Ch5 + channel 6, Cry_0f_Ch6 + channel 8, Cry_0f_Ch8 + +Cry_10: + channel_count 3 + channel 5, Cry_10_Ch5 + channel 6, Cry_10_Ch6 + channel 8, Cry_10_Ch8 + +Cry_11: + channel_count 3 + channel 5, Cry_11_Ch5 + channel 6, Cry_11_Ch6 + channel 8, Cry_11_Ch8 + +Cry_12: + channel_count 3 + channel 5, Cry_12_Ch5 + channel 6, Cry_12_Ch6 + channel 8, Cry_12_Ch8 + +Cry_13: + channel_count 3 + channel 5, Cry_13_Ch5 + channel 6, Cry_13_Ch6 + channel 8, Cry_13_Ch8 + +Cry_14: + channel_count 3 + channel 5, Cry_14_Ch5 + channel 6, Cry_14_Ch6 + channel 8, Cry_14_Ch8 + +Cry_15: + channel_count 3 + channel 5, Cry_15_Ch5 + channel 6, Cry_15_Ch6 + channel 8, Cry_15_Ch8 + +Cry_16: + channel_count 3 + channel 5, Cry_16_Ch5 + channel 6, Cry_16_Ch6 + channel 8, Cry_16_Ch8 + +Cry_17: + channel_count 3 + channel 5, Cry_17_Ch5 + channel 6, Cry_17_Ch6 + channel 8, Cry_17_Ch8 + +Cry_18: + channel_count 3 + channel 5, Cry_18_Ch5 + channel 6, Cry_18_Ch6 + channel 8, Cry_18_Ch8 + +Cry_19: + channel_count 3 + channel 5, Cry_19_Ch5 + channel 6, Cry_19_Ch6 + channel 8, Cry_19_Ch8 + +Cry_1a: + channel_count 3 + channel 5, Cry_1a_Ch5 + channel 6, Cry_1a_Ch6 + channel 8, Cry_1a_Ch8 + +Cry_1b: + channel_count 3 + channel 5, Cry_1b_Ch5 + channel 6, Cry_1b_Ch6 + channel 8, Cry_1b_Ch8 + +Cry_1c: + channel_count 3 + channel 5, Cry_1c_Ch5 + channel 6, Cry_1c_Ch6 + channel 8, Cry_1c_Ch8 + +Cry_1d: + channel_count 3 + channel 5, Cry_1d_Ch5 + channel 6, Cry_1d_Ch6 + channel 8, Cry_1d_Ch8 + +Cry_1e: + channel_count 3 + channel 5, Cry_1e_Ch5 + channel 6, Cry_1e_Ch6 + channel 8, Cry_1e_Ch8 + +Cry_1f: + channel_count 3 + channel 5, Cry_1f_Ch5 + channel 6, Cry_1f_Ch6 + channel 8, Cry_1f_Ch8 + +Cry_20: + channel_count 3 + channel 5, Cry_20_Ch5 + channel 6, Cry_20_Ch6 + channel 8, Cry_20_Ch8 + +Cry_21: + channel_count 3 + channel 5, Cry_21_Ch5 + channel 6, Cry_21_Ch6 + channel 8, Cry_21_Ch8 + +Cry_22: + channel_count 3 + channel 5, Cry_22_Ch5 + channel 6, Cry_22_Ch6 + channel 8, Cry_22_Ch8 + +Cry_23: + channel_count 3 + channel 5, Cry_23_Ch5 + channel 6, Cry_23_Ch6 + channel 8, Cry_23_Ch8 + +Cry_24: + channel_count 3 + channel 5, Cry_24_Ch5 + channel 6, Cry_24_Ch6 + channel 8, Cry_24_Ch8 + +Cry_25: + channel_count 3 + channel 5, Cry_25_Ch5 + channel 6, Cry_25_Ch6 + channel 8, Cry_25_Ch8 + +Cry_Unreferenced_Ch5: ; unreferenced + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 14, 0, 1920 + square_note 15, 15, 0, 1924 + square_note 15, 12, 3, 1504 + square_note 15, 12, 4, 1536 + square_note 10, 6, -4, 1920 + square_note 8, 7, 1, 1924 + sound_ret + +Cry_Unreferenced_Ch6: ; unreferenced + duty_cycle_pattern 0, 0, 1, 1 + square_note 15, 10, 0, 1857 + square_note 15, 11, 0, 1859 + square_note 15, 9, 3, 1457 + square_note 15, 9, 4, 1473 + square_note 10, 4, -4, 1857 + square_note 8, 3, 1, 1862 + sound_ret + +Cry_Unreferenced_Ch8: ; unreferenced + noise_note 2, 15, 2, 76 + noise_note 6, 14, 0, 58 + noise_note 15, 13, 0, 58 + noise_note 8, 13, 0, 44 + noise_note 6, 14, 6, 76 + noise_note 12, 7, -5, 76 + noise_note 15, 13, 3, 76 + sound_ret + +Cry_09_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 15, 7, 1952 + square_note 6, 14, 6, 1955 + square_note 10, 15, 4, 1952 + duty_cycle_pattern 2, 2, 1, 1 + square_note 10, 15, 6, 2008 + square_note 4, 14, 3, 2007 + square_note 15, 15, 2, 2008 + sound_ret + +Cry_09_Ch6: + duty_cycle_pattern 0, 0, 1, 1 + square_note 2, 0, 8, 0 + square_note 15, 10, 7, 1697 + square_note 6, 8, 6, 1698 + square_note 10, 7, 4, 1697 + duty_cycle_pattern 1, 1, 3, 3 + square_note 10, 7, 6, 1750 + square_note 4, 8, 3, 1753 + square_note 15, 10, 2, 1751 + sound_ret + +Cry_09_Ch8: + noise_note 2, 15, 2, 60 + noise_note 8, 14, 4, 62 + noise_note 15, 13, 7, 60 + noise_note 6, 12, 5, 59 + noise_note 6, 14, 4, 61 + noise_note 8, 11, 6, 60 + noise_note 6, 13, 4, 61 + noise_note 8, 12, 1, 59 + sound_ret + +Cry_23_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 15, 7, 1984 + square_note 6, 14, 4, 1985 + square_note 10, 15, 6, 1984 + square_note 4, 13, 3, 1986 + square_note 8, 12, 1, 1984 + sound_ret + +Cry_23_Ch6: + duty_cycle_pattern 1, 1, 3, 3 + square_note 15, 9, 7, 1921 + square_note 6, 8, 4, 1920 + square_note 10, 9, 6, 1921 + square_note 15, 8, 3, 1921 + sound_ret + +Cry_23_Ch8: + noise_note 3, 15, 2, 60 + noise_note 13, 14, 6, 44 + noise_note 15, 13, 7, 60 + noise_note 8, 12, 1, 44 + sound_ret + +Cry_24_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 15, 7, 1664 + square_note 10, 14, 6, 1668 + square_note 15, 13, 7, 1680 + square_note 8, 13, 5, 1680 + square_note 6, 12, 4, 1672 + square_note 5, 13, 3, 1648 + square_note 4, 13, 3, 1632 + square_note 8, 12, 1, 1600 + sound_ret + +Cry_24_Ch6: + duty_cycle_pattern 0, 0, 1, 1 + square_note 15, 11, 7, 1601 + square_note 10, 9, 6, 1602 + square_note 15, 10, 7, 1617 + square_note 8, 10, 5, 1617 + square_note 6, 9, 4, 1607 + square_note 5, 10, 3, 1585 + square_note 4, 9, 3, 1570 + square_note 8, 7, 1, 1537 + sound_ret + +Cry_24_Ch8: + noise_note 15, 14, 4, 60 + noise_note 10, 12, 7, 76 + noise_note 10, 12, 7, 60 + noise_note 12, 11, 7, 76 + noise_note 15, 10, 2, 92 + sound_ret + +Cry_11_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 6, 15, 7, 1952 + square_note 8, 14, 6, 1956 + square_note 4, 13, 6, 1952 + square_note 15, 13, 3, 1824 + square_note 8, 12, 3, 1827 + square_note 2, 12, 2, 1832 + square_note 8, 11, 1, 1840 + sound_ret + +Cry_11_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 4, 0, 8, 0 + square_note 6, 10, 7, 1857 + square_note 8, 8, 6, 1859 + square_note 4, 7, 6, 1857 + square_note 13, 8, 3, 1730 + square_note 7, 7, 3, 1729 + square_note 3, 8, 2, 1740 + square_note 8, 7, 1, 1752 + sound_ret + +Cry_11_Ch8: + noise_note 2, 15, 2, 76 + noise_note 6, 14, 6, 58 + noise_note 4, 13, 7, 58 + noise_note 6, 13, 6, 44 + noise_note 8, 14, 5, 60 + noise_note 12, 13, 2, 61 + noise_note 8, 13, 1, 44 + sound_ret + +Cry_25_Ch5: + duty_cycle_pattern 2, 2, 1, 1 + square_note 6, 15, 4, 1856 + square_note 15, 14, 3, 1840 + square_note 4, 15, 4, 1856 + square_note 5, 11, 3, 1864 + square_note 8, 13, 1, 1872 + sound_ret + +Cry_25_Ch6: + duty_cycle_pattern 1, 3, 1, 3 + square_note 6, 12, 3, 1810 + square_note 15, 11, 3, 1796 + square_note 3, 12, 3, 1810 + square_note 4, 12, 3, 1825 + square_note 8, 11, 1, 1842 + sound_ret + +Cry_25_Ch8: + noise_note 8, 13, 6, 44 + noise_note 12, 12, 6, 60 + noise_note 10, 11, 6, 44 + noise_note 8, 9, 1, 28 + sound_ret + +Cry_03_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 4, 15, 7, 1544 + square_note 6, 14, 6, 1536 + square_note 6, 13, 7, 1520 + square_note 6, 12, 4, 1504 + square_note 5, 13, 3, 1472 + square_note 4, 13, 3, 1440 + square_note 8, 14, 1, 1408 + sound_ret + +Cry_03_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 4, 12, 7, 1284 + square_note 6, 10, 6, 1282 + square_note 6, 9, 7, 1265 + square_note 4, 11, 4, 1249 + square_note 5, 10, 3, 1218 + square_note 4, 11, 3, 1187 + square_note 8, 12, 1, 1154 + sound_ret + +Cry_03_Ch8: + noise_note 12, 14, 4, 76 + noise_note 10, 12, 7, 92 + noise_note 12, 11, 6, 76 + noise_note 15, 10, 2, 92 + sound_ret + +Cry_0f_Ch5: + duty_cycle_pattern 3, 3, 0, 1 + square_note 4, 15, 7, 1984 + square_note 12, 14, 6, 1986 + square_note 6, 11, 5, 1664 + square_note 4, 12, 4, 1648 + square_note 4, 11, 5, 1632 + square_note 8, 12, 1, 1600 + sound_ret + +Cry_0f_Ch6: + duty_cycle_pattern 3, 0, 3, 0 + square_note 3, 12, 7, 1921 + square_note 12, 11, 6, 1920 + square_note 6, 10, 5, 1601 + square_note 4, 12, 4, 1586 + square_note 6, 11, 5, 1569 + square_note 8, 10, 1, 1538 + sound_ret + +Cry_0f_Ch8: + noise_note 3, 14, 4, 60 + noise_note 12, 13, 6, 44 + noise_note 4, 14, 4, 60 + noise_note 8, 11, 7, 92 + noise_note 15, 12, 2, 93 + sound_ret + +Cry_10_Ch5: + duty_cycle_pattern 3, 0, 2, 1 + square_note 8, 15, 7, 1664 + square_note 2, 15, 7, 1632 + square_note 1, 14, 7, 1600 + square_note 1, 14, 7, 1568 + square_note 15, 13, 1, 1536 + square_note 4, 12, 7, 1856 + square_note 4, 10, 7, 1840 + square_note 15, 9, 1, 1824 + sound_ret + +Cry_10_Ch6: + duty_cycle_pattern 1, 3, 2, 1 + square_note 10, 14, 7, 1666 + square_note 2, 14, 7, 1634 + square_note 1, 13, 7, 1602 + square_note 1, 13, 7, 1570 + square_note 15, 12, 1, 1538 + square_note 4, 11, 7, 1858 + square_note 2, 9, 7, 1842 + square_note 15, 8, 1, 1826 + sound_ret + +Cry_10_Ch8: + noise_note 4, 7, 4, 33 + noise_note 4, 7, 4, 16 + noise_note 4, 7, 1, 32 + sound_ret + +Cry_00_Ch5: + duty_cycle_pattern 3, 3, 1, 1 + square_note 4, 15, 3, 1816 + square_note 15, 14, 5, 1944 + square_note 8, 9, 1, 1880 + sound_ret + +Cry_00_Ch6: + duty_cycle_pattern 2, 2, 0, 0 + square_note 5, 11, 3, 1800 + square_note 15, 12, 5, 1928 + square_note 8, 7, 1, 1864 + sound_ret + +Cry_00_Ch8: + noise_note 3, 10, 1, 28 + noise_note 14, 9, 4, 44 + noise_note 8, 8, 1, 28 + sound_ret + +Cry_0e_Ch5: + duty_cycle_pattern 2, 2, 1, 1 + square_note 4, 14, 1, 1792 + square_note 4, 15, 2, 1920 + square_note 2, 9, 2, 1856 + square_note 8, 14, 1, 1536 + sound_ret + +Cry_0e_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 4, 11, 1, 1761 + square_note 3, 12, 2, 1761 + square_note 3, 6, 2, 1665 + square_note 8, 11, 1, 1505 + sound_ret + +Cry_0e_Ch8: + noise_note 2, 6, 1, 50 + noise_note 2, 6, 1, 33 + noise_note 8, 6, 1, 17 + sound_ret + +Cry_06_Ch5: + duty_cycle_pattern 3, 3, 2, 2 + square_note 6, 8, 3, 583 + square_note 15, 6, 2, 550 + square_note 4, 5, 2, 581 + square_note 9, 6, 3, 518 + square_note 15, 8, 2, 549 + square_note 15, 4, 2, 519 + +Cry_06_Ch6: + sound_ret + +Cry_06_Ch8: + noise_note 8, 13, 4, 140 + noise_note 4, 14, 2, 156 + noise_note 15, 12, 6, 140 + noise_note 8, 14, 4, 172 + noise_note 15, 13, 7, 156 + noise_note 15, 15, 2, 172 + sound_ret + +Cry_07_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 4, 15, 3, 1760 + square_note 15, 14, 4, 1600 + square_note 8, 12, 1, 1568 + sound_ret + +Cry_07_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 3, 12, 3, 1667 + square_note 14, 11, 4, 1538 + square_note 8, 10, 1, 1537 + sound_ret + +Cry_07_Ch8: + noise_note 4, 13, 3, 92 + noise_note 15, 14, 6, 76 + noise_note 8, 11, 1, 92 + sound_ret + +Cry_05_Ch5: + duty_cycle_pattern 0, 0, 2, 2 + square_note 6, 14, 2, 1280 + square_note 6, 14, 3, 1408 + square_note 6, 13, 3, 1392 + square_note 8, 10, 1, 1376 + sound_ret + +Cry_05_Ch6: + duty_cycle_pattern 3, 3, 1, 1 + square_note 6, 14, 2, 1154 + square_note 6, 13, 3, 1281 + square_note 6, 11, 2, 1250 + square_note 8, 8, 1, 1217 + +Cry_05_Ch8: + sound_ret + +Cry_0b_Ch5: + duty_cycle_pattern 3, 0, 3, 0 + square_note 4, 15, 1, 1792 + square_note 4, 14, 1, 1920 + square_note 4, 13, 1, 1856 + square_note 4, 14, 1, 1856 + square_note 4, 15, 1, 1920 + square_note 4, 13, 1, 1792 + square_note 4, 15, 1, 1793 + square_note 4, 13, 1, 1922 + square_note 4, 12, 1, 1858 + square_note 8, 11, 1, 1857 + sound_ret + +Cry_0b_Ch6: + duty_cycle_pattern 1, 0, 1, 0 + square_note 12, 0, 8, 0 + square_note 4, 15, 1, 1793 + square_note 4, 14, 1, 1922 + square_note 4, 13, 1, 1857 + square_note 4, 14, 1, 1857 + square_note 4, 15, 1, 1922 + square_note 8, 13, 1, 1793 + sound_ret + +Cry_0b_Ch8: + noise_note 15, 0, 8, 0 + noise_note 4, 0, 8, 0 + noise_note 4, 13, 1, 76 + noise_note 4, 11, 1, 44 + noise_note 4, 13, 1, 60 + noise_note 4, 11, 1, 60 + noise_note 4, 12, 1, 44 + noise_note 8, 10, 1, 76 + sound_ret + +Cry_0c_Ch5: + duty_cycle_pattern 3, 0, 3, 0 + square_note 8, 15, 5, 1536 + square_note 2, 13, 2, 1592 + square_note 2, 12, 2, 1584 + square_note 2, 12, 2, 1576 + square_note 2, 11, 2, 1568 + square_note 2, 11, 2, 1552 + square_note 2, 10, 2, 1560 + square_note 2, 11, 2, 1552 + square_note 8, 12, 1, 1568 + sound_ret + +Cry_0c_Ch6: + duty_cycle_pattern 1, 0, 1, 0 + square_note 12, 12, 3, 1472 + square_note 3, 11, 1, 1529 + square_note 2, 10, 1, 1521 + square_note 2, 10, 1, 1513 + square_note 2, 9, 1, 1505 + square_note 2, 9, 1, 1497 + square_note 2, 8, 1, 1489 + square_note 2, 9, 1, 1497 + square_note 8, 9, 1, 1505 + +Cry_0c_Ch8: + sound_ret + +Cry_02_Ch5: + duty_cycle_pattern 0, 0, 0, 0 + square_note 8, 15, 5, 1152 + square_note 2, 14, 1, 1504 + square_note 8, 13, 1, 1500 + sound_ret + +Cry_02_Ch6: + duty_cycle_pattern 2, 2, 1, 1 + square_note 7, 9, 5, 1089 + square_note 2, 8, 1, 1313 + square_note 8, 6, 1, 1306 + +Cry_02_Ch8: + sound_ret + +Cry_0d_Ch5: +.loop + duty_cycle_pattern 2, 0, 2, 0 + square_note 5, 15, 2, 1616 + square_note 9, 13, 1, 1632 + square_note 5, 14, 2, 1554 + square_note 9, 12, 1, 1570 + square_note 5, 15, 2, 1552 + square_note 6, 13, 1, 1568 + sound_loop 2, .loop + sound_ret + +Cry_0d_Ch6: + duty_cycle_pattern 1, 0, 0, 0 + square_note 4, 0, 8, 0 + square_note 5, 15, 2, 1617 + square_note 9, 13, 1, 1633 + square_note 5, 14, 2, 1556 + square_note 8, 12, 1, 1572 + square_note 5, 15, 2, 1553 + square_note 12, 13, 1, 1569 + square_note 5, 14, 2, 1556 + square_note 8, 12, 1, 1572 + square_note 5, 15, 2, 1553 + square_note 4, 13, 1, 1569 + sound_ret + +Cry_0d_Ch8: + noise_note 6, 13, 2, 28 + noise_note 9, 11, 1, 44 + noise_note 8, 12, 2, 44 + noise_note 9, 11, 1, 60 + noise_note 6, 12, 2, 44 + noise_note 9, 10, 2, 60 + noise_note 7, 12, 2, 44 + noise_note 5, 10, 1, 60 + noise_note 9, 12, 2, 44 + noise_note 4, 10, 1, 60 + sound_ret + +Cry_01_Ch5: + duty_cycle_pattern 2, 2, 0, 0 + square_note 4, 15, 3, 1536 + square_note 8, 13, 5, 1888 + square_note 3, 14, 2, 1824 + square_note 8, 13, 1, 1808 + sound_ret + +Cry_01_Ch6: + duty_cycle_pattern 1, 1, 2, 2 + square_note 5, 11, 3, 1777 + square_note 7, 12, 5, 1874 + square_note 3, 10, 2, 1809 + square_note 8, 11, 1, 1537 + sound_ret + +Cry_01_Ch8: + noise_note 3, 10, 2, 60 + noise_note 12, 9, 4, 44 + noise_note 3, 8, 2, 28 + noise_note 8, 7, 1, 44 + sound_ret + +Cry_0a_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 8, 15, 7, 1760 + square_note 6, 14, 6, 1765 + square_note 3, 15, 4, 1760 + square_note 3, 15, 6, 1744 + square_note 3, 14, 3, 1728 + square_note 4, 15, 2, 1712 + square_note 15, 10, 2, 1736 + sound_ret + +Cry_0a_Ch6: + duty_cycle_pattern 0, 0, 1, 1 + square_note 3, 0, 8, 0 + square_note 8, 10, 7, 1697 + square_note 6, 8, 6, 1699 + square_note 3, 7, 4, 1697 + square_note 3, 7, 6, 1681 + square_note 3, 8, 3, 1666 + square_note 4, 10, 2, 1649 + square_note 15, 7, 2, 1673 + sound_ret + +Cry_0a_Ch8: + noise_note 2, 15, 2, 60 + noise_note 8, 14, 4, 62 + noise_note 8, 13, 7, 60 + noise_note 5, 12, 5, 59 + noise_note 3, 13, 4, 44 + noise_note 2, 11, 6, 60 + noise_note 3, 10, 4, 44 + noise_note 8, 9, 1, 60 + sound_ret + +Cry_08_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 15, 6, 1381 + square_note 10, 14, 4, 1404 + square_note 3, 12, 2, 1372 + square_note 15, 11, 2, 1340 + sound_ret + +Cry_08_Ch6: + duty_cycle_pattern 1, 1, 2, 2 + square_note 14, 13, 6, 1283 + square_note 9, 11, 4, 1307 + square_note 4, 9, 2, 1274 + square_note 15, 10, 2, 1243 + sound_ret + +Cry_08_Ch8: + noise_note 12, 14, 6, 76 + noise_note 11, 13, 7, 92 + noise_note 15, 12, 2, 76 + sound_ret + +Cry_04_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 4, 15, 7, 1696 + square_note 8, 14, 6, 1700 + square_note 4, 13, 6, 1696 + square_note 12, 13, 3, 1568 + square_note 8, 12, 3, 1572 + square_note 4, 12, 2, 1568 + square_note 8, 11, 1, 1552 + sound_ret + +Cry_04_Ch6: + duty_cycle_pattern 1, 1, 2, 2 + square_note 4, 14, 7, 1537 + square_note 8, 13, 6, 1539 + square_note 4, 12, 6, 1537 + square_note 12, 12, 3, 1409 + square_note 8, 11, 3, 1411 + square_note 4, 11, 2, 1410 + square_note 8, 10, 1, 1393 + sound_ret + +Cry_04_Ch8: + noise_note 7, 13, 6, 92 + noise_note 8, 14, 6, 76 + noise_note 4, 13, 4, 92 + noise_note 4, 13, 4, 76 + noise_note 7, 12, 3, 76 + noise_note 8, 10, 1, 92 + sound_ret + +Cry_19_Ch5: + duty_cycle_pattern 0, 1, 2, 3 + square_note 7, 13, 2, 1856 + square_note 15, 14, 5, 1888 + square_note 24, 12, 1, 1840 + sound_ret + +Cry_19_Ch6: + duty_cycle_pattern 2, 0, 0, 1 + square_note 2, 12, 2, 1793 + square_note 4, 12, 2, 1800 + square_note 15, 13, 7, 1857 + square_note 24, 10, 2, 1793 + +Cry_19_Ch8: + sound_ret + +Cry_16_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 15, 13, 7, 1920 + square_note 4, 14, 6, 1952 + square_note 15, 13, 2, 1856 + sound_ret + +Cry_16_Ch6: + duty_cycle_pattern 1, 1, 2, 2 + square_note 15, 12, 7, 1875 + square_note 5, 11, 6, 1906 + square_note 15, 12, 2, 1809 + sound_ret + +Cry_16_Ch8: + noise_note 13, 15, 6, 76 + noise_note 4, 14, 6, 60 + noise_note 15, 15, 2, 76 + sound_ret + +Cry_1b_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 6, 15, 7, 1728 + square_note 15, 14, 7, 1792 + square_note 4, 15, 4, 1776 + square_note 4, 14, 4, 1760 + square_note 8, 13, 1, 1744 + sound_ret + +Cry_1b_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 7, 14, 6, 1665 + square_note 14, 13, 5, 1729 + square_note 4, 12, 4, 1713 + square_note 4, 13, 4, 1697 + square_note 8, 12, 1, 1681 + sound_ret + +Cry_1b_Ch8: + noise_note 10, 10, 6, 60 + noise_note 14, 9, 4, 44 + noise_note 5, 10, 3, 60 + noise_note 8, 9, 1, 44 + sound_ret + +Cry_12_Ch5: + duty_cycle_pattern 2, 2, 1, 1 + square_note 12, 15, 2, 1088 + square_note 15, 14, 3, 1184 + square_note 4, 13, 2, 1168 + square_note 8, 13, 1, 1152 + sound_ret + +Cry_12_Ch6: + duty_cycle_pattern 3, 2, 3, 2 + square_note 11, 13, 2, 1080 + square_note 14, 12, 6, 1176 + square_note 3, 11, 2, 1160 + square_note 8, 11, 1, 1144 + sound_ret + +Cry_12_Ch8: + noise_note 10, 14, 6, 108 + noise_note 15, 13, 2, 92 + noise_note 3, 12, 2, 108 + noise_note 8, 13, 1, 92 + sound_ret + +Cry_13_Ch5: + duty_cycle_pattern 0, 3, 0, 3 + square_note 15, 15, 6, 1472 + square_note 8, 14, 3, 1468 + square_note 6, 13, 2, 1488 + square_note 6, 11, 2, 1504 + square_note 6, 12, 2, 1520 + square_note 8, 11, 1, 1536 + sound_ret + +Cry_13_Ch6: + duty_cycle_pattern 2, 1, 2, 1 + square_note 14, 12, 6, 1201 + square_note 7, 12, 3, 1197 + square_note 5, 11, 2, 1217 + square_note 8, 9, 2, 1233 + square_note 6, 10, 2, 1249 + square_note 8, 9, 1, 1265 + sound_ret + +Cry_13_Ch8: + noise_note 10, 14, 6, 92 + noise_note 10, 13, 6, 108 + noise_note 4, 12, 2, 76 + noise_note 6, 13, 3, 92 + noise_note 8, 11, 3, 76 + noise_note 8, 10, 1, 92 + sound_ret + +Cry_14_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 8, 14, 4, 1936 + square_note 15, 15, 5, 1984 + square_note 8, 13, 1, 2008 + sound_ret + +Cry_14_Ch6: + duty_cycle_pattern 2, 2, 1, 1 + square_note 10, 12, 4, 1905 + square_note 15, 11, 6, 1954 + square_note 8, 10, 1, 1975 + sound_ret + +Cry_14_Ch8: + noise_note 8, 14, 4, 76 + noise_note 14, 12, 4, 60 + noise_note 8, 13, 1, 44 + sound_ret + +Cry_1e_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 6, 15, 2, 1536 + square_note 6, 14, 2, 1600 + square_note 6, 13, 2, 1664 + square_note 6, 14, 2, 1728 + square_note 6, 13, 2, 1792 + square_note 6, 12, 2, 1856 + square_note 6, 11, 2, 1920 + square_note 8, 10, 1, 1984 + sound_ret + +Cry_1e_Ch6: + duty_cycle_pattern 0, 1, 0, 1 + square_note 3, 0, 8, 1 + square_note 6, 12, 2, 1473 + square_note 6, 11, 2, 1538 + square_note 6, 10, 2, 1601 + square_note 6, 11, 2, 1666 + square_note 6, 10, 2, 1730 + square_note 6, 9, 2, 1793 + square_note 6, 10, 2, 1858 + square_note 8, 8, 1, 1921 + sound_ret + +Cry_1e_Ch8: + noise_note 6, 0, 8, 1 + noise_note 5, 14, 2, 92 + noise_note 5, 12, 2, 76 + noise_note 5, 13, 2, 60 + noise_note 5, 11, 2, 44 + noise_note 5, 12, 2, 28 + noise_note 5, 10, 2, 27 + noise_note 5, 9, 2, 26 + noise_note 8, 8, 1, 24 + sound_ret + +Cry_15_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 4, 15, 3, 1920 + square_note 15, 14, 7, 1792 + square_note 8, 13, 3, 1808 + square_note 4, 12, 2, 1792 + square_note 4, 13, 2, 1776 + square_note 8, 12, 1, 1760 + sound_ret + +Cry_15_Ch6: + duty_cycle_pattern 1, 1, 2, 2 + square_note 6, 12, 3, 1793 + square_note 14, 11, 7, 1665 + square_note 7, 11, 3, 1682 + square_note 3, 10, 2, 1665 + square_note 4, 11, 2, 1650 + square_note 8, 10, 1, 1633 + sound_ret + +Cry_15_Ch8: + noise_note 6, 14, 3, 92 + noise_note 14, 13, 6, 76 + noise_note 6, 12, 6, 60 + noise_note 3, 11, 3, 76 + noise_note 3, 10, 2, 92 + noise_note 8, 11, 1, 108 + sound_ret + +Cry_17_Ch5: + duty_cycle_pattern 0, 0, 3, 3 + square_note 15, 15, 7, 1280 + square_note 15, 14, 7, 1288 + square_note 8, 11, 4, 1152 + square_note 15, 10, 2, 1120 + sound_ret + +Cry_17_Ch6: + duty_cycle_pattern 1, 0, 1, 0 + square_note 14, 13, 7, 1153 + square_note 14, 12, 7, 1161 + square_note 10, 11, 4, 1025 + square_note 15, 12, 2, 993 + sound_ret + +Cry_17_Ch8: + noise_note 14, 15, 7, 124 + noise_note 12, 15, 6, 108 + noise_note 9, 14, 4, 124 + noise_note 15, 14, 2, 108 + sound_ret + +Cry_1c_Ch5: + duty_cycle_pattern 3, 3, 1, 1 + square_note 7, 13, 6, 2017 + square_note 6, 12, 6, 2018 + square_note 9, 13, 6, 2017 + square_note 7, 12, 6, 2016 + square_note 5, 11, 6, 2018 + square_note 7, 12, 6, 2017 + square_note 6, 11, 6, 2016 + square_note 8, 10, 1, 2015 + sound_ret + +Cry_1c_Ch6: + duty_cycle_pattern 1, 0, 1, 0 + square_note 6, 12, 3, 1993 + square_note 6, 11, 3, 1991 + square_note 10, 12, 4, 1987 + square_note 8, 11, 4, 1991 + square_note 6, 12, 3, 1993 + square_note 15, 10, 2, 1989 + sound_ret + +Cry_1c_Ch8: + noise_note 13, 1, -1, 124 + noise_note 13, 15, 7, 140 + noise_note 12, 13, 6, 124 + noise_note 8, 12, 4, 108 + noise_note 15, 11, 3, 92 + sound_ret + +Cry_1a_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 6, 15, 7, 1856 + square_note 12, 14, 6, 1860 + square_note 6, 13, 5, 1872 + square_note 4, 12, 3, 1888 + square_note 3, 12, 3, 1920 + square_note 8, 13, 1, 1952 + sound_ret + +Cry_1a_Ch6: + duty_cycle_pattern 0, 0, 2, 2 + square_note 6, 12, 7, 1793 + square_note 11, 11, 6, 1794 + square_note 6, 10, 5, 1809 + square_note 4, 9, 3, 1825 + square_note 3, 10, 3, 1857 + square_note 8, 9, 1, 1890 + sound_ret + +Cry_1a_Ch8: + noise_note 3, 14, 2, 60 + noise_note 8, 13, 6, 76 + noise_note 5, 13, 4, 60 + noise_note 12, 12, 7, 76 + noise_note 2, 14, 2, 60 + noise_note 8, 13, 1, 44 + sound_ret + +Cry_1d_Ch5: + duty_cycle_pattern 3, 3, 1, 0 + square_note 15, 15, 0, 1797 + square_note 10, 14, 0, 1792 + square_note 6, 11, 4, 1808 + square_note 4, 13, 3, 1792 + square_note 6, 11, 2, 1568 + square_note 8, 10, 1, 1572 + sound_ret + +Cry_1d_Ch6: + duty_cycle_pattern 0, 2, 0, 2 + square_note 15, 11, 0, 1731 + square_note 10, 10, 0, 1729 + square_note 6, 8, 4, 1746 + square_note 4, 9, 3, 1729 + square_note 6, 8, 2, 1505 + square_note 8, 6, 1, 1512 + sound_ret + +Cry_1d_Ch8: + noise_note 6, 14, 6, 76 + noise_note 15, 13, 6, 60 + noise_note 10, 12, 5, 74 + noise_note 1, 11, 2, 91 + noise_note 15, 12, 2, 76 + sound_ret + +Cry_18_Ch5: + duty_cycle_pattern 1, 1, 0, 0 + square_note 10, 15, 5, 1664 + square_note 3, 14, 2, 1696 + square_note 3, 15, 2, 1728 + square_note 3, 14, 2, 1760 + square_note 3, 13, 2, 1792 + square_note 3, 12, 2, 1760 + square_note 3, 13, 2, 1728 + square_note 8, 12, 1, 1696 + sound_ret + +Cry_18_Ch6: + duty_cycle_pattern 0, 0, 3, 3 + square_note 9, 13, 5, 1585 + square_note 3, 13, 2, 1618 + square_note 3, 14, 2, 1649 + square_note 3, 11, 2, 1681 + square_note 3, 12, 2, 1714 + square_note 3, 11, 2, 1681 + square_note 3, 12, 2, 1649 + square_note 8, 11, 1, 1617 + sound_ret + +Cry_18_Ch8: + noise_note 6, 14, 3, 76 + noise_note 4, 12, 3, 60 + noise_note 5, 13, 4, 60 + noise_note 4, 12, 4, 44 + noise_note 6, 11, 4, 60 + noise_note 8, 12, 1, 44 + sound_ret + +Cry_1f_Ch5: + duty_cycle_pattern 2, 2, 1, 1 + square_note 3, 15, 4, 1601 + square_note 13, 13, 6, 1825 + square_note 8, 15, 4, 1817 + square_note 8, 12, 1, 1818 + sound_ret + +Cry_1f_Ch6: + duty_cycle_pattern 3, 0, 3, 0 + square_note 4, 15, 4, 1408 + square_note 14, 14, 6, 1760 + square_note 8, 13, 5, 1752 + square_note 8, 13, 1, 1756 + sound_ret + +Cry_1f_Ch8: + noise_note 5, 12, 4, 70 + noise_note 13, 10, 5, 68 + noise_note 8, 12, 4, 69 + noise_note 8, 11, 1, 68 + sound_ret + +Cry_20_Ch5: + duty_cycle_pattern 3, 3, 0, 0 + square_note 13, 15, 1, 1297 + square_note 13, 14, 1, 1301 + square_note 13, 14, 1, 1297 + square_note 8, 13, 1, 1297 + sound_ret + +Cry_20_Ch6: + duty_cycle_pattern 0, 1, 1, 1 + square_note 12, 14, 1, 1292 + square_note 12, 13, 1, 1296 + square_note 14, 12, 1, 1292 + square_note 8, 12, 1, 1290 + sound_ret + +Cry_20_Ch8: + noise_note 14, 15, 2, 101 + noise_note 13, 14, 2, 85 + noise_note 14, 13, 2, 86 + noise_note 8, 13, 1, 102 + sound_ret + +Cry_21_Ch5: + duty_cycle_pattern 0, 1, 2, 3 + square_note 3, 15, 3, 1380 + square_note 2, 14, 2, 1348 + square_note 5, 13, 1, 1314 + square_note 2, 11, 2, 1156 + square_note 8, 13, 1, 1186 + square_note 3, 15, 3, 1316 + square_note 4, 14, 4, 1252 + square_note 8, 13, 1, 1282 + sound_ret + +Cry_21_Ch6: + duty_cycle_pattern 3, 0, 3, 0 + square_note 3, 13, 3, 1376 + square_note 2, 12, 2, 1344 + square_note 5, 12, 1, 1312 + square_note 2, 9, 2, 1152 + square_note 8, 12, 1, 1184 + square_note 3, 13, 3, 1312 + square_note 3, 12, 4, 1248 + square_note 8, 12, 1, 1280 + +Cry_21_Ch8: + sound_ret + +Cry_22_Ch5: + duty_cycle_pattern 0, 1, 0, 1 + square_note 2, 3, -5, 897 + square_note 7, 15, 5, 1537 + square_note 1, 12, 2, 1153 + square_note 8, 9, 1, 897 + sound_ret + +Cry_22_Ch6: + duty_cycle_pattern 3, 2, 3, 2 + square_note 2, 3, -6, 1456 + square_note 7, 13, 5, 1885 + square_note 1, 11, 2, 1712 + square_note 8, 6, 1, 1456 + sound_ret + +Cry_22_Ch8: + noise_note 2, 9, 2, 73 + noise_note 7, 11, 5, 41 + noise_note 1, 10, 2, 57 + noise_note 8, 9, 1, 73 + sound_ret + diff --git a/audio/cry_pointers.asm b/audio/cry_pointers.asm new file mode 100644 index 0000000..68e0061 --- /dev/null +++ b/audio/cry_pointers.asm @@ -0,0 +1,43 @@ +INCLUDE "constants.asm" + +SECTION "audio/cry_pointers.asm", ROMX +Cries:: + dba Cry_00 + dba Cry_01 + dba Cry_02 + dba Cry_03 + dba Cry_04 + dba Cry_05 + dba Cry_06 + dba Cry_07 + dba Cry_08 + dba Cry_09 + dba Cry_0a + dba Cry_0b + dba Cry_0c + dba Cry_0d + dba Cry_0e + dba Cry_0f + dba Cry_10 + dba Cry_11 + dba Cry_12 + dba Cry_13 + dba Cry_14 + dba Cry_15 + dba Cry_16 + dba Cry_17 + dba Cry_18 + dba Cry_19 + dba Cry_1a + dba Cry_1b + dba Cry_1c + dba Cry_1d + dba Cry_1e + dba Cry_1f + dba Cry_20 + dba Cry_21 + dba Cry_22 + dba Cry_23 + dba Cry_24 + dba Cry_25 + diff --git a/audio/engine.asm b/audio/engine.asm index f722621..565facb 100644 --- a/audio/engine.asm +++ b/audio/engine.asm @@ -2563,7 +2563,7 @@ _PlayCryHeader:: inc hl ld [hl], d - ld hl, CryHeaderPointers + ld hl, Cries add hl, de add hl, de add hl, de @@ -2658,7 +2658,7 @@ _PlaySFX:: ld [hl], e inc hl ld [hl], d - ld hl, SFXPointers + ld hl, SFX ; three byte pointers add hl, de add hl, de @@ -2696,7 +2696,7 @@ _PlaySFX:: inc hl ld [hl], d - ld hl, SFXPointers + ld hl, SFX add hl, de add hl, de add hl, de @@ -2775,7 +2775,7 @@ _PlaySFX:: ld [hl], e inc hl ld [hl], d - ld hl, SFXPointers + ld hl, SFX add hl, de add hl, de add hl, de diff --git a/audio/sfx.asm b/audio/sfx.asm index edf038c..cd226c1 100644 --- a/audio/sfx.asm +++ b/audio/sfx.asm @@ -1,113 +1,2227 @@ INCLUDE "constants.asm" -SECTION "audio/sfx.asm@SFX Pointers", ROMX -SFXPointers:: - dba Sfx_01 - dba Sfx_02 - dba Sfx_03 - dba Sfx_04 - dba Sfx_05 - dba Sfx_06 - dba Sfx_07 - dba Sfx_08 - dba Sfx_09 - dba Sfx_0a - dba Sfx_0b - dba Sfx_0c - dba Sfx_0d - dba Sfx_0e - dba Sfx_0f - dba Sfx_10 - dba Sfx_11 - dba Sfx_12 - dba Sfx_13 - dba Sfx_14 - dba Sfx_15 - dba Sfx_16 - dba Sfx_17 - dba Sfx_18 - dba Sfx_19 - dba Sfx_1a - dba Sfx_1b - dba Sfx_1c - dba Sfx_1d - dba Sfx_1e - dba Sfx_1f - dba Sfx_20 - dba Sfx_21 - dba Sfx_22 - dba Sfx_23 - dba Sfx_24 - dba Sfx_25 - dba Sfx_26 - dba Sfx_27 - dba Sfx_28 - dba Sfx_29 - dba Sfx_2a - dba Sfx_2b - dba Sfx_2c - dba Sfx_2d - dba Sfx_2e - dba Sfx_2f - dba Sfx_30 - dba Sfx_31 - dba Sfx_32 - dba Sfx_33 - dba Sfx_34 - dba Sfx_35 - dba Sfx_36 - dba Sfx_37 - dba Sfx_38 - dba Sfx_39 - dba Sfx_3a - dba Sfx_3b - dba Sfx_3c - dba Sfx_3d - dba Sfx_3e - dba Sfx_3f - dba Sfx_40 - dba Sfx_41 - dba Sfx_42 - dba Sfx_43 - dba Sfx_44 - dba Sfx_45 - dba Sfx_46 - dba Sfx_47 - dba Sfx_48 - dba Sfx_49 - dba Sfx_4a - dba Sfx_4b - dba Sfx_4c - dba Sfx_4d - dba Sfx_4e - dba Sfx_4f - dba Sfx_50 - dba Sfx_51 - dba Sfx_52 - dba Sfx_53 - dba Sfx_54 - dba Sfx_55 - dba Sfx_56 - dba Sfx_57 - dba Sfx_58 - dba Sfx_59 - dba Sfx_5a - dba Sfx_5b - dba Sfx_5c - dba Sfx_5d - dba Sfx_5e - dba Sfx_5f - dba Sfx_60 - dba Sfx_61 - dba Sfx_62 - dba Sfx_63 - dba Sfx_64 - dba Sfx_65 - dba Sfx_66 - dba Sfx_67 - dba Sfx_68 - dba Sfx_69 - dba Sfx_6a - dba Sfx_6b - dba Sfx_6c +SECTION "audio/sfx.asm", ROMX + +Sfx_00: + channel_count 1 + channel 5, Sfx_00_Ch5 + +Sfx_Potion: + channel_count 1 + channel 5, Sfx_Potion_Ch5 + +Sfx_FullHeal: + channel_count 1 + channel 5, Sfx_FullHeal_Ch5 + +Sfx_Menu: + channel_count 1 + channel 8, Sfx_Menu_Ch8 + +Sfx_ReadText: + channel_count 1 + channel 5, Sfx_ReadText_Ch5 + +Sfx_06: + channel_count 1 + channel 5, Sfx_06_Ch5 + +Sfx_07: + channel_count 1 + channel 5, Sfx_07_Ch5 + +Sfx_08: + channel_count 1 + channel 5, Sfx_08_Ch5 + +Sfx_09: + channel_count 1 + channel 5, Sfx_09_Ch5 + +Sfx_BootPC: + channel_count 1 + channel 5, Sfx_BootPC_Ch5 + +Sfx_EscapeRope: + channel_count 1 + channel 5, Sfx_EscapeRope_Ch5 + +Sfx_0c: + channel_count 1 + channel 5, Sfx_0c_Ch5 + +Sfx_0d: + channel_count 1 + channel 5, Sfx_0d_Ch5 + +Sfx_0e: + channel_count 1 + channel 5, Sfx_0e_Ch5 + +Sfx_0f: + channel_count 1 + channel 5, Sfx_0f_Ch5 + +Sfx_10: + channel_count 1 + channel 5, Sfx_10_Ch5 + +Sfx_11: + channel_count 1 + channel 5, Sfx_11_Ch5 + +Sfx_12: + channel_count 1 + channel 8, Sfx_12_Ch8 + +Sfx_13: + channel_count 1 + channel 8, Sfx_13_Ch8 + +Sfx_Wrong: + channel_count 2 + channel 5, Sfx_Wrong_Ch5 + channel 6, Sfx_Wrong_Ch6 + +Sfx_15: + channel_count 1 + channel 5, Sfx_15_Ch5 + +Sfx_16: + channel_count 1 + channel 8, Sfx_16_Ch8 + +Sfx_17: + channel_count 2 + channel 5, Sfx_17_Ch5 + channel 6, Sfx_17_Ch6 + +Sfx_18: + channel_count 1 + channel 5, Sfx_18_Ch5 + +Sfx_19: + channel_count 1 + channel 8, Sfx_19_Ch8 + +Sfx_1a: + channel_count 1 + channel 8, Sfx_1a_Ch8 + +Sfx_SwitchPokemon: + channel_count 2 + channel 5, Sfx_SwitchPokemon_Ch5 + channel 6, Sfx_SwitchPokemon_Ch6 + +Sfx_1c: + channel_count 2 + channel 5, Sfx_1c_Ch5 + channel 6, Sfx_1c_Ch6 + +Sfx_1d: + channel_count 2 + channel 5, Sfx_1d_Ch5 + channel 6, Sfx_1d_Ch6 + +Sfx_1e: + channel_count 1 + channel 5, Sfx_1e_Ch5 + +Sfx_1f: + channel_count 1 + channel 8, Sfx_1f_Ch8 + +Sfx_20: + channel_count 2 + channel 5, Sfx_20_Ch5 + channel 6, Sfx_20_Ch6 + +Sfx_Pokeflute: + channel_count 1 + channel 7, Sfx_Pokeflute_Ch7 + +Sfx_22: + channel_count 1 + channel 5, Sfx_22_Ch5 + +Sfx_23: + channel_count 2 + channel 5, Sfx_23_Ch5 + channel 6, Sfx_23_Ch6 + +Sfx_24: + channel_count 2 + channel 5, Sfx_24_Ch5 + channel 8, Sfx_24_Ch8 + +Sfx_25: + channel_count 2 + channel 5, Sfx_25_Ch5 + channel 8, Sfx_25_Ch8 + +Sfx_26: + channel_count 1 + channel 8, Sfx_26_Ch8 + +Sfx_PokedexRegistration: + channel_count 2 + channel 5, Sfx_PokedexRegistration_Ch5 + channel 6, Sfx_PokedexRegistration_Ch6 + +Sfx_28: + channel_count 1 + channel 8, Sfx_28_Ch8 + +Sfx_29: + channel_count 1 + channel 8, Sfx_29_Ch8 + +Sfx_2a: + channel_count 1 + channel 8, Sfx_2a_Ch8 + +Sfx_2b: + channel_count 1 + channel 8, Sfx_2b_Ch8 + +Sfx_2c: + channel_count 1 + channel 8, Sfx_2c_Ch8 + +Sfx_TitleEntrance: + channel_count 1 + channel 8, Sfx_TitleEntrance_Ch8 + +Sfx_2e: + channel_count 1 + channel 5, Sfx_2e_Ch5 + +Sfx_2f: + channel_count 1 + channel 5, Sfx_2f_Ch5 + +Sfx_PayDay: + channel_count 2 + channel 5, Sfx_PayDay_Ch5 + channel 6, Sfx_PayDay_Ch6 + +Sfx_GameFreakLogoRG: + channel_count 1 + channel 5, Sfx_GameFreakLogoRG_Ch5 + +Sfx_32: + channel_count 1 + channel 8, Sfx_32_Ch8 + +Sfx_33: + channel_count 1 + channel 5, Sfx_33_Ch5 + +Sfx_34: + channel_count 1 + channel 5, Sfx_34_Ch5 + +Sfx_35: + channel_count 1 + channel 8, Sfx_35_Ch8 + +Sfx_36: + channel_count 1 + channel 8, Sfx_36_Ch8 + +Sfx_37: + channel_count 1 + channel 8, Sfx_37_Ch8 + +Sfx_38: + channel_count 1 + channel 8, Sfx_38_Ch8 + +Sfx_39: + channel_count 1 + channel 8, Sfx_39_Ch8 + +Sfx_3a: + channel_count 1 + channel 8, Sfx_3a_Ch8 + +Sfx_3b: + channel_count 1 + channel 8, Sfx_3b_Ch8 + +Sfx_3c: + channel_count 1 + channel 8, Sfx_3c_Ch8 + +Sfx_3d: + channel_count 1 + channel 8, Sfx_3d_Ch8 + +Sfx_3e: + channel_count 1 + channel 8, Sfx_3e_Ch8 + +Sfx_3f: + channel_count 1 + channel 8, Sfx_3f_Ch8 + +Sfx_40: + channel_count 1 + channel 8, Sfx_40_Ch8 + +Sfx_41: + channel_count 1 + channel 8, Sfx_41_Ch8 + +Sfx_42: + channel_count 1 + channel 8, Sfx_42_Ch8 + +Sfx_43: + channel_count 1 + channel 8, Sfx_43_Ch8 + +Sfx_44: + channel_count 1 + channel 8, Sfx_44_Ch8 + +Sfx_45: + channel_count 1 + channel 8, Sfx_45_Ch8 + +Sfx_46: + channel_count 1 + channel 8, Sfx_46_Ch8 + +Sfx_47: + channel_count 1 + channel 8, Sfx_47_Ch8 + +Sfx_48: + channel_count 1 + channel 8, Sfx_48_Ch8 + +Sfx_49: + channel_count 2 + channel 5, Sfx_49_Ch5 + channel 8, Sfx_49_Ch8 + +Sfx_4a: + channel_count 1 + channel 8, Sfx_4a_Ch8 + +Sfx_4b: + channel_count 1 + channel 8, Sfx_4b_Ch8 + +Sfx_4c: + channel_count 1 + channel 8, Sfx_4c_Ch8 + +Sfx_4d: + channel_count 1 + channel 8, Sfx_4d_Ch8 + +Sfx_4e: + channel_count 1 + channel 8, Sfx_4e_Ch8 + +Sfx_4f: + channel_count 2 + channel 5, Sfx_4f_Ch5 + channel 8, Sfx_4f_Ch8 + +Sfx_50: + channel_count 1 + channel 8, Sfx_50_Ch8 + +Sfx_51: + channel_count 1 + channel 8, Sfx_51_Ch8 + +Sfx_52: + channel_count 3 + channel 5, Sfx_52_Ch5 + channel 6, Sfx_52_Ch6 + channel 8, Sfx_52_Ch8 + +Sfx_53: + channel_count 3 + channel 5, Sfx_53_Ch5 + channel 6, Sfx_53_Ch6 + channel 8, Sfx_53_Ch8 + +Sfx_54: + channel_count 2 + channel 5, Sfx_54_Ch5 + channel 8, Sfx_54_Ch8 + +Sfx_55: + channel_count 3 + channel 5, Sfx_55_Ch5 + channel 6, Sfx_55_Ch6 + channel 8, Sfx_55_Ch8 + +Sfx_56: + channel_count 2 + channel 5, Sfx_56_Ch5 + channel 8, Sfx_56_Ch8 + +Sfx_57: + channel_count 3 + channel 5, Sfx_57_Ch5 + channel 6, Sfx_57_Ch6 + channel 8, Sfx_57_Ch8 + +Sfx_58: + channel_count 3 + channel 5, Sfx_58_Ch5 + channel 6, Sfx_58_Ch6 + channel 8, Sfx_58_Ch8 + +Sfx_59: + channel_count 3 + channel 5, Sfx_59_Ch5 + channel 6, Sfx_59_Ch6 + channel 8, Sfx_59_Ch8 + +Sfx_5a: + channel_count 3 + channel 5, Sfx_5a_Ch5 + channel 6, Sfx_5a_Ch6 + channel 8, Sfx_5a_Ch8 + +Sfx_5b: + channel_count 3 + channel 5, Sfx_5b_Ch5 + channel 6, Sfx_5b_Ch6 + channel 8, Sfx_5b_Ch8 + +Sfx_5c: + channel_count 2 + channel 5, Sfx_5c_Ch5 + channel 6, Sfx_5c_Ch6 + +Sfx_5d: + channel_count 2 + channel 5, Sfx_5d_Ch5 + channel 6, Sfx_5d_Ch6 + +Sfx_5e: + channel_count 2 + channel 5, Sfx_5e_Ch5 + channel 6, Sfx_5e_Ch6 + +Sfx_5f: + channel_count 3 + channel 5, Sfx_5f_Ch5 + channel 6, Sfx_5f_Ch6 + channel 8, Sfx_5f_Ch8 + +Sfx_60: + channel_count 2 + channel 5, Sfx_60_Ch5 + channel 6, Sfx_60_Ch6 + +Sfx_61: + channel_count 3 + channel 5, Sfx_61_Ch5 + channel 6, Sfx_61_Ch6 + channel 8, Sfx_61_Ch8 + +Sfx_62: + channel_count 1 + channel 5, Sfx_62_Ch5 + +Sfx_GetItemRG: + channel_count 3 + channel 5, Sfx_GetItemRG_Ch5 + channel 6, Sfx_GetItemRG_Ch6 + channel 8, Sfx_GetItemRG_Ch8 + +Sfx_UnusedFanfare1: + channel_count 3 + channel 5, Sfx_UnusedFanfare1_Ch5 + channel 6, Sfx_UnusedFanfare1_Ch6 + channel 8, Sfx_UnusedFanfare1_Ch8 + +Sfx_PokedexEvaluationRG: + channel_count 3 + channel 5, Sfx_PokedexEvaluationRG_Ch5 + channel 6, Sfx_PokedexEvaluationRG_Ch6 + channel 8, Sfx_PokedexEvaluationRG_Ch8 + +Sfx_LevelUpRG: + channel_count 3 + channel 5, Sfx_LevelUpRG_Ch5 + channel 6, Sfx_LevelUpRG_Ch6 + channel 8, Sfx_LevelUpRG_Ch8 + +Sfx_EvolutionCompleteRG: + channel_count 3 + channel 5, Sfx_EvolutionCompleteRG_Ch5 + channel 6, Sfx_EvolutionCompleteRG_Ch6 + channel 8, Sfx_EvolutionCompleteRG_Ch8 + +Sfx_GetKeyItemRG: + channel_count 3 + channel 5, Sfx_GetKeyItemRG_Ch5 + channel 6, Sfx_GetKeyItemRG_Ch6 + channel 8, Sfx_GetKeyItemRG_Ch8 + +Sfx_UnusedFanfare2: + channel_count 3 + channel 5, Sfx_UnusedFanfare2_Ch5 + channel 6, Sfx_UnusedFanfare2_Ch6 + channel 8, Sfx_UnusedFanfare2_Ch8 + +Sfx_CaughtPokemonRG: + channel_count 3 + channel 5, Sfx_CaughtPokemonRG_Ch5 + channel 6, Sfx_CaughtPokemonRG_Ch6 + channel 8, Sfx_CaughtPokemonRG_Ch8 + +Sfx_UnusedFanfare3: + channel_count 3 + channel 5, Sfx_UnusedFanfare3_Ch5 + channel 6, Sfx_UnusedFanfare3_Ch6 + channel 8, Sfx_UnusedFanfare3_Ch8 + +Sfx_Menu_Ch8: + noise_note 1, 14, 2, 51 + noise_note 8, 14, 1, 34 + sound_ret + +Sfx_Pokeflute_Ch7: + tempo 256 + volume 7, 7 + toggle_sfx + vibrato 16, 1, 4 + note_type 12, 1, 0 + octave 5 + note E_, 2 + note F_, 2 + note G_, 4 + note A_, 2 + note G_, 2 + octave 6 + note C_, 4 + note C_, 2 + note D_, 2 + note C_, 2 + octave 5 + note G_, 2 + note A_, 2 + note F_, 2 + note G_, 8 + rest 12 + sound_ret + +Sfx_19_Ch8: + noise_note 2, 15, 7, 36 + noise_note 2, 15, 7, 52 + noise_note 4, 15, 7, 68 + noise_note 8, 15, 4, 85 + noise_note 8, 15, 1, 68 + sound_ret + +Sfx_1a_Ch8: + noise_note 9, 15, 1, 68 + noise_note 8, 13, 1, 67 + sound_ret + +Sfx_SwitchPokemon_Ch5: + duty_cycle 2 + square_note 8, 14, 1, 1856 + sound_ret + +Sfx_SwitchPokemon_Ch6: + duty_cycle 2 + square_note 2, 0, 8, 0 + square_note 8, 11, 1, 1857 + sound_ret + +Sfx_00_Ch5: + duty_cycle 2 + pitch_sweep 3, -2 + square_note 4, 15, 2, 512 + pitch_sweep 2, 2 + square_note 8, 14, 2, 512 + pitch_sweep 0, 8 + sound_ret + +Sfx_1c_Ch5: + duty_cycle 2 + square_note 4, 15, 1, 1920 + sound_ret + +Sfx_1c_Ch6: + duty_cycle 2 + square_note 1, 0, 8, 0 + square_note 4, 10, 1, 1889 + sound_ret + +Sfx_1d_Ch5: + duty_cycle 2 + square_note 4, 14, 1, 1792 + square_note 8, 15, 2, 2016 + sound_ret + +Sfx_1d_Ch6: + duty_cycle 2 + square_note 1, 0, 8, 0 + square_note 4, 9, 1, 1729 + square_note 8, 10, 2, 1953 + sound_ret + +Sfx_1e_Ch5: + duty_cycle 2 + pitch_sweep 5, -2 + square_note 15, 15, 1, 768 + pitch_sweep 0, 8 + sound_ret + +Sfx_1f_Ch8: + noise_note 2, 15, 1, 84 + noise_note 12, 7, 1, 35 + noise_note 2, 11, 1, 84 + noise_note 12, 6, 1, 35 + noise_note 6, 4, 1, 84 + sound_ret + +Sfx_ReadText_Ch5: + duty_cycle 2 + square_note 0, 9, 1, 1984 + square_note 0, 8, 1, 2000 + square_note 0, 9, 1, 1984 + square_note 12, 10, 1, 2000 + sound_ret + +Sfx_20_Ch5: + duty_cycle 2 + square_note 2, 15, 4, 1792 + square_note 2, 14, 4, 1536 + square_note 2, 14, 4, 1664 + square_note 2, 14, 4, 1728 + square_note 2, 14, 4, 1792 + square_note 2, 14, 4, 1984 + square_note 15, 15, 2, 2016 + sound_ret + +Sfx_20_Ch6: + duty_cycle 2 + square_note 2, 0, 8, 0 + square_note 2, 13, 4, 1793 + square_note 2, 12, 4, 1537 + square_note 2, 12, 4, 1665 + square_note 2, 12, 4, 1729 + square_note 2, 12, 4, 1793 + square_note 2, 12, 4, 1985 + square_note 15, 13, 2, 2017 + sound_ret + +Sfx_Potion_Ch5: + duty_cycle 2 + pitch_sweep 1, 7 + square_note 15, 15, 0, 1264 + square_note 15, 15, 2, 1616 + pitch_sweep 0, 8 + sound_ret + +Sfx_06_Ch5: +.loop + duty_cycle 0 + pitch_sweep 1, 4 + square_note 4, 15, 2, 1536 + sound_loop 4, .loop + square_note 15, 15, 3, 1536 + pitch_sweep 0, 8 + sound_ret + +Sfx_FullHeal_Ch5: + duty_cycle 2 + pitch_sweep 1, 4 + square_note 4, 15, 2, 1536 + square_note 4, 15, 2, 1536 + pitch_sweep 1, 7 + square_note 15, 15, 2, 1536 + pitch_sweep 0, 8 + sound_ret + +Sfx_07_Ch5: + duty_cycle 2 + pitch_sweep 1, 5 + square_note 15, 15, 0, 1264 + square_note 15, 15, 2, 1616 + pitch_sweep 0, 8 + sound_ret + +Sfx_08_Ch5: + duty_cycle 2 + square_note 15, 15, 2, 1984 + square_note 15, 0, 0, 0 + square_note 3, 10, 1, 1920 + square_note 3, 10, 1, 1792 + square_note 3, 10, 1, 1856 + square_note 3, 10, 1, 1792 + square_note 3, 10, 1, 1920 + square_note 3, 10, 1, 1792 + square_note 3, 10, 1, 1984 + square_note 8, 10, 1, 1792 + sound_ret + +Sfx_09_Ch5: + duty_cycle 2 + square_note 4, 15, 0, 1536 + square_note 4, 15, 0, 1024 + square_note 4, 15, 0, 512 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_BootPC_Ch5: + duty_cycle 2 + square_note 6, 15, 0, 1792 + square_note 4, 0, 0, 0 + square_note 6, 15, 0, 1792 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_EscapeRope_Ch5: + duty_cycle 1 + pitch_sweep 1, 7 + square_note 15, 13, 7, 1536 + square_note 15, 11, 7, 1408 + square_note 15, 8, 7, 1280 + square_note 15, 4, 7, 1152 + square_note 15, 1, 7, 1024 + pitch_sweep 0, 8 + sound_ret + +Sfx_0c_Ch5: + duty_cycle 2 + square_note 4, 0, 0, 0 + square_note 2, 15, 1, 1664 + square_note 1, 0, 0, 0 + square_note 4, 15, 1, 1920 + square_note 4, 0, 0, 0 + sound_ret + +Sfx_0d_Ch5: + duty_cycle 2 + pitch_sweep 2, -4 + square_note 4, 15, 2, 1280 + pitch_sweep 2, 2 + square_note 2, 15, 1, 1280 + pitch_sweep 0, 8 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_0e_Ch5: + duty_cycle 1 + pitch_sweep 1, 7 + square_note 15, 13, 7, 1280 + square_note 15, 11, 7, 1408 + square_note 15, 8, 7, 1536 + square_note 15, 4, 7, 1664 + square_note 15, 1, 7, 1792 + pitch_sweep 0, 8 + sound_ret + +Sfx_0f_Ch5: + duty_cycle 1 + pitch_sweep 1, 7 + square_note 15, 13, 7, 1792 + square_note 15, 11, 7, 1664 + square_note 15, 8, 7, 1536 + square_note 15, 4, 7, 1408 + square_note 15, 1, 7, 1280 + pitch_sweep 0, 8 + sound_ret + +Sfx_10_Ch5: + duty_cycle 1 + pitch_sweep 1, 6 + square_note 15, 13, 2, 1280 + pitch_sweep 0, 8 + sound_ret + +Sfx_11_Ch5: + duty_cycle 2 + pitch_sweep 9, 5 + square_note 15, 15, 2, 1024 + pitch_sweep 0, 8 + sound_ret + +Sfx_12_Ch8: + noise_note 2, 15, 1, 50 + noise_note 2, 0, 0, 0 + noise_note 2, 15, 1, 34 + noise_note 1, 0, 0, 0 + sound_ret + +Sfx_13_Ch8: + noise_note 2, 15, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 10, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 13, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 8, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 11, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 6, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 9, 1, 18 + noise_note 2, 0, 0, 0 + noise_note 2, 4, 1, 18 + noise_note 2, 0, 0, 0 + sound_ret + +Sfx_Wrong_Ch5: + duty_cycle 3 + pitch_sweep 5, -2 + square_note 4, 15, 0, 1280 + pitch_sweep 0, 8 + square_note 4, 0, 0, 0 + square_note 15, 15, 0, 1280 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_Wrong_Ch6: + duty_cycle 3 + square_note 4, 15, 0, 1025 + square_note 4, 0, 0, 0 + square_note 15, 15, 0, 1025 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_15_Ch5: + duty_cycle 0 + pitch_sweep 1, 7 + square_note 15, 13, 2, 1792 + pitch_sweep 0, 8 + sound_ret + +Sfx_16_Ch8: + noise_note 4, 10, 2, 35 + noise_note 8, 15, 1, 52 + noise_note 15, 0, 0, 0 + noise_note 2, 15, 7, 36 + noise_note 2, 15, 7, 52 + noise_note 4, 15, 7, 68 + noise_note 8, 15, 4, 85 + noise_note 8, 15, 1, 68 + sound_ret + +Sfx_17_Ch5: + duty_cycle 2 + square_note 15, 15, 0, 1280 + square_note 4, 0, 0, 0 + square_note 15, 15, 0, 1280 + square_note 15, 15, 0, 1280 + square_note 15, 15, 0, 1280 + square_note 15, 15, 0, 1280 + square_note 15, 15, 2, 1280 + sound_ret + +Sfx_17_Ch6: + duty_cycle 3 + square_note 15, 15, 0, 1154 + square_note 4, 0, 0, 0 + square_note 15, 15, 0, 1154 + square_note 15, 15, 0, 1154 + square_note 15, 15, 0, 1154 + square_note 15, 15, 0, 1154 + square_note 15, 15, 2, 1154 + sound_ret + +Sfx_18_Ch5: + duty_cycle 1 + pitch_sweep 3, -2 + square_note 4, 15, 2, 1280 + pitch_sweep 2, 2 + square_note 4, 14, 2, 1280 + pitch_sweep 3, -2 + square_note 4, 15, 2, 1792 + pitch_sweep 2, 2 + square_note 15, 14, 2, 1792 + pitch_sweep 0, 8 + sound_ret + +Sfx_22_Ch5: + duty_cycle 2 + square_note 15, 15, 3, 1840 + square_note 8, 6, 5, 1840 + square_note 15, 15, 4, 1792 + square_note 15, 7, 4, 1792 + square_note 15, 4, 4, 1792 + square_note 15, 2, 4, 1792 + sound_ret + +Sfx_23_Ch5: + duty_cycle 2 + pitch_sweep 2, -7 + square_note 15, 15, 2, 1920 + sound_ret + +Sfx_23_Ch6: + duty_cycle 2 + square_note 15, 12, 2, 1922 + sound_ret + +Sfx_62_Ch5: + duty_cycle 0 + square_note 0, 13, 2, 1792 + square_note 0, 13, 2, 1856 + square_note 0, 13, 2, 1920 + square_note 0, 13, 2, 1984 + square_note 10, 14, 1, 2016 + square_note 1, 0, 0, 0 + sound_ret + +Sfx_24_Ch5: + duty_cycle 2 + pitch_sweep 1, 6 + square_note 15, 15, 2, 1024 + pitch_sweep 0, 8 + sound_ret + +Sfx_24_Ch8: + noise_note 15, 10, 2, 34 + sound_ret + +Sfx_25_Ch5: + square_note 15, 13, 1, 512 + pitch_sweep 0, 8 + sound_ret + +Sfx_25_Ch8: + noise_note 4, 15, 5, 51 + noise_note 8, 15, 4, 34 + noise_note 15, 15, 2, 33 + sound_ret + +Sfx_26_Ch8: + noise_note 2, 6, 1, 35 + noise_note 2, 10, 1, 51 + noise_note 2, 12, 1, 51 + noise_note 2, 5, 1, 17 + noise_note 2, 15, 1, 51 + noise_note 2, 4, 1, 17 + noise_note 2, 12, 1, 51 + noise_note 2, 3, 1, 17 + noise_note 2, 8, 1, 51 + noise_note 2, 3, 1, 17 + noise_note 8, 4, 1, 51 + sound_ret + +Sfx_PokedexRegistration_Ch5: + duty_cycle 2 + pitch_sweep 4, 4 + square_note 15, 15, 0, 1264 + pitch_sweep 1, 7 + square_note 15, 15, 2, 1616 + pitch_sweep 0, 8 + sound_ret + +Sfx_PokedexRegistration_Ch6: + duty_cycle 2 + square_note 15, 9, 2, 1536 + square_note 15, 9, 2, 1922 + sound_ret + +Sfx_32_Ch8: + noise_note 2, 10, 1, 18 + sound_ret + +Sfx_33_Ch5: + duty_cycle 1 + pitch_sweep 10, -7 + square_note 15, 15, 2, 1920 + pitch_sweep 0, 8 + sound_ret + +Sfx_34_Ch5: + duty_cycle 1 + pitch_sweep 9, 7 + square_note 15, 15, 2, 1280 + pitch_sweep 0, 8 + sound_ret + +Sfx_35_Ch8: + noise_note 2, 10, 1, 34 + sound_ret + +Sfx_36_Ch8: + noise_note 8, 15, 1, 84 + sound_ret + +Sfx_37_Ch8: + noise_note 15, 8, -7, 17 + noise_note 4, 15, -7, 18 + noise_note 10, 15, 1, 85 + sound_ret + +Sfx_38_Ch8: + noise_note 15, 8, -7, 52 + noise_note 8, 15, 2, 53 + noise_note 10, 15, 1, 85 + sound_ret + +Sfx_39_Ch8: + noise_note 15, 9, -7, 35 + noise_note 8, 15, 1, 33 + sound_ret + +Sfx_3a_Ch8: + noise_note 2, 14, 1, 75 + noise_note 10, 15, 1, 68 + noise_note 2, 14, 1, 58 + noise_note 6, 15, 1, 52 + sound_ret + +Sfx_3b_Ch8: + noise_note 2, 15, 4, 68 + noise_note 2, 15, 4, 20 + noise_note 15, 15, 1, 50 + sound_ret + +Sfx_3c_Ch8: + noise_note 4, 8, -7, 85 + noise_note 2, 15, 4, 68 + noise_note 8, 15, 4, 34 + noise_note 15, 15, 2, 33 + sound_ret + +Sfx_3d_Ch8: +.loop + noise_note 8, 4, -7, 35 + noise_note 4, 12, 4, 34 + noise_note 6, 15, 2, 35 + sound_loop 4, .loop + sound_ret + +Sfx_3e_Ch8: + noise_note 8, 4, -7, 51 + noise_note 4, 12, 4, 34 + noise_note 6, 15, 2, 35 + noise_note 15, 15, 2, 34 + sound_ret + +Sfx_3f_Ch8: + noise_note 8, 15, -7, 50 + noise_note 8, 15, 4, 67 + noise_note 8, 15, 2, 84 + noise_note 8, 15, 1, 101 + sound_ret + +Sfx_40_Ch8: + noise_note 1, 12, 2, 51 + noise_note 2, 15, 2, 33 + noise_note 1, 14, 2, 51 + noise_note 1, 12, 2, 50 + noise_note 1, 9, 2, 18 + noise_note 1, 11, 2, 49 + noise_note 12, 9, 1, 16 + noise_note 8, 15, 2, 65 + sound_ret + +Sfx_41_Ch8: + noise_note 1, 9, 4, 35 + noise_note 1, 11, 4, 34 + noise_note 8, 15, 1, 68 + sound_ret + +Sfx_42_Ch8: + noise_note 2, 9, 4, 51 + noise_note 4, 11, 4, 34 + noise_note 4, 15, 1, 68 + noise_note 8, 15, 1, 85 + sound_ret + +Sfx_43_Ch8: + noise_note 4, 15, -7, 85 + noise_note 8, 15, 1, 101 + sound_ret + +Sfx_44_Ch8: + noise_note 2, 8, 4, 67 + noise_note 2, 12, 4, 34 + noise_note 8, 15, 2, 52 + sound_ret + +Sfx_45_Ch8: + noise_note 4, 15, 1, 52 + noise_note 15, 15, 2, 100 + sound_ret + +Sfx_46_Ch8: + noise_note 2, 15, 1, 34 + noise_note 15, 15, 2, 18 + sound_ret + +Sfx_47_Ch8: + noise_note 2, 12, 2, 1 + noise_note 15, 15, 4, 1 + noise_note 15, 15, 2, 1 + sound_ret + +Sfx_48_Ch8: + noise_note 8, 15, 1, 50 + noise_note 8, 15, 1, 51 + sound_ret + +Sfx_49_Ch5: + duty_cycle 0 + pitch_sweep 3, -2 + square_note 4, 15, 2, 512 + pitch_sweep 2, 2 + square_note 8, 14, 2, 512 + pitch_sweep 0, 8 + sound_ret + +Sfx_49_Ch8: + noise_note 0, 13, 1, 66 + noise_note 4, 10, 1, 50 + noise_note 0, 13, 1, 34 + noise_note 6, 10, 1, 50 + sound_ret + +Sfx_4a_Ch8: + noise_note 3, 9, 2, 49 + noise_note 3, 11, 2, 50 + noise_note 3, 12, 2, 51 + noise_note 8, 15, 1, 84 + sound_ret + +Sfx_4b_Ch8: + noise_note 12, 15, 1, 84 + noise_note 8, 15, 1, 100 + sound_ret + +Sfx_4c_Ch8: + noise_note 2, 15, 1, 51 + noise_note 2, 12, 1, 50 + noise_note 2, 10, 1, 49 + noise_note 15, 8, 2, 50 + noise_note 8, 15, 1, 52 + sound_ret + +Sfx_4d_Ch8: + noise_note 2, 13, 2, 50 + noise_note 15, 15, 2, 67 + sound_ret + +Sfx_4e_Ch8: + noise_note 2, 15, 2, 67 + noise_note 4, 11, 5, 50 + noise_note 9, 8, 6, 49 + noise_note 7, 6, 4, 0 + noise_note 15, 15, 2, 85 + sound_ret + +Sfx_4f_Ch5: + duty_cycle 1 + pitch_sweep 9, 7 + square_note 15, 15, 2, 1792 + pitch_sweep 0, 8 + sound_ret + +Sfx_4f_Ch8: + noise_note 15, 3, -7, 34 + noise_note 15, 15, 2, 33 + sound_ret + +Sfx_50_Ch8: + noise_note 15, 4, -7, 65 + noise_note 8, 8, -7, 65 + noise_note 8, 12, -7, 65 + noise_note 8, 15, 2, 66 + noise_note 15, 15, 2, 65 + sound_ret + +Sfx_51_Ch8: + noise_note 10, 15, -7, 80 + noise_note 15, 15, -7, 81 + noise_note 8, 15, 2, 81 + noise_note 6, 15, -7, 82 + noise_note 6, 15, -7, 83 + noise_note 8, 15, -7, 84 + noise_note 15, 15, 2, 84 + sound_ret + +Sfx_52_Ch5: + duty_cycle 2 + square_note 15, 3, -7, 1984 +.loop + square_note 15, 13, -7, 1984 + sound_loop 4, .loop + square_note 15, 13, 1, 1984 + sound_ret + +Sfx_52_Ch6: + duty_cycle_pattern 2, 3, 0, 3 + square_note 15, 2, -7, 1992 +.loop + square_note 15, 12, -7, 1991 + sound_loop 4, .loop + square_note 15, 12, 1, 1992 + sound_ret + +Sfx_52_Ch8: +.loop + noise_note 3, 9, 7, 18 + noise_note 3, 10, 1, 17 + sound_loop 10, .loop + sound_ret + +Sfx_53_Ch5: +.loop + duty_cycle 0 + square_note 0, 15, 1, 1984 + square_note 0, 15, 1, 1792 + sound_loop 12, .loop + sound_ret + +Sfx_53_Ch6: +.loop + duty_cycle_pattern 2, 3, 0, 3 + square_note 0, 14, 1, 1985 + square_note 0, 14, 1, 1793 + sound_loop 12, .loop + sound_ret + +Sfx_53_Ch8: +.loop + noise_note 1, 13, 1, 73 + noise_note 1, 13, 1, 41 + sound_loop 6, .loop + sound_ret + +Sfx_54_Ch5: +.loop + duty_cycle_pattern 3, 0, 2, 1 + square_note 11, 15, 3, 288 + square_note 9, 13, 3, 336 + sound_loop 5, .loop + square_note 8, 14, 3, 304 + square_note 15, 12, 2, 272 + sound_ret + +Sfx_54_Ch8: +.loop + noise_note 10, 15, 3, 53 + noise_note 14, 15, 6, 69 + sound_loop 4, .loop + noise_note 12, 15, 4, 188 + noise_note 12, 15, 5, 156 + noise_note 15, 15, 4, 172 + sound_ret + +Sfx_55_Ch5: +.loop + duty_cycle_pattern 0, 3, 2, 1 + square_note 4, 15, 4, 1536 + square_note 3, 12, 4, 1280 + square_note 5, 11, 5, 1536 + square_note 13, 14, 2, 1728 + sound_loop 3, .loop + square_note 8, 13, 1, 1536 + sound_ret + +Sfx_55_Ch6: +.loop + duty_cycle_pattern 2, 0, 3, 1 + square_note 5, 14, 4, 1504 + square_note 4, 11, 4, 1248 + square_note 6, 10, 5, 1512 + square_note 14, 13, 1, 1696 + sound_loop 3, .loop + sound_ret + +Sfx_55_Ch8: +.loop + noise_note 5, 12, 3, 51 + noise_note 3, 9, 2, 67 + noise_note 10, 11, 5, 51 + noise_note 15, 12, 3, 50 + sound_loop 2, .loop + sound_ret + +Sfx_56_Ch5: +.loop + duty_cycle_pattern 3, 1, 0, 2 + square_note 3, 8, 1, 768 + square_note 3, 12, 1, 1024 + square_note 3, 15, 1, 1280 + square_note 3, 11, 1, 1024 + square_note 3, 7, 1, 768 + sound_loop 5, .loop + square_note 8, 8, 1, 1024 + sound_ret + +Sfx_56_Ch8: +.loop + noise_note 3, 6, 2, 34 + noise_note 3, 10, 2, 50 + noise_note 3, 13, 2, 51 + noise_note 3, 9, 2, 35 + noise_note 3, 5, 2, 18 + sound_loop 5, .loop + noise_note 8, 8, 1, 18 + sound_ret + +Sfx_57_Ch5: +.loop + duty_cycle_pattern 0, 3, 2, 1 + square_note 15, 15, 4, 1280 + square_note 15, 12, 4, 1024 + square_note 15, 14, 2, 1472 + sound_loop 3, .loop + sound_ret + +Sfx_57_Ch6: +.loop + duty_cycle_pattern 2, 0, 3, 1 + square_note 7, 14, 4, 1072 + square_note 15, 11, 4, 816 + square_note 15, 10, 2, 1080 + sound_loop 4, .loop + sound_ret + +Sfx_57_Ch8: +.loop + noise_note 9, 15, 4, 68 + noise_note 9, 15, 2, 67 + noise_note 15, 15, 4, 66 + noise_note 15, 15, 4, 65 + sound_loop 3, .loop + sound_ret + +Sfx_58_Ch5: +.loop + duty_cycle_pattern 2, 2, 0, 1 + square_note 10, 15, 1, 1600 + square_note 10, 15, 3, 1664 + square_note 10, 15, 2, 1568 + sound_loop 4, .loop + square_note 10, 15, 1, 1600 + sound_ret + +Sfx_58_Ch6: +.loop + duty_cycle_pattern 2, 3, 0, 3 + square_note 10, 15, 3, 1393 + square_note 7, 14, 3, 1329 + square_note 10, 15, 1, 1361 + sound_loop 4, .loop + square_note 10, 15, 1, 1393 + sound_ret + +Sfx_58_Ch8: +.loop + noise_note 2, 13, 1, 74 + noise_note 2, 13, 2, 42 + sound_loop 21, .loop + sound_ret + +Sfx_59_Ch5: +.loop + duty_cycle 0 + square_note 2, 15, 1, 512 + square_note 3, 15, 1, 1792 + square_note 4, 15, 1, 1280 + square_note 5, 15, 1, 2032 + sound_loop 8, .loop + sound_ret + +Sfx_59_Ch6: +.loop + duty_cycle_pattern 2, 3, 0, 3 + square_note 2, 14, 1, 770 + square_note 3, 14, 1, 2034 + square_note 4, 14, 1, 1538 + square_note 5, 14, 1, 1794 + sound_loop 8, .loop + sound_ret + +Sfx_59_Ch8: +.loop + noise_note 2, 13, 3, 16 + noise_note 3, 13, 3, 17 + noise_note 2, 13, 2, 16 + noise_note 5, 13, 2, 18 + sound_loop 9, .loop + sound_ret + +Sfx_5a_Ch5: +.loop + duty_cycle_pattern 0, 2, 2, 3 + square_note 3, 15, 1, 2032 + square_note 4, 15, 2, 512 + sound_loop 8, .loop + sound_ret + +Sfx_5a_Ch6: +.loop + duty_cycle_pattern 2, 3, 0, 3 + square_note 4, 14, 2, 514 + square_note 4, 14, 1, 2018 + sound_loop 9, .loop + sound_ret + +Sfx_5a_Ch8: +.loop + noise_note 4, 15, -7, 67 + noise_note 4, 15, 2, 68 + sound_loop 9, .loop + sound_ret + +Sfx_5b_Ch5: + duty_cycle 2 + pitch_sweep 15, 7 + square_note 8, 12, 4, 1981 + square_note 8, 12, 4, 1982 + square_note 8, 12, 4, 1983 + square_note 8, 12, 4, 1984 + square_note 15, 12, 4, 1985 + square_note 15, 15, 2, 1984 + pitch_sweep 0, 8 + sound_ret + +Sfx_5b_Ch6: + duty_cycle 2 + square_note 8, 12, 4, 1904 + square_note 8, 12, 4, 1889 + square_note 8, 12, 4, 1890 + square_note 8, 12, 4, 1891 + square_note 15, 12, 4, 1892 + square_note 15, 15, 2, 1892 + sound_ret + +Sfx_5b_Ch8: + noise_note 15, 3, -7, 20 + noise_note 15, 12, -7, 19 + noise_note 15, 12, -7, 18 + noise_note 15, 12, -7, 17 + noise_note 15, 12, -7, 16 + noise_note 15, 12, 2, 16 + sound_ret + +Sfx_5c_Ch5: + duty_cycle 2 + square_note 15, 15, -7, 2016 + square_note 15, 15, -7, 2016 + square_note 15, 15, -7, 2016 + square_note 15, 15, -7, 2016 + square_note 15, 15, 2, 2016 + sound_ret + +Sfx_5c_Ch6: + duty_cycle 3 + square_note 15, 15, -7, 2018 + square_note 15, 15, -7, 2017 + square_note 15, 15, -7, 2018 + square_note 15, 15, -7, 2017 + square_note 15, 15, 2, 2018 + sound_ret + +Sfx_5d_Ch5: + duty_cycle 2 + pitch_sweep 10, -7 + square_note 8, 15, 1, 1792 + pitch_sweep 0, 8 + sound_ret + +Sfx_5d_Ch6: + duty_cycle 3 + square_note 8, 15, 1, 1793 + sound_ret + +Sfx_5e_Ch5: + duty_cycle 2 + square_note 6, 15, 1, 1280 + square_note 6, 15, 1, 1408 + square_note 6, 15, 1, 1536 + square_note 6, 15, 1, 1664 + square_note 8, 15, 1, 1792 + sound_ret + +Sfx_5e_Ch6: + duty_cycle 3 + square_note 6, 14, 1, 1296 + square_note 6, 14, 1, 1424 + square_note 6, 14, 1, 1552 + square_note 6, 14, 1, 1680 + square_note 8, 14, 1, 1808 + sound_ret + +Sfx_5f_Ch5: + duty_cycle_pattern 3, 2, 3, 1 + square_note 8, 15, -7, 1016 + square_note 15, 15, -7, 1024 + square_note 15, 15, 3, 1024 + sound_ret + +Sfx_5f_Ch6: + duty_cycle_pattern 2, 3, 1, 0 + square_note 8, 14, -7, 960 + square_note 15, 14, -7, 960 + square_note 15, 14, 3, 960 + sound_ret + +Sfx_5f_Ch8: + noise_note 4, 15, -7, 81 + noise_note 8, 15, -7, 84 + noise_note 15, 15, -7, 85 + noise_note 15, 15, 3, 86 + sound_ret + +Sfx_60_Ch5: + toggle_sfx + vibrato 10, 2, 4 + duty_cycle 2 + note_type 10, 8, 7 + octave 5 + note G_, 8 + octave 6 + note F_, 4 + note D#, 4 + octave 5 + note G_, 8 + sound_ret + +Sfx_60_Ch6: + toggle_sfx + vibrato 10, 2, 3 + duty_cycle 2 + note_type 11, 6, 7 + octave 5 + note G_, 8 + note_type 10, 6, 7 + octave 6 + note F_, 4 + note D#, 4 + octave 5 + note G_, 8 + sound_ret + +Sfx_61_Ch5: + duty_cycle 0 + square_note 2, 15, 1, 1920 + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 1936 + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 1952 + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 1968 + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 1984 + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 2000 +.loop + square_note 2, 15, 1, 1792 + square_note 2, 15, 1, 2016 + sound_loop 12, .loop + square_note 15, 15, 1, 1792 + sound_ret + +Sfx_61_Ch6: + duty_cycle_pattern 2, 3, 0, 3 + square_note 2, 15, 1, 1921 + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 1937 + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 1953 + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 1969 + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 1985 + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 2001 +.loop + square_note 2, 15, 1, 1793 + square_note 2, 15, 1, 2017 + sound_loop 12, .loop + square_note 15, 15, 1, 1793 + sound_ret + +Sfx_61_Ch8: +.loop + noise_note 1, 13, 1, 73 + noise_note 1, 13, 1, 41 + sound_loop 26, .loop + sound_ret + +Sfx_28_Ch8: + noise_note 6, 2, 0, 16 + noise_note 6, 2, -7, 64 + noise_note 6, 4, -7, 65 + noise_note 6, 8, -7, 65 + noise_note 6, 12, -7, 66 + noise_note 8, 13, 7, 66 + noise_note 15, 14, 7, 67 + noise_note 15, 15, 2, 67 + sound_ret + +Sfx_29_Ch8: + noise_note 4, 13, 1, 65 + sound_ret + +Sfx_2a_Ch8: + noise_note 4, 12, 1, 66 + sound_ret + +Sfx_2b_Ch8: + noise_note 2, 6, -7, 33 + noise_note 2, 10, -7, 49 + noise_note 15, 15, 2, 65 + sound_ret + +Sfx_2c_Ch8: + noise_note 2, 13, 2, 50 + noise_note 15, 15, 2, 67 + sound_ret + +Sfx_TitleEntrance_Ch8: + noise_note 8, 3, -4, 32 + noise_note 6, 10, 0, 32 + noise_note 8, 11, 0, 33 + noise_note 10, 12, 0, 34 + noise_note 15, 13, 2, 35 + sound_ret + +Sfx_2e_Ch5: + duty_cycle 2 + square_note 1, 15, 2, 1696 + square_note 1, 15, 2, 1760 + square_note 8, 15, 1, 1792 + sound_ret + +Sfx_2f_Ch5: + duty_cycle 2 + square_note 2, 15, 1, 1792 + square_note 8, 8, 1, 2016 + sound_ret + +Sfx_PayDay_Ch5: + duty_cycle 3 + square_note 5, 14, 1, 1792 + square_note 2, 14, 1, 1920 + square_note 15, 15, 1, 1984 + sound_ret + +Sfx_PayDay_Ch6: + duty_cycle 2 + square_note 4, 12, 1, 1729 + square_note 2, 12, 1, 1857 + square_note 15, 13, 1, 1921 + sound_ret + +Sfx_GameFreakLogoRG_Ch5: + duty_cycle 2 + pitch_sweep 5, -7 + square_note 4, 4, 0, 2016 + square_note 4, 6, 0, 2016 + square_note 4, 8, 0, 2016 + square_note 8, 10, 0, 2016 + square_note 8, 10, 0, 2016 + square_note 8, 8, 0, 2016 + square_note 8, 6, 0, 2016 + square_note 8, 3, 0, 2016 + square_note 15, 1, 2, 2016 + pitch_sweep 0, 8 + sound_ret + +Sfx_GetItemRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + vibrato 6, 2, 6 + duty_cycle 2 + pitch_offset 1 + note_type 4, 11, 1 + octave 3 + note G#, 2 + note G#, 2 + note G#, 2 + note_type 12, 11, 3 + octave 4 + note E_, 4 + sfx_priority_off + sound_ret + +Sfx_GetItemRG_Ch6: + toggle_sfx + vibrato 8, 2, 7 + duty_cycle 2 + note_type 4, 12, 1 + octave 4 + note E_, 2 + note E_, 2 + note E_, 2 + note_type 12, 12, 3 + note B_, 4 + sound_ret + +Sfx_GetItemRG_Ch8: + toggle_sfx + note_type 4, 1, 0 + octave 4 + note B_, 1 + rest 1 + note B_, 1 + rest 1 + note B_, 1 + rest 1 + note_type 12, 1, 0 + octave 4 + note B_, 2 + rest 2 + sound_ret + +Sfx_UnusedFanfare1_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + vibrato 6, 2, 6 + duty_cycle 2 + pitch_offset 1 + note_type 6, 11, 1 + octave 3 + note G#, 2 + note G#, 2 + note_type 6, 11, 3 + note G#, 2 + note B_, 2 + octave 4 + note E_, 8 + sfx_priority_off + sound_ret + +Sfx_UnusedFanfare1_Ch6: + toggle_sfx + vibrato 8, 2, 7 + duty_cycle 2 + note_type 6, 12, 1 + octave 4 + note E_, 2 + note E_, 1 + note E_, 1 + note_type 6, 12, 3 + note E_, 2 + note G#, 2 + note B_, 8 + sound_ret + +Sfx_UnusedFanfare1_Ch8: + toggle_sfx + note_type 6, 1, 0 + octave 4 + note B_, 1 + rest 1 + note_type 3, 1, 0 + note B_, 1 + rest 1 + note B_, 1 + rest 1 + note_type 6, 1, 0 + note B_, 1 + rest 1 + octave 5 + note E_, 1 + rest 1 + octave 4 + note B_, 4 + rest 4 + sound_ret + +Sfx_PokedexEvaluationRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 2 + note_type 5, 11, 1 + octave 3 + note A_, 2 + note A_, 2 + note G_, 2 + note G_, 2 + note F_, 2 + note E_, 2 + note F_, 2 + note A_, 2 + octave 4 + note C_, 4 + note E_, 4 + octave 3 + note F_, 4 + sfx_priority_off + sound_ret + +Sfx_PokedexEvaluationRG_Ch6: + toggle_sfx + duty_cycle 2 + note_type 5, 12, 2 + octave 5 + note F_, 2 + note E_, 1 + rest 1 + note D_, 2 + note C_, 1 + rest 1 + octave 4 + note A#, 2 + octave 5 + note C_, 2 + note D_, 2 + note E_, 2 + note F_, 4 + note G_, 4 + note F_, 4 + sound_ret + +Sfx_PokedexEvaluationRG_Ch8: + toggle_sfx + note_type 5, 1, 0 + octave 5 + note C_, 1 + rest 1 + octave 4 + note F_, 2 + octave 5 + note C_, 1 + rest 1 + octave 4 + note A#, 1 + rest 1 + note A_, 1 + rest 1 + note G_, 1 + rest 1 + note F_, 1 + rest 1 + note E_, 1 + rest 1 + octave 5 + note F_, 1 + rest 3 + note C_, 1 + rest 3 + octave 4 + note F_, 2 + rest 2 + sound_ret + +Sfx_LevelUpRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 2 + pitch_offset 1 + note_type 6, 11, 4 + octave 4 + note F_, 4 + note_type 4, 11, 2 + note C_, 2 + note F_, 2 + note C_, 2 + note_type 6, 11, 3 + note D#, 2 + note D#, 2 + note E_, 2 + note_type 6, 11, 4 + note F_, 8 + sfx_priority_off + sound_ret + +Sfx_LevelUpRG_Ch6: + toggle_sfx + vibrato 4, 2, 2 + duty_cycle 2 + note_type 6, 12, 4 + octave 4 + note A_, 4 + note_type 4, 12, 2 + note A_, 2 + note A_, 2 + note A_, 2 + note_type 6, 12, 4 + note A#, 2 + note A#, 2 + note A#, 2 + note_type 6, 12, 4 + note A_, 8 + sound_ret + +Sfx_LevelUpRG_Ch8: + toggle_sfx + note_type 6, 1, 0 + octave 5 + note A_, 4 + note_type 4, 1, 0 + note F_, 1 + rest 1 + note F_, 1 + rest 1 + note F_, 1 + rest 1 + note_type 6, 1, 0 + note G_, 1 + rest 1 + note D#, 1 + rest 1 + note G_, 1 + rest 1 + note A_, 8 + sound_ret + +Sfx_EvolutionCompleteRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 2 + pitch_offset 1 + note_type 5, 11, 4 + octave 4 + note D_, 4 + note C_, 4 + octave 3 + note A_, 8 + note_type 5, 11, 2 + octave 4 + note D#, 2 + note D#, 2 + note D_, 2 + note C_, 2 + note C_, 2 + octave 3 + note A#, 2 + note_type 5, 11, 4 + octave 4 + note C_, 8 + sfx_priority_off + sound_ret + +Sfx_EvolutionCompleteRG_Ch6: + toggle_sfx + vibrato 8, 2, 7 + duty_cycle 2 + note_type 5, 12, 5 + octave 4 + note A_, 4 + note F_, 4 + note C_, 8 + note_type 5, 12, 2 + note A#, 2 + note A#, 2 + note A#, 2 + note G_, 2 + note G_, 2 + note A#, 2 + note_type 5, 12, 4 + note A_, 8 + sound_ret + +Sfx_EvolutionCompleteRG_Ch8: + toggle_sfx + note_type 5, 1, 0 + octave 5 + note F_, 4 + note D#, 4 + note C_, 8 + note D#, 1 + rest 1 + note D#, 1 + rest 1 + note E_, 1 + rest 1 + note F_, 1 + rest 1 + note F_, 1 + rest 1 + note G_, 1 + rest 1 + note A_, 8 + sound_ret + +Sfx_GetKeyItemRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 2 + pitch_offset 1 + note_type 5, 10, 4 + octave 3 + note A#, 4 + note_type 5, 11, 1 + octave 4 + note C_, 2 + note C_, 1 + note C_, 1 + note_type 5, 10, 4 + note D#, 4 + note_type 5, 11, 1 + note F_, 2 + note F_, 1 + note F_, 1 + note_type 5, 11, 4 + note A#, 8 + sfx_priority_off + sound_ret + +Sfx_GetKeyItemRG_Ch6: + toggle_sfx + vibrato 4, 2, 3 + duty_cycle 2 + note_type 5, 13, 1 + octave 4 + note G_, 2 + note G_, 1 + note G_, 1 + note_type 5, 12, 4 + note D#, 4 + note_type 5, 13, 1 + note G#, 2 + note G#, 1 + note G#, 1 + note A#, 2 + note A#, 1 + note A#, 1 + note_type 5, 12, 4 + octave 5 + note D#, 8 + sound_ret + +Sfx_GetKeyItemRG_Ch8: + toggle_sfx + note_type 5, 1, 0 + octave 4 + note D#, 4 + note G#, 4 + note G_, 4 + note F_, 4 + note D#, 8 + sound_ret + +Sfx_UnusedFanfare2_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + pitch_offset 1 + duty_cycle 3 + note_type 6, 11, 5 + octave 3 + note G#, 4 + note_type 4, 11, 2 + note F_, 2 + note G#, 2 + note A_, 2 + note A#, 2 + note F#, 2 + note A#, 2 + octave 4 + note C_, 4 + note C_, 2 + note_type 4, 11, 6 + note C#, 12 + sfx_priority_off + sound_ret + +Sfx_UnusedFanfare2_Ch6: + toggle_sfx + duty_cycle 2 + note_type 6, 12, 5 + octave 4 + note C#, 6 + note_type 4, 12, 1 + note C#, 1 + note C#, 1 + note C#, 1 + note_type 4, 12, 2 + note D#, 2 + note C#, 2 + note D#, 2 + note E_, 4 + note E_, 2 + note_type 4, 12, 6 + note F_, 12 + sound_ret + +Sfx_UnusedFanfare2_Ch8: + toggle_sfx + note_type 6, 1, 0 + octave 5 + note C#, 2 + rest 2 + note C#, 2 + rest 2 + note_type 4, 1, 0 + note C#, 2 + rest 2 + note C#, 2 + note D#, 2 + rest 2 + note F_, 2 + note G#, 6 + sound_ret + +Sfx_CaughtPokemonRG_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 3 + pitch_offset 1 + note_type 6, 11, 2 + octave 3 + note E_, 2 + note F#, 2 + note G#, 2 + note G#, 1 + note G#, 1 + note B_, 2 + octave 4 + note C#, 2 + note D#, 2 + note D#, 1 + note D#, 1 + note_type 6, 11, 5 + note E_, 8 + sfx_priority_off + sound_ret + +Sfx_CaughtPokemonRG_Ch6: + toggle_sfx + duty_cycle 2 + note_type 6, 12, 2 + octave 4 + note G#, 2 + note G#, 1 + note G#, 1 + note E_, 2 + note E_, 1 + note E_, 1 + note B_, 2 + note B_, 1 + note B_, 1 + note A_, 2 + note A_, 1 + note A_, 1 + note_type 6, 12, 5 + note G#, 8 + sound_ret + +Sfx_CaughtPokemonRG_Ch8: + toggle_sfx + note_type 6, 1, 0 + octave 4 + note B_, 2 + rest 2 + octave 5 + note C#, 2 + rest 2 + note D#, 2 + rest 2 + note F#, 2 + note G_, 2 + note G#, 4 + sound_ret + +Sfx_UnusedFanfare3_Ch5: + toggle_sfx + sfx_priority_on + tempo 256 + volume 7, 7 + duty_cycle 3 + pitch_offset 1 + note_type 6, 11, 3 + octave 3 + note F_, 4 + note C#, 4 + note F#, 4 + note D#, 4 + note G#, 4 + note F_, 4 + note A#, 4 + note F#, 4 + note_type 4, 11, 3 + note A#, 4 + note B_, 4 + octave 4 + note C_, 4 + note C#, 4 + note D#, 4 + note C_, 4 + note_type 4, 11, 6 + note C#, 12 + sfx_priority_off + sound_ret + +Sfx_UnusedFanfare3_Ch6: + toggle_sfx + duty_cycle 2 + note_type 6, 12, 4 + octave 4 + note C#, 4 + note_type 4, 12, 4 + note C#, 2 + octave 3 + note A#, 2 + octave 4 + note C#, 2 + note D#, 6 + note D#, 2 + octave 3 + note B_, 2 + octave 4 + note D#, 2 + note F_, 6 + note F_, 2 + note C#, 2 + note F_, 2 + note F#, 6 + note F#, 2 + note D#, 2 + note F#, 2 + note C#, 4 + note D#, 4 + note E_, 4 + note F_, 4 + note F#, 4 + note G#, 4 + note_type 4, 12, 6 + note F#, 12 + sound_ret + +Sfx_UnusedFanfare3_Ch8: + toggle_sfx + note_type 6, 1, 0 + octave 4 + note A#, 4 + rest 4 + note B_, 4 + rest 4 + octave 5 + note C#, 4 + rest 4 + note D#, 4 + rest 4 + note_type 4, 1, 0 + note F_, 4 + note D#, 4 + note C#, 4 + note A#, 4 + note G#, 4 + note F_, 4 + note F#, 6 + sound_ret diff --git a/audio/sfx_pointers.asm b/audio/sfx_pointers.asm new file mode 100644 index 0000000..5ef042f --- /dev/null +++ b/audio/sfx_pointers.asm @@ -0,0 +1,114 @@ +INCLUDE "constants.asm" + +SECTION "audio/sfx_pointers.asm", ROMX + +SFX:: +; entries correspond to SFX_* constants + dba Sfx_00 + dba Sfx_Potion + dba Sfx_FullHeal + dba Sfx_Menu + dba Sfx_ReadText + dba Sfx_ReadText + dba Sfx_06 + dba Sfx_07 + dba Sfx_08 + dba Sfx_09 + dba Sfx_BootPC + dba Sfx_EscapeRope + dba Sfx_0c + dba Sfx_0d + dba Sfx_0e + dba Sfx_0f + dba Sfx_10 + dba Sfx_11 + dba Sfx_12 + dba Sfx_13 + dba Sfx_Wrong + dba Sfx_15 + dba Sfx_16 + dba Sfx_17 + dba Sfx_18 + dba Sfx_19 + dba Sfx_1a + dba Sfx_SwitchPokemon + dba Sfx_1c + dba Sfx_1d + dba Sfx_1e + dba Sfx_1f + dba Sfx_20 + dba Sfx_Pokeflute + dba Sfx_22 + dba Sfx_23 + dba Sfx_24 + dba Sfx_25 + dba Sfx_26 + dba Sfx_PokedexRegistration + dba Sfx_28 + dba Sfx_29 + dba Sfx_2a + dba Sfx_2b + dba Sfx_2c + dba Sfx_TitleEntrance + dba Sfx_2e + dba Sfx_2f + dba Sfx_PayDay + dba Sfx_GameFreakLogoRG + dba Sfx_32 + dba Sfx_33 + dba Sfx_34 + dba Sfx_35 + dba Sfx_36 + dba Sfx_37 + dba Sfx_38 + dba Sfx_39 + dba Sfx_3a + dba Sfx_3b + dba Sfx_3c + dba Sfx_3d + dba Sfx_3e + dba Sfx_3f + dba Sfx_40 + dba Sfx_41 + dba Sfx_42 + dba Sfx_43 + dba Sfx_44 + dba Sfx_45 + dba Sfx_46 + dba Sfx_47 + dba Sfx_48 + dba Sfx_49 + dba Sfx_4a + dba Sfx_4b + dba Sfx_4c + dba Sfx_4d + dba Sfx_4e + dba Sfx_4f + dba Sfx_50 + dba Sfx_51 + dba Sfx_52 + dba Sfx_53 + dba Sfx_54 + dba Sfx_55 + dba Sfx_56 + dba Sfx_57 + dba Sfx_58 + dba Sfx_59 + dba Sfx_5a + dba Sfx_5b + dba Sfx_5c + dba Sfx_5d + dba Sfx_5e + dba Sfx_5f + dba Sfx_60 + dba Sfx_61 + dba Sfx_62 + dba Sfx_GetItemRG + dba Sfx_UnusedFanfare1 + dba Sfx_PokedexEvaluationRG + dba Sfx_LevelUpRG + dba Sfx_EvolutionCompleteRG + dba Sfx_GetKeyItemRG + dba Sfx_UnusedFanfare2 + dba Sfx_CaughtPokemonRG + dba Sfx_UnusedFanfare3 diff --git a/constants.asm b/constants.asm index 1e79e49..b3a6365 100644 --- a/constants.asm +++ b/constants.asm @@ -36,6 +36,7 @@ INCLUDE "constants/battle_constants.asm" INCLUDE "constants/palette_constants.asm" INCLUDE "constants/music_constants.asm" INCLUDE "constants/sfx_constants.asm" +INCLUDE "constants/cry_constants.asm" INCLUDE "constants/landmark_constants.asm" INCLUDE "constants/map_constants.asm" INCLUDE "constants/map_setup_constants.asm" diff --git a/constants/cry_constants.asm b/constants/cry_constants.asm new file mode 100644 index 0000000..f8a4341 --- /dev/null +++ b/constants/cry_constants.asm @@ -0,0 +1,42 @@ +; Cries indexes (see audio/cry_pointers.asm) + const_def + + const CRY_00 ; 00 + const CRY_01 ; 01 + const CRY_02 ; 02 + const CRY_03 ; 03 + const CRY_04 ; 04 + const CRY_05 ; 05 + const CRY_06 ; 06 + const CRY_07 ; 07 + const CRY_08 ; 08 + const CRY_09 ; 09 + const CRY_0A ; 0a + const CRY_0B ; 0b + const CRY_0C ; 0c + const CRY_0D ; 0d + const CRY_0E ; 0e + const CRY_0F ; 0f + const CRY_10 ; 10 + const CRY_11 ; 11 + const CRY_12 ; 12 + const CRY_13 ; 13 + const CRY_14 ; 14 + const CRY_15 ; 15 + const CRY_16 ; 16 + const CRY_17 ; 17 + const CRY_18 ; 18 + const CRY_19 ; 19 + const CRY_1A ; 1a + const CRY_1B ; 1b + const CRY_1C ; 1c + const CRY_1D ; 1d + const CRY_1E ; 1e + const CRY_1F ; 1f + const CRY_20 ; 20 + const CRY_21 ; 21 + const CRY_22 ; 22 + const CRY_23 ; 23 + const CRY_24 ; 24 + const CRY_25 ; 25 + diff --git a/constants/sfx_constants.asm b/constants/sfx_constants.asm index fcd1edf..a0a3418 100644 --- a/constants/sfx_constants.asm +++ b/constants/sfx_constants.asm @@ -1,11 +1,11 @@ ; TODO -SFX_BOOT_PC EQU $0A SFX_POTION EQU $01 SFX_FULL_HEAL EQU $02 SFX_MENU EQU $03 SFX_READ_TEXT EQU $04 SFX_READ_TEXT_2 EQU $05 +SFX_BOOT_PC EQU $0A SFX_ESCAPE_ROPE EQU $0B ; player shrink SFX_WRONG EQU $14 SFX_SWITCH_POKEMON EQU $1B @@ -26,3 +26,4 @@ SFX_GET_KEY_ITEM_RG EQU $68 SFX_UNUSED_FANFARE_2 EQU $69 SFX_CAUGHT_POKEMON_RG EQU $6A SFX_UNUSED_FANFARE_3 EQU $6B + diff --git a/data/pokemon/cries.asm b/data/pokemon/cries.asm new file mode 100644 index 0000000..24b85dc --- /dev/null +++ b/data/pokemon/cries.asm @@ -0,0 +1,266 @@ +INCLUDE "constants.asm" + +SECTION "data/pokemon/cries.asm", ROMX + +mon_cry: MACRO +; index, pitch, length + dw \1, \2, \3 +ENDM + +PokemonCries:: + mon_cry CRY_11, 0, 256 ; MON_RHYDON + mon_cry CRY_03, 0, 256 ; MON_KANGASKHAN + mon_cry CRY_00, 0, 256 ; MON_NIDORAN_M + mon_cry CRY_19, 204, 129 ; MON_CLEFAIRY + mon_cry CRY_10, 0, 256 ; MON_SPEAROW + mon_cry CRY_06, 237, 256 ; MON_VOLTORB + mon_cry CRY_09, 0, 256 ; MON_NIDOKING + mon_cry CRY_1F, 0, 256 ; MON_SLOWBRO + mon_cry CRY_0F, 32, 256 ; MON_IVYSAUR + mon_cry CRY_0D, 0, 256 ; MON_EXEGGUTOR + mon_cry CRY_0C, 0, 256 ; MON_LICKITUNG + mon_cry CRY_0B, 0, 256 ; MON_EXEGGCUTE + mon_cry CRY_05, 0, 256 ; MON_GRIMER + mon_cry CRY_07, 0, 383 ; MON_GENGAR + mon_cry CRY_01, 0, 256 ; MON_NIDORAN_F + mon_cry CRY_0A, 0, 256 ; MON_NIDOQUEEN + mon_cry CRY_19, 0, 256 ; MON_CUBONE + mon_cry CRY_04, 0, 256 ; MON_RHYHORN + mon_cry CRY_1B, 0, 256 ; MON_LAPRAS + mon_cry CRY_15, 0, 256 ; MON_ARCANINE + mon_cry CRY_1E, 238, 383 ; MON_MEW + mon_cry CRY_17, 0, 256 ; MON_GYARADOS + mon_cry CRY_18, 0, 256 ; MON_SHELLDER + mon_cry CRY_1A, 0, 256 ; MON_TENTACOOL + mon_cry CRY_1C, 0, 256 ; MON_GASTLY + mon_cry CRY_16, 0, 256 ; MON_SCYTHER + mon_cry CRY_1E, 2, 160 ; MON_STARYU + mon_cry CRY_13, 0, 256 ; MON_BLASTOISE + mon_cry CRY_14, 0, 256 ; MON_PINSIR + mon_cry CRY_12, 0, 256 ; MON_TANGELA + mon_cry CRY_00, 0, 0 ; MON_KAPOERER + mon_cry CRY_00, 0, 0 ; MON_PUDIE + mon_cry CRY_1F, 32, 192 ; MON_GROWLITHE + mon_cry CRY_17, 255, 320 ; MON_ONIX + mon_cry CRY_18, 64, 288 ; MON_FEAROW + mon_cry CRY_0E, 223, 132 ; MON_PIDGEY + mon_cry CRY_02, 0, 256 ; MON_SLOWPOKE + mon_cry CRY_1C, 168, 320 ; MON_KADABRA + mon_cry CRY_24, 0, 256 ; MON_GRAVELER + mon_cry CRY_14, 10, 320 ; MON_CHANSEY + mon_cry CRY_1F, 72, 224 ; MON_MACHOKE + mon_cry CRY_20, 8, 192 ; MON_MRMIME + mon_cry CRY_12, 128, 320 ; MON_HITMONLEE + mon_cry CRY_0C, 238, 320 ; MON_HITMONCHAN + mon_cry CRY_17, 224, 144 ; MON_ARBOK + mon_cry CRY_1E, 66, 383 ; MON_PARASECT + mon_cry CRY_21, 32, 224 ; MON_PSYDUCK + mon_cry CRY_0D, 136, 160 ; MON_DROWZEE + mon_cry CRY_12, 224, 192 ; MON_GOLEM + mon_cry CRY_00, 0, 0 ; MON_HANEKO + mon_cry CRY_04, 255, 176 ; MON_MAGMAR + mon_cry CRY_00, 0, 0 ; MON_TAIL + mon_cry CRY_06, 143, 383 ; MON_ELECTABUZZ + mon_cry CRY_1C, 32, 320 ; MON_MAGNETON + mon_cry CRY_12, 230, 349 ; MON_KOFFING + mon_cry CRY_00, 0, 0 ; MON_POPONEKO + mon_cry CRY_0A, 221, 224 ; MON_MANKEY + mon_cry CRY_0C, 136, 320 ; MON_SEEL + mon_cry CRY_0B, 170, 129 ; MON_DIGLETT + mon_cry CRY_1D, 17, 192 ; MON_TAUROS + mon_cry CRY_00, 0, 0 ; MON_WATANEKO + mon_cry CRY_00, 0, 0 ; MON_BARIRINA + mon_cry CRY_00, 0, 0 ; MON_LIP + mon_cry CRY_10, 221, 129 ; MON_FARFETCHD + mon_cry CRY_1A, 68, 192 ; MON_VENONAT + mon_cry CRY_0F, 60, 320 ; MON_DRAGONITE + mon_cry CRY_00, 128, 16 ; MON_ELEBABY + mon_cry CRY_00, 0, 0 ; MON_BOOBY + mon_cry CRY_1D, 224, 0 ; MON_KIREIHANA + mon_cry CRY_0B, 187, 129 ; MON_DODUO + mon_cry CRY_0E, 255, 383 ; MON_POLIWAG + mon_cry CRY_0D, 255, 383 ; MON_JYNX + mon_cry CRY_09, 248, 192 ; MON_MOLTRES + mon_cry CRY_09, 128, 192 ; MON_ARTICUNO + mon_cry CRY_18, 255, 256 ; MON_ZAPDOS + mon_cry CRY_0E, 255, 383 ; MON_DITTO + mon_cry CRY_19, 119, 144 ; MON_MEOWTH + mon_cry CRY_20, 32, 352 ; MON_KRABBY + mon_cry CRY_22, 255, 64 ; MON_TSUBOMITTO + mon_cry CRY_00, 0, 0 ; MON_MILTANK + mon_cry CRY_0E, 224, 96 ; MON_BOMBSEEKER + mon_cry CRY_24, 79, 144 ; MON_VULPIX + mon_cry CRY_24, 136, 224 ; MON_NINETALES + mon_cry CRY_0F, 238, 129 ; MON_PIKACHU + mon_cry CRY_09, 238, 136 ; MON_RAICHU + mon_cry CRY_00, 0, 0 ; MON_GIFT + mon_cry CRY_00, 0, 0 ; MON_KOTORA + mon_cry CRY_0F, 96, 192 ; MON_DRATINI + mon_cry CRY_0F, 64, 256 ; MON_DRAGONAIR + mon_cry CRY_16, 187, 192 ; MON_KABUTO + mon_cry CRY_18, 238, 129 ; MON_KABUTOPS + mon_cry CRY_19, 153, 144 ; MON_HORSEA + mon_cry CRY_19, 60, 129 ; MON_SEADRA + mon_cry CRY_0F, 64, 192 ; MON_RAITORA + mon_cry CRY_0F, 32, 192 ; MON_MADAME + mon_cry CRY_00, 32, 192 ; MON_SANDSHREW + mon_cry CRY_00, 255, 383 ; MON_SANDSLASH + mon_cry CRY_1F, 240, 129 ; MON_OMANYTE + mon_cry CRY_1F, 255, 192 ; MON_OMASTAR + mon_cry CRY_0E, 255, 181 ; MON_JIGGLYPUFF + mon_cry CRY_0E, 104, 224 ; MON_WIGGLYTUFF + mon_cry CRY_1A, 136, 224 ; MON_EEVEE + mon_cry CRY_1A, 16, 160 ; MON_FLAREON + mon_cry CRY_1A, 61, 256 ; MON_JOLTEON + mon_cry CRY_1A, 170, 383 ; MON_VAPOREON + mon_cry CRY_1F, 238, 129 ; MON_MACHOP + mon_cry CRY_1D, 224, 256 ; MON_ZUBAT + mon_cry CRY_17, 18, 192 ; MON_EKANS + mon_cry CRY_1E, 32, 352 ; MON_PARAS + mon_cry CRY_0E, 119, 224 ; MON_POLIWHIRL + mon_cry CRY_0E, 0, 383 ; MON_POLIWRATH + mon_cry CRY_15, 238, 129 ; MON_WEEDLE + mon_cry CRY_13, 255, 129 ; MON_KAKUNA + mon_cry CRY_13, 96, 256 ; MON_BEEDRILL + mon_cry CRY_00, 0, 0 ; MON_NOROWARA + mon_cry CRY_0B, 153, 160 ; MON_DODRIO + mon_cry CRY_0A, 175, 192 ; MON_PRIMEAPE + mon_cry CRY_0B, 42, 144 ; MON_DUGTRIO + mon_cry CRY_1A, 41, 256 ; MON_VENOMOTH + mon_cry CRY_0C, 35, 383 ; MON_DEWGONG + mon_cry CRY_00, 0, 0 ; MON_KYONPAN + mon_cry CRY_00, 0, 0 ; MON_YAMIKARASU + mon_cry CRY_16, 128, 160 ; MON_CATERPIE + mon_cry CRY_1C, 204, 129 ; MON_METAPOD + mon_cry CRY_16, 119, 192 ; MON_BUTTERFREE + mon_cry CRY_1F, 8, 320 ; MON_MACHAMP + mon_cry CRY_11, 32, 16 ; MON_HAPPI + mon_cry CRY_21, 255, 192 ; MON_GOLDUCK + mon_cry CRY_0D, 238, 192 ; MON_HYPNO + mon_cry CRY_1D, 250, 256 ; MON_GOLBAT + mon_cry CRY_1E, 153, 383 ; MON_MEWTWO + mon_cry CRY_05, 85, 129 ; MON_SNORLAX + mon_cry CRY_17, 128, 128 ; MON_MAGIKARP + mon_cry CRY_00, 0, 0 ; MON_SCISSORS + mon_cry CRY_00, 0, 0 ; MON_PURAKKUSU + mon_cry CRY_07, 239, 383 ; MON_MUK + mon_cry CRY_0F, 64, 0 ; MON_DEVIL + mon_cry CRY_20, 238, 352 ; MON_KINGLER + mon_cry CRY_18, 111, 352 ; MON_CLOYSTER + mon_cry CRY_00, 0, 0 ; MON_HELGAA + mon_cry CRY_06, 168, 272 ; MON_ELECTRODE + mon_cry CRY_19, 170, 160 ; MON_CLEFABLE + mon_cry CRY_12, 255, 383 ; MON_WEEZING + mon_cry CRY_19, 153, 383 ; MON_PERSIAN + mon_cry CRY_08, 79, 224 ; MON_MAROWAK + mon_cry CRY_00, 0, 0 ; MON_WOLFMAN + mon_cry CRY_1C, 48, 192 ; MON_HAUNTER + mon_cry CRY_1C, 192, 129 ; MON_ABRA + mon_cry CRY_1C, 152, 383 ; MON_ALAKAZAM + mon_cry CRY_14, 40, 320 ; MON_PIDGEOTTO + mon_cry CRY_14, 17, 383 ; MON_PIDGEOT + mon_cry CRY_1E, 0, 256 ; MON_STARMIE + mon_cry CRY_0F, 128, 129 ; MON_BULBASAUR + mon_cry CRY_0F, 0, 320 ; MON_VENUSAUR + mon_cry CRY_1A, 238, 383 ; MON_TENTACRUEL + mon_cry CRY_00, 0, 0 ; MON_WARWOLF + mon_cry CRY_16, 128, 192 ; MON_GOLDEEN + mon_cry CRY_16, 16, 383 ; MON_SEAKING + mon_cry CRY_00, 0, 0 ; MON_PORYGON2 + mon_cry CRY_00, 0, 0 ; MON_NAMEIL + mon_cry CRY_00, 0, 0 ; MON_HAGANEIL + mon_cry CRY_00, 0, 0 ; MON_KINGDRA + mon_cry CRY_25, 0, 256 ; MON_PONYTA + mon_cry CRY_25, 32, 320 ; MON_RAPIDASH + mon_cry CRY_22, 0, 256 ; MON_RATTATA + mon_cry CRY_22, 32, 383 ; MON_RATICATE + mon_cry CRY_00, 44, 320 ; MON_NIDORINO + mon_cry CRY_01, 44, 352 ; MON_NIDORINA + mon_cry CRY_24, 240, 144 ; MON_GEODUDE + mon_cry CRY_25, 170, 383 ; MON_PORYGON + mon_cry CRY_23, 32, 368 ; MON_AERODACTYL + mon_cry CRY_00, 0, 0 ; MON_RAI + mon_cry CRY_1C, 128, 224 ; MON_MAGNEMITE + mon_cry CRY_00, 0, 0 ; MON_EN + mon_cry CRY_00, 0, 0 ; MON_SUI + mon_cry CRY_04, 96, 192 ; MON_CHARMANDER + mon_cry CRY_1D, 96, 192 ; MON_SQUIRTLE + mon_cry CRY_04, 32, 192 ; MON_CHARMELEON + mon_cry CRY_1D, 32, 192 ; MON_WARTORTLE + mon_cry CRY_04, 0, 256 ; MON_CHARIZARD + mon_cry CRY_1D, 0, 0 ; MON_NYULA + mon_cry CRY_00, 0, 0 ; MON_HOUOU + mon_cry CRY_00, 0, 0 ; MON_TOGEPY + mon_cry CRY_00, 0, 0 ; MON_BULU + mon_cry CRY_08, 221, 129 ; MON_ODDISH + mon_cry CRY_08, 170, 192 ; MON_GLOOM + mon_cry CRY_23, 34, 383 ; MON_VILEPLUME + mon_cry CRY_21, 85, 129 ; MON_BELLSPROUT + mon_cry CRY_25, 68, 160 ; MON_WEEPINBELL + mon_cry CRY_25, 102, 332 ; MON_VICTREEBEL + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + mon_cry CRY_00, 0, 256 + diff --git a/home/audio.asm b/home/audio.asm index 508a729..d79435e 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -82,10 +82,10 @@ PlayCryHeader:: ldh a, [hROMBank] push af - ld a, BANK(CryHeaders) + ld a, BANK(PokemonCries) ld [MBC3RomBank], a ; Unsafe ldh [hROMBank], a - ld hl, CryHeaders + ld hl, PokemonCries rept 6 add hl, de endr diff --git a/home/cry.asm b/home/cry.asm index 994bc29..706187b 100644 --- a/home/cry.asm +++ b/home/cry.asm @@ -33,9 +33,9 @@ LoadCryHeader:: call GetCryIndex ldh a, [hROMBank] push af - ld a, BANK(CryHeaders) + ld a, BANK(PokemonCries) call Bankswitch - ld hl, CryHeaders + ld hl, PokemonCries add hl, bc add hl, bc add hl, bc diff --git a/layout.link b/layout.link index ed3c411..17ae518 100644 --- a/layout.link +++ b/layout.link @@ -914,8 +914,8 @@ ROMX $3a org $4000 "audio/engine.asm" "audio/songs/none.asm" - "audio/cries.asm@Cry Header Pointers" - "audio/sfx.asm@SFX Pointers" + "audio/cry_pointers.asm" + "audio/sfx_pointers.asm" ROMX $3b org $4000 @@ -933,9 +933,10 @@ ROMX $3b ROMX $3c org $4000 - org $51cb - "audio/cries.asm@Cries" - org $62fe + org $43be + "audio/sfx.asm" + "data/pokemon/cries.asm" + "audio/cries.asm" "audio/songs/title.asm" ROMX $3e @@ -128,156 +128,6 @@ 38:4E5F Cursor_AnimateCursor 38:4EA8 Cursor_InterpretJoypad -; SFX shims -3C:43BE Sfx_01 -3C:43C1 Sfx_02 -3C:43C4 Sfx_03 -3C:43C7 Sfx_04 -3C:43CA Sfx_05 -3C:43CA Sfx_06 -3C:43CD Sfx_07 -3C:43D0 Sfx_08 -3C:43D3 Sfx_09 -3C:43D6 Sfx_0a -3C:43D9 Sfx_0b -3C:43DC Sfx_0c -3C:43DF Sfx_0d -3C:43E2 Sfx_0e -3C:43E5 Sfx_0f -3C:43E8 Sfx_10 -3C:43EB Sfx_11 -3C:43EE Sfx_12 -3C:43F1 Sfx_13 -3C:43F4 Sfx_14 -3C:43F7 Sfx_15 -3C:43FD Sfx_16 -3C:4400 Sfx_17 -3C:4403 Sfx_18 -3C:4409 Sfx_19 -3C:440C Sfx_1a -3C:440F Sfx_1b -3C:4412 Sfx_1c -3C:4418 Sfx_1d -3C:441E Sfx_1e -3C:4424 Sfx_1f -3C:4427 Sfx_20 -3C:442A Sfx_21 -3C:4430 Sfx_22 -3C:4433 Sfx_23 -3C:4436 Sfx_24 -3C:443C Sfx_25 -3C:4442 Sfx_26 -3C:4448 Sfx_27 -3C:444B Sfx_28 -3C:4451 Sfx_29 -3C:4454 Sfx_2a -3C:4457 Sfx_2b -3C:445A Sfx_2c -3C:445D Sfx_2d -3C:4460 Sfx_2e -3C:4463 Sfx_2f -3C:4466 Sfx_30 -3C:4469 Sfx_31 -3C:446F Sfx_32 -3C:4472 Sfx_33 -3C:4475 Sfx_34 -3C:4478 Sfx_35 -3C:447B Sfx_36 -3C:447E Sfx_37 -3C:4481 Sfx_38 -3C:4484 Sfx_39 -3C:4487 Sfx_3a -3C:448A Sfx_3b -3C:448D Sfx_3c -3C:4490 Sfx_3d -3C:4493 Sfx_3e -3C:4496 Sfx_3f -3C:4499 Sfx_40 -3C:449C Sfx_41 -3C:449F Sfx_42 -3C:44A2 Sfx_43 -3C:44A5 Sfx_44 -3C:44A8 Sfx_45 -3C:44AB Sfx_46 -3C:44AE Sfx_47 -3C:44B1 Sfx_48 -3C:44B4 Sfx_49 -3C:44B7 Sfx_4a -3C:44BD Sfx_4b -3C:44C0 Sfx_4c -3C:44C3 Sfx_4d -3C:44C6 Sfx_4e -3C:44C9 Sfx_4f -3C:44CC Sfx_50 -3C:44D2 Sfx_51 -3C:44D5 Sfx_52 -3C:44D8 Sfx_53 -3C:44E1 Sfx_54 -3C:44EA Sfx_55 -3C:44F0 Sfx_56 -3C:44F9 Sfx_57 -3C:44FF Sfx_58 -3C:4508 Sfx_59 -3C:4511 Sfx_5a -3C:451A Sfx_5b -3C:4523 Sfx_5c -3C:452C Sfx_5d -3C:4532 Sfx_5e -3C:4538 Sfx_5f -3C:453E Sfx_60 -3C:4547 Sfx_61 -3C:454D Sfx_62 -3C:4556 Sfx_63 -3C:4559 Sfx_64 -3C:4562 Sfx_65 -3C:456B Sfx_66 -3C:4574 Sfx_67 -3C:457D Sfx_68 -3C:4586 Sfx_69 -3C:458F Sfx_6a -3C:4598 Sfx_6b -3C:45A1 Sfx_6c - -; Cry header shims -3C:57C5 CryHeader_f17c5 -3C:57CE CryHeader_f17ce -3C:57D7 CryHeader_f17d7 -3C:57E0 CryHeader_f17e0 -3C:57E9 CryHeader_f17e9 -3C:57F2 CryHeader_f17f2 -3C:57FB CryHeader_f17fb -3C:5804 CryHeader_f1804 -3C:580D CryHeader_f180d -3C:5816 CryHeader_f1816 -3C:581F CryHeader_f181f -3C:5828 CryHeader_f1828 -3C:5831 CryHeader_f1831 -3C:583A CryHeader_f183a -3C:5843 CryHeader_f1843 -3C:584C CryHeader_f184c -3C:5855 CryHeader_f1855 -3C:585E CryHeader_f185e -3C:5867 CryHeader_f1867 -3C:5870 CryHeader_f1870 -3C:5879 CryHeader_f1879 -3C:5882 CryHeader_f1882 -3C:588B CryHeader_f188b -3C:5894 CryHeader_f1894 -3C:589D CryHeader_f189d -3C:58A6 CryHeader_f18a6 -3C:58AF CryHeader_f18af -3C:58B8 CryHeader_f18b8 -3C:58C1 CryHeader_f18c1 -3C:58CA CryHeader_f18ca -3C:58D3 CryHeader_f18d3 -3C:58DC CryHeader_f18dc -3C:58E5 CryHeader_f18e5 -3C:58EE CryHeader_f18ee -3C:58F7 CryHeader_f18f7 -3C:5900 CryHeader_f1900 -3C:5909 CryHeader_f1909 -3C:5912 CryHeader_f1912 - 3F:40E9 InGameDebugMenu 3F:4C24 Functionfcc24 3F:4E3E Functionfce3e |