Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

649 lines
50 KiB

6 years ago
  1. #ifndef _AUDIODEFINES_H
  2. #define _AUDIODEFINES_H
  3. // Sound Magic Definition:
  4. // First Byte (Upper Nibble): Sound Bank
  5. // First Byte (Lower Nibble): Bitflags for audio playback?
  6. // Second Byte: Sound ID
  7. // Third Byte: Bitflags for audio properties
  8. // Fourth Byte (Upper Nibble): Envelope? (0-8, 8 is play the full sound)
  9. // Fourth Byte (Lower Nibble): Sound Status (this is set to SOUND_PLAYING when passed to the audio driver.)
  10. #define SOUND_ARG_LOAD(bank, playFlags, soundID, priority, envelope) (((u32) (bank) << 28) | \
  11. ((u32) (playFlags) << 24) | ((u32) (soundID) << 16) | ((u32) (priority) << 8) | \
  12. ((u32) (envelope) << 4) | SOUND_STARTING)
  13. /* Audio Status */
  14. #define SOUND_STOPPED 0
  15. #define SOUND_STARTING 1
  16. #define SOUND_PLAYING 2
  17. /* Audio Playback Bitflags. TODO: Figure out what these mean and use them below. */
  18. #define SOUND_PL_BITFLAG_UNK0 (1 << 0) // 0x01
  19. #define SOUND_PL_BITFLAG_UNK1 (1 << 1) // 0x02
  20. #define SOUND_PL_BITFLAG_UNK2 (1 << 2) // 0x04
  21. #define SOUND_PL_BITFLAG_UNK3 (1 << 3) // 0x08
  22. // silence
  23. #define NO_SOUND 0
  24. /**
  25. * The table below defines all sounds that exist in the game, and which flags
  26. * they are used with. If a sound is used with multiple sets of flags (e.g.
  27. * different priorities), they are gives distinguishing suffixes.
  28. * Some sounds are given as 2-byte values rather than SOUND_ARG_LOAD calls.
  29. * These sounds are not directly referenced by the game; either they are
  30. * unused, or they are computed rather than referred to literally, or they
  31. * are loaded from another bank somehow (e.g. bank 9 and 5 seem to use the
  32. * same sounds).
  33. */
  34. /* Terrain sounds */
  35. /**
  36. * Terrain-dependent sounds. func_8025167C computes a sound terrain type
  37. * between 0 and 7, depending on the terrain type of the level and the
  38. * floor type that Mario is standing on. That value is then added to the
  39. * sound ID for the six SOUND_TERRAIN_* sounds.
  40. *
  41. * The sound terrain types represent the following:
  42. * 0: normal
  43. * 1: grass
  44. * 2: water
  45. * 3: normal again (?)
  46. * 4: squeaky floor
  47. * 5: snow
  48. * 6: ice
  49. * 7: sand
  50. *
  51. * TODO: figure out what these sounds are.
  52. */
  53. /* not verified */ #define SOUND_TERRAIN_1 SOUND_ARG_LOAD(0, 4, 0x00, 0x80, 8)
  54. /* not verified */ #define SOUND_TERRAIN_2 SOUND_ARG_LOAD(0, 4, 0x08, 0x80, 8)
  55. /* not verified */ #define SOUND_TERRAIN_3 SOUND_ARG_LOAD(0, 6, 0x10, 0x80, 8)
  56. /* not verified */ #define SOUND_TERRAIN_4 SOUND_ARG_LOAD(0, 4, 0x18, 0x80, 8)
  57. /* not verified */ #define SOUND_TERRAIN_5 SOUND_ARG_LOAD(0, 6, 0x20, 0x80, 8)
  58. /* not verified */ #define SOUND_ACTION_UNKNOWN428 SOUND_ARG_LOAD(0, 4, 0x28, 0x90, 8)
  59. /* not verified */ #define SOUND_ACTION_UNKNOWN429 SOUND_ARG_LOAD(0, 4, 0x29, 0x90, 8)
  60. /* not verified */ #define SOUND_ACTION_UNKNOWN42A SOUND_ARG_LOAD(0, 4, 0x2A, 0x90, 8)
  61. /* not verified */ #define SOUND_ACTION_UNKNOWN42B SOUND_ARG_LOAD(0, 4, 0x2B, 0x90, 8)
  62. /* not verified */ #define SOUND_ACTION_UNKNOWN62C SOUND_ARG_LOAD(0, 6, 0x2C, 0x00, 8)
  63. /* not verified */ #define SOUND_ACTION_UNKNOWN42D SOUND_ARG_LOAD(0, 4, 0x2D, 0xA0, 8)
  64. /* not verified */ #define SOUND_ACTION_UNKNOWN42E SOUND_ARG_LOAD(0, 4, 0x2E, 0x00, 8)
  65. /* not verified */ #define SOUND_ACTION_UNKNOWN42F SOUND_ARG_LOAD(0, 4, 0x2F, 0x90, 8)
  66. /* not verified */ #define SOUND_ACTION_UNKNOWN430 SOUND_ARG_LOAD(0, 4, 0x30, 0xC0, 8)
  67. /* not verified */ #define SOUND_ACTION_UNKNOWN431 SOUND_ARG_LOAD(0, 4, 0x31, 0x60, 8)
  68. /* not verified */ #define SOUND_ACTION_UNKNOWN432 SOUND_ARG_LOAD(0, 4, 0x32, 0x80, 8)
  69. /* not verified */ #define SOUND_ACTION_UNKNOWN433 SOUND_ARG_LOAD(0, 4, 0x33, 0x80, 8)
  70. /* not verified */ #define SOUND_ACTION_UNKNOWN434 SOUND_ARG_LOAD(0, 4, 0x34, 0x80, 8)
  71. /* not verified */ #define SOUND_ACTION_UNKNOWN435 SOUND_ARG_LOAD(0, 4, 0x35, 0x80, 8)
  72. /* not verified */ #define SOUND_ACTION_SWISH1 SOUND_ARG_LOAD(0, 4, 0x36, 0x80, 8)
  73. /* not verified */ #define SOUND_ACTION_SWISH2 SOUND_ARG_LOAD(0, 4, 0x37, 0x80, 8)
  74. /* not verified */ #define SOUND_ACTION_UNKNOWN438 SOUND_ARG_LOAD(0, 4, 0x38, 0x80, 8)
  75. // 0x39?
  76. /* not verified */ #define SOUND_ACTION_CLIMBUPTREE SOUND_ARG_LOAD(0, 4, 0x3A, 0x80, 8)
  77. /* not verified */ #define SOUND_ACTION_CLIMBDOWNTREE 0x043B
  78. /* not verified */ #define SOUND_ACTION_UNKNOWN43C 0x043C
  79. /* not verified */ #define SOUND_ACTION_UNKNOWN43D SOUND_ARG_LOAD(0, 4, 0x3D, 0x80, 8)
  80. /* not verified */ #define SOUND_ACTION_UNKNOWN43E SOUND_ARG_LOAD(0, 4, 0x3E, 0x80, 8)
  81. /* not verified */ #define SOUND_ACTION_PATBACK SOUND_ARG_LOAD(0, 4, 0x3F, 0x80, 8)
  82. /* not verified */ #define SOUND_ACTION_BRUSHHAIR SOUND_ARG_LOAD(0, 4, 0x40, 0x80, 8)
  83. /* not verified */ #define SOUND_ACTION_UNKNOWN441 SOUND_ARG_LOAD(0, 4, 0x41, 0x80, 8)
  84. /* not verified */ #define SOUND_ACTION_UNKNOWN442 SOUND_ARG_LOAD(0, 4, 0x42, 0x80, 8)
  85. /* not verified */ #define SOUND_ACTION_UNKNOWN443 SOUND_ARG_LOAD(0, 4, 0x43, 0x80, 8)
  86. /* not verified */ #define SOUND_ACTION_UNKNOWN444 SOUND_ARG_LOAD(0, 4, 0x44, 0xC0, 8)
  87. /* not verified */ #define SOUND_ACTION_UNKNOWN444_2 SOUND_ARG_LOAD(0, 4, 0x44, 0xB0, 8)
  88. /* not verified */ #define SOUND_ACTION_UNKNOWN444_3 SOUND_ARG_LOAD(0, 4, 0x44, 0xA0, 8)
  89. /* not verified */ #define SOUND_ACTION_UNKNOWN445 SOUND_ARG_LOAD(0, 4, 0x45, 0xA0, 8)
  90. /* not verified */ #define SOUND_ACTION_UNKNOWN446 SOUND_ARG_LOAD(0, 4, 0x46, 0xA0, 8)
  91. /* not verified */ #define SOUND_ACTION_UNKNOWN447 SOUND_ARG_LOAD(0, 4, 0x47, 0xA0, 8)
  92. /* not verified */ #define SOUND_TERRAIN_6 SOUND_ARG_LOAD(0, 4, 0x48, 0x80, 8)
  93. /* not verified */ #define SOUND_ACTION_UNKNOWN450 SOUND_ARG_LOAD(0, 4, 0x50, 0x90, 8)
  94. /* not verified */ #define SOUND_ACTION_UNKNOWN451 SOUND_ARG_LOAD(0, 4, 0x51, 0x90, 8)
  95. /* not verified */ #define SOUND_ACTION_UNKNOWN452 SOUND_ARG_LOAD(0, 4, 0x52, 0x90, 8)
  96. // 0x53, 0x54, 0x55?
  97. /* not verified */ #define SOUND_ACTION_UNKNOWN456 SOUND_ARG_LOAD(0, 4, 0x56, 0x80, 8)
  98. /* not verified */ #define SOUND_ACTION_UNKNOWN457 SOUND_ARG_LOAD(0, 4, 0x57, 0xC0, 8)
  99. /* not verified */ #define SOUND_ACTION_UNKNOWN458 SOUND_ARG_LOAD(0, 4, 0x58, 0xA0, 8)
  100. /* not verified */ #define SOUND_ACTION_UNKNOWN459 SOUND_ARG_LOAD(0, 4, 0x59, 0xB0, 8)
  101. /* not verified */ #define SOUND_ACTION_UNKNOWN45A SOUND_ARG_LOAD(0, 4, 0x5A, 0x80, 8)
  102. /* not verified */ #define SOUND_ACTION_UNKNOWN45B SOUND_ARG_LOAD(0, 4, 0x5B, 0xFF, 8)
  103. /* not verified */ #define SOUND_ACTION_UNKNOWN45C SOUND_ARG_LOAD(0, 4, 0x5C, 0x80, 8)
  104. // 0x5D?
  105. /* not verified */ #define SOUND_ACTION_UNKNOWN45E SOUND_ARG_LOAD(0, 4, 0x5E, 0x80, 8)
  106. /* not verified */ #define SOUND_ACTION_UNKNOWN45F SOUND_ARG_LOAD(0, 4, 0x5F, 0x80, 8)
  107. /* not verified */ #define SOUND_ACTION_UNKNOWN460 SOUND_ARG_LOAD(0, 4, 0x60, 0x80, 8)
  108. /* Moving Sound Effects */
  109. // might be a bad name, consider something else.
  110. /* not verified */ #define SOUND_MOVING_SLIDING1 0x1000
  111. /* not verified */ #define SOUND_UNKNOWN_UNK1400 SOUND_ARG_LOAD(1, 4, 0x00, 0x00, 0)
  112. /* not verified */ #define SOUND_MOVING_SLIDING2 0x1001
  113. /* not verified */ #define SOUND_UNKNOWN_UNK1401 SOUND_ARG_LOAD(1, 4, 0x01, 0x00, 0)
  114. /* not verified */ #define SOUND_MOVING_SLIDINGWATER1 0x1002
  115. /* not verified */ #define SOUND_UNKNOWN_UNK1402 SOUND_ARG_LOAD(1, 4, 0x02, 0x00, 0)
  116. /* not verified */ #define SOUND_MOVING_SLIDING3 0x1003
  117. /* not verified */ #define SOUND_UNKNOWN_UNK1403 SOUND_ARG_LOAD(1, 4, 0x03, 0x00, 0)
  118. /* not verified */ #define SOUND_MOVING_SLIDINGGHOST 0x1004
  119. /* not verified */ #define SOUND_UNKNOWN_UNK1404 SOUND_ARG_LOAD(1, 4, 0x04, 0x00, 0)
  120. /* not verified */ #define SOUND_MOVING_SLIDINGGRASS 0x1005
  121. /* not verified */ #define SOUND_UNKNOWN_UNK1405 SOUND_ARG_LOAD(1, 4, 0x05, 0x00, 0)
  122. /* not verified */ #define SOUND_MOVING_SLIDINGSNOW 0x1006
  123. /* not verified */ #define SOUND_UNKNOWN_UNK1406 SOUND_ARG_LOAD(1, 4, 0x06, 0x00, 0)
  124. /* not verified */ #define SOUND_MOVING_SLIDINGSAND 0x1007
  125. /* not verified */ #define SOUND_MOVING_SLIDING4 0x1008
  126. /* not verified */ #define SOUND_MOVING_SLIDING5 0x1009
  127. /* not verified */ #define SOUND_MOVING_SLIDINGWATER2 0x100A
  128. /* not verified */ #define SOUND_MOVING_SLIDING6 0x100B
  129. /* not verified */ #define SOUND_UNKNOWN_UNK1410 SOUND_ARG_LOAD(1, 4, 0x10, 0x00, 0)
  130. /* not verified */ #define SOUND_UNKNOWN_UNK1411 SOUND_ARG_LOAD(1, 4, 0x11, 0x00, 0)
  131. /* not verified */ #define SOUND_UNKNOWN_UNK1412 SOUND_ARG_LOAD(1, 4, 0x12, 0x80, 0)
  132. /* not verified */ #define SOUND_UNKNOWN_UNK1414 SOUND_ARG_LOAD(1, 4, 0x14, 0x00, 0)
  133. /* not verified */ #define SOUND_UNKNOWN_UNK1416 SOUND_ARG_LOAD(1, 4, 0x16, 0x00, 0)
  134. /* not verified */ #define SOUND_UNKNOWN_UNK1417 SOUND_ARG_LOAD(1, 4, 0x17, 0x00, 0)
  135. /* not verified */ #define SOUND_UNKNOWN_UNK1C18 SOUND_ARG_LOAD(1, 0xC, 0x18, 0x00, 0)
  136. /* not verified */ #define SOUND_MOVING_UNKNOWN19 SOUND_ARG_LOAD(1, 0xD, 0x19, 0x20, 0)
  137. /* not verified */ #define SOUND_MOVING_ONFIRE 0x1020
  138. /* not verified */ #define SOUND_UNKNOWN_UNK1420 SOUND_ARG_LOAD(1, 4, 0x20, 0x00, 0)
  139. /* not verified */ #define SOUND_MOVING_UNKNOWN 0x1021
  140. /* not verified */ #define SOUND_UNKNOWN_UNK1428 SOUND_ARG_LOAD(1, 4, 0x28, 0x00, 0)
  141. /* Mario Sound Effects */
  142. /* not verified */ #define SOUND_MARIO_YAH SOUND_ARG_LOAD(2, 4, 0x00, 0x80, 8)
  143. /* not verified */ #define SOUND_MARIO_WAH1 0x2401
  144. /* not verified */ #define SOUND_MARIO_WOOH 0x2402
  145. /* not verified */ #define SOUND_MARIO_HOOHOO SOUND_ARG_LOAD(2, 4, 0x03, 0x80, 8)
  146. /* not verified */ #define SOUND_MARIO_YAHOO SOUND_ARG_LOAD(2, 4, 0x04, 0x80, 8)
  147. /* not verified */ #define SOUND_MARIO_UH SOUND_ARG_LOAD(2, 4, 0x05, 0x80, 8)
  148. /* not verified */ #define SOUND_MARIO_HRMM SOUND_ARG_LOAD(2, 4, 0x06, 0x80, 8)
  149. /* not verified */ #define SOUND_MARIO_WAH2 SOUND_ARG_LOAD(2, 4, 0x07, 0x80, 8)
  150. /* not verified */ #define SOUND_MARIO_WHOA SOUND_ARG_LOAD(2, 4, 0x08, 0xC0, 8)
  151. /* not verified */ #define SOUND_MARIO_EEUH SOUND_ARG_LOAD(2, 4, 0x09, 0x80, 8)
  152. /* not verified */ #define SOUND_MARIO_ATTACKED SOUND_ARG_LOAD(2, 4, 0x0A, 0xFF, 8)
  153. /* not verified */ #define SOUND_MARIO_OOOF SOUND_ARG_LOAD(2, 4, 0x0B, 0x80, 8)
  154. /* not verified */ #define SOUND_MARIO_OOOF2 SOUND_ARG_LOAD(2, 4, 0x0B, 0xD0, 8)
  155. /* not verified */ #define SOUND_MARIO_HEREWEGO SOUND_ARG_LOAD(2, 4, 0x0C, 0x80, 8)
  156. /* not verified */ #define SOUND_MARIO_YAWNING SOUND_ARG_LOAD(2, 4, 0x0D, 0x80, 8)
  157. /* not verified */ #define SOUND_MARIO_SNORING1 SOUND_ARG_LOAD(2, 4, 0x0E, 0x80, 8)
  158. /* not verified */ #define SOUND_MARIO_SNORING2 SOUND_ARG_LOAD(2, 4, 0x0F, 0x80, 8)
  159. /* not verified */ #define SOUND_MARIO_WAAAOOOW SOUND_ARG_LOAD(2, 4, 0x10, 0xC0, 8)
  160. /* not verified */ #define SOUND_MARIO_HAHA SOUND_ARG_LOAD(2, 4, 0x11, 0x80, 8)
  161. /* not verified */ #define SOUND_MARIO_HAHA_2 SOUND_ARG_LOAD(2, 4, 0x11, 0xF0, 8)
  162. /* not verified */ #define SOUND_MARIO_HOO 0x2412
  163. /* not verified */ #define SOUND_MARIO_UH2 SOUND_ARG_LOAD(2, 4, 0x13, 0xD0, 8)
  164. /* not verified */ #define SOUND_MARIO_UH2_2 SOUND_ARG_LOAD(2, 4, 0x13, 0x80, 8)
  165. /* not verified */ #define SOUND_MARIO_ONFIRE SOUND_ARG_LOAD(2, 4, 0x14, 0xA0, 8)
  166. /* not verified */ #define SOUND_MARIO_DYING SOUND_ARG_LOAD(2, 4, 0x15, 0xFF, 8)
  167. /* not verified */ #define SOUND_MARIO_HOO2 SOUND_ARG_LOAD(2, 4, 0x16, 0x80, 8)
  168. /* not verified */ #define SOUND_MARIO_COUGHING 0x2417
  169. /* not verified */ #define SOUND_MARIO_HOO3 SOUND_ARG_LOAD(2, 4, 0x18, 0x80, 8)
  170. /* not verified */ #define SOUND_MARIO_HOO4 0x2419
  171. /* not verified */ #define SOUND_MARIO_HOO5 0x241A
  172. /* not verified */ #define SOUND_MARIO_COUGHING2 SOUND_ARG_LOAD(2, 4, 0x1B, 0x80, 8)
  173. /* not verified */ #define SOUND_MARIO_COUGHING3 SOUND_ARG_LOAD(2, 4, 0x1C, 0x80, 8)
  174. /* not verified */ #define SOUND_MARIO_COUGHING4 SOUND_ARG_LOAD(2, 4, 0x1D, 0x80, 8)
  175. /* not verified */ #define SOUND_MARIO_YAH2 SOUND_ARG_LOAD(2, 4, 0x1E, 0x80, 8)
  176. /* not verified */ #define SOUND_MARIO_HOO6 SOUND_ARG_LOAD(2, 4, 0x1F, 0x80, 8)
  177. /* not verified */ #define SOUND_MARIO_MAMAMIA SOUND_ARG_LOAD(2, 4, 0x20, 0x80, 8)
  178. /* not verified */ #define SOUND_MARIO_OKEYDOKEY 0x2421
  179. /* not verified */ #define SOUND_MARIO_WAH3 SOUND_ARG_LOAD(2, 4, 0x22, 0x80, 8)
  180. /* not verified */ #define SOUND_MARIO_DROWNING SOUND_ARG_LOAD(2, 4, 0x23, 0xF0, 8)
  181. /* not verified */ #define SOUND_MARIO_WAH4 SOUND_ARG_LOAD(2, 4, 0x24, 0x80, 8)
  182. /* not verified */ #define SOUND_MARIO_UH3 0x2425
  183. /* not verified */ #define SOUND_MARIO_HEAVYLIFT 0x2426
  184. /* not verified */ #define SOUND_MARIO_WAH5 0x2427
  185. /* Mario Sound Effects (Added in US) */
  186. /* not verified */ #define SOUND_PEACH_DEARMARIO SOUND_ARG_LOAD(2, 4, 0x28, 0xFF, 8)
  187. /* not verified */ #define SOUND_MARIO_WOOH2 0x2429
  188. /* not verified */ #define SOUND_MARIO_WOOH3 0x242A
  189. /* not verified */ // the next 5 sounds are in a group of 5 for which the sound is determined by the SetSound call used.
  190. /* not verified */ #define SOUND_MARIO_YAHOO2 SOUND_ARG_LOAD(2, 4, 0x2B, 0x80, 8)
  191. /* not verified */ #define SOUND_MARIO_YAHOO3 SOUND_ARG_LOAD(2, 4, 0x2C, 0x80, 8)
  192. /* not verified */ #define SOUND_MARIO_YAHOO4 SOUND_ARG_LOAD(2, 4, 0x2D, 0x80, 8)
  193. /* not verified */ #define SOUND_MARIO_WAHA SOUND_ARG_LOAD(2, 4, 0x2E, 0x80, 8)
  194. /* not verified */ #define SOUND_MARIO_YIPEE SOUND_ARG_LOAD(2, 4, 0x2F, 0x80, 8)
  195. /* not verified */ #define SOUND_MARIO_DOH SOUND_ARG_LOAD(2, 4, 0x30, 0x80, 8)
  196. /* not verified */ #define SOUND_MARIO_GAMEOVER SOUND_ARG_LOAD(2, 4, 0x31, 0xFF, 8)
  197. /* not verified */ #define SOUND_MARIO_HELLO SOUND_ARG_LOAD(2, 4, 0x32, 0xFF, 8)
  198. /* not verified */ #define SOUND_MARIO_PRESSSTARTTOPLAY SOUND_ARG_LOAD(2, 4, 0x33, 0xFF, 0xA)
  199. /* not verified */ #define SOUND_MARIO_BOING SOUND_ARG_LOAD(2, 4, 0x34, 0x80, 8)
  200. /* not verified */ #define SOUND_MARIO_SNORING3 SOUND_ARG_LOAD(2, 4, 0x35, 0xFF, 8)
  201. /* not verified */ #define SOUND_MARIO_SOLONGABOWSER SOUND_ARG_LOAD(2, 4, 0x36, 0x80, 8)
  202. /* not verified */ #define SOUND_MARIO_IMATIRED SOUND_ARG_LOAD(2, 4, 0x37, 0x80, 8)
  203. /* Princess Peach Sound Effects (US Only) */
  204. /* not verified */ #define SOUND_PEACH_MARIO SOUND_ARG_LOAD(2, 4, 0x38, 0xFF, 8)
  205. /* not verified */ #define SOUND_PEACH_POWEROFTHESTARS SOUND_ARG_LOAD(2, 4, 0x39, 0xFF, 8)
  206. /* not verified */ #define SOUND_PEACH_THANKSTOYOU SOUND_ARG_LOAD(2, 4, 0x3A, 0xFF, 8)
  207. /* not verified */ #define SOUND_PEACH_THANKYOUMARIO SOUND_ARG_LOAD(2, 4, 0x3B, 0xFF, 8)
  208. /* not verified */ #define SOUND_PEACH_SOMETHINGSPECIAL SOUND_ARG_LOAD(2, 4, 0x3C, 0xFF, 8)
  209. /* not verified */ #define SOUND_PEACH_BAKEACAKE SOUND_ARG_LOAD(2, 4, 0x3D, 0xFF, 8)
  210. /* not verified */ #define SOUND_PEACH_FORMARIO SOUND_ARG_LOAD(2, 4, 0x3E, 0xFF, 8)
  211. /* not verified */ #define SOUND_PEACH_MARIO2 SOUND_ARG_LOAD(2, 4, 0x3F, 0xFF, 8)
  212. /* General Sound Effects */
  213. /* not verified */ #define SOUND_GENERAL_EXPLOSION SOUND_ARG_LOAD(3, 0, 0x00, 0x80, 8)
  214. /* not verified */ #define SOUND_GENERAL_MARIOHOLE1 0x3001
  215. /* not verified */ #define SOUND_GENERAL_MARIOHOLE2 0x3002
  216. /* not verified */ #define SOUND_GENERAL_FLAMEOUT SOUND_ARG_LOAD(3, 0, 0x03, 0x80, 8)
  217. /* not verified */ #define SOUND_GENERAL_OPENWOODDOOR SOUND_ARG_LOAD(3, 0, 0x04, 0xC0, 8)
  218. /* not verified */ #define SOUND_GENERAL_CLOSEWOODDOOR SOUND_ARG_LOAD(3, 0, 0x05, 0xC0, 8)
  219. /* not verified */ #define SOUND_GENERAL_OPENIRONDOOR SOUND_ARG_LOAD(3, 0, 0x06, 0xC0, 8)
  220. /* not verified */ #define SOUND_GENERAL_CLOSEIRONDOOR SOUND_ARG_LOAD(3, 0, 0x07, 0xC0, 8)
  221. /* not verified */ #define SOUND_GENERAL_BUBBLES1 0x3008
  222. /* not verified */ #define SOUND_GENERAL_MOVINGWATER SOUND_ARG_LOAD(3, 0, 0x09, 0x00, 8)
  223. /* not verified */ #define SOUND_GENERAL_SWISHWATER SOUND_ARG_LOAD(3, 0, 0x0A, 0x00, 8)
  224. /* not verified */ #define SOUND_GENERAL_QUIETBUBBLE SOUND_ARG_LOAD(3, 0, 0x0B, 0x00, 8)
  225. /* not verified */ #define SOUND_GENERAL_EXPLOSION2 SOUND_ARG_LOAD(3, 0, 0x0C, 0x80, 8)
  226. /* not verified */ #define SOUND_GENERAL_QUIETBUBBLE2 SOUND_ARG_LOAD(3, 0, 0x0D, 0x00, 8)
  227. /* not verified */ #define SOUND_GENERAL_UNUSED SOUND_ARG_LOAD(3, 0, 0x0E, 0x80, 8) // not actually unused?
  228. /* not verified */ #define SOUND_GENERAL_EXPLOSION3 SOUND_ARG_LOAD(3, 0, 0x0F, 0x00, 8)
  229. /* not verified */ #define SOUND_GENERAL_COIN1 0x3010
  230. /* not verified */ #define SOUND_GENERAL_COIN2 SOUND_ARG_LOAD(3, 8, 0x11, 0x80, 8)
  231. /* not verified */ #define SOUND_GENERAL_COINWATER1 SOUND_ARG_LOAD(3, 8, 0x12, 0x80, 8)
  232. /* not verified */ #define SOUND_GENERAL_COINWATER2 0x3013
  233. /* not verified */ #define SOUND_GENERAL_COINWATER3 0x3014
  234. /* not verified */ #define SOUND_GENERAL_COINWATER4 0x3015
  235. /* not verified */ #define SOUND_GENERAL_SHORTSTAR SOUND_ARG_LOAD(3, 0, 0x16, 0x00, 9)
  236. /* not verified */ #define SOUND_GENERAL_BIGCLOCK SOUND_ARG_LOAD(3, 0, 0x17, 0x00, 8)
  237. /* not verified */ #define SOUND_GENERAL_LOUDPOUND 0x3018
  238. /* not verified */ #define SOUND_GENERAL_SHORTPOUND1 0x3019
  239. /* not verified */ #define SOUND_GENERAL_SHORTPOUND2 0x301A
  240. /* not verified */ #define SOUND_GENERAL_SHORTPOUND3 0x301B
  241. /* not verified */ #define SOUND_GENERAL_SHORTPOUND4 0x301C
  242. /* not verified */ #define SOUND_GENERAL_SHORTPOUND5 0x301D
  243. /* not verified */ #define SOUND_GENERAL_SHORTPOUND6 0x301E
  244. /* not verified */ #define SOUND_GENERAL_SHORTPOUND7 0x301F
  245. /* not verified */ #define SOUND_GENERAL_OPENCHEST1 SOUND_ARG_LOAD(3, 1, 0x20, 0x80, 8)
  246. /* not verified */ #define SOUND_GENERAL_OPENCHEST2 0x3021
  247. /* not verified */ #define SOUND_GENERAL_CLAMSHELL1 SOUND_ARG_LOAD(3, 1, 0x22, 0x80, 8)
  248. /* not verified */ #define SOUND_GENERAL_CLAMSHELL2 0x3023
  249. /* not verified */ #define SOUND_GENERAL_BOXLANDING SOUND_ARG_LOAD(3, 0, 0x24, 0x00, 8)
  250. /* not verified */ #define SOUND_GENERAL_BOXLANDING_2 SOUND_ARG_LOAD(3, 2, 0x24, 0x00, 8)
  251. /* not verified */ #define SOUND_GENERAL_UNKNOWN1 SOUND_ARG_LOAD(3, 0, 0x25, 0x00, 8)
  252. /* not verified */ #define SOUND_GENERAL_UNKNOWN1_2 SOUND_ARG_LOAD(3, 2, 0x25, 0x00, 8)
  253. /* not verified */ #define SOUND_GENERAL_CLAMSHELL3 SOUND_ARG_LOAD(3, 0, 0x26, 0x40, 8)
  254. /* not verified */ #define SOUND_GENERAL_CLAMSHELL4 SOUND_ARG_LOAD(3, 0, 0x27, 0x40, 8)
  255. /* not verified */ #define SOUND_GENERAL_EXITPAINTING1 0x3028
  256. #ifdef VERSION_JP
  257. /* not verified */ #define SOUND_UNKNOWN_UNK3828 SOUND_ARG_LOAD(3, 8, 0x28, 0x00, 8)
  258. #else
  259. /* not verified */ #define SOUND_UNKNOWN_UNK3828 SOUND_ARG_LOAD(3, 9, 0x28, 0x00, 8)
  260. #endif
  261. /* not verified */ #define SOUND_GENERAL_EXITPAINTING2 0x3029
  262. /* not verified */ #define SOUND_GENERAL_EXITPAINTING3 0x302A
  263. /* not verified */ #define SOUND_GENERAL_EXITPAINTING4 SOUND_ARG_LOAD(3, 0, 0x2B, 0x00, 8)
  264. /* not verified */ #define SOUND_GENERAL_GETSTAR 0x302C
  265. /* not verified */ #define SOUND_GENERAL_PLATFORM SOUND_ARG_LOAD(3, 0, 0x2D, 0x80, 8)
  266. /* not verified */ #define SOUND_GENERAL_EXPLOSION4 SOUND_ARG_LOAD(3, 0, 0x2E, 0x20, 8)
  267. /* not verified */ #define SOUND_GENERAL_EXPLOSION5 SOUND_ARG_LOAD(3, 1, 0x2F, 0x00, 8)
  268. /* not verified */ #define SOUND_GENERAL_COINSPURT SOUND_ARG_LOAD(3, 0, 0x30, 0x00, 8)
  269. /* not verified */ #define SOUND_GENERAL_COINSPURT_2 SOUND_ARG_LOAD(3, 8, 0x30, 0x00, 8)
  270. /* not verified */ #define SOUND_GENERAL_EXPLOSION6 0x3031
  271. /* not verified */ #define SOUND_GENERAL_UNKNOWN2 0x3032
  272. /* not verified */ #define SOUND_GENERAL_GETCOIN 0x3033
  273. /* not verified */ #define SOUND_GENERAL_BOATTILT1 SOUND_ARG_LOAD(3, 0, 0x34, 0x40, 8)
  274. /* not verified */ #define SOUND_GENERAL_BOATTILT2 SOUND_ARG_LOAD(3, 0, 0x35, 0x40, 8)
  275. /* not verified */ #define SOUND_GENERAL_COINDROP SOUND_ARG_LOAD(3, 0, 0x36, 0x40, 8)
  276. /* not verified */ #define SOUND_GENERAL_UNKNOWN3_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x37, 0x00, 8)
  277. /* not verified */ #define SOUND_GENERAL_UNKNOWN3 SOUND_ARG_LOAD(3, 0, 0x37, 0x80, 8)
  278. /* not verified */ #define SOUND_GENERAL_UNKNOWN3_2 SOUND_ARG_LOAD(3, 8, 0x37, 0x80, 8)
  279. /* not verified */ #define SOUND_GENERAL_SWITCH1 SOUND_ARG_LOAD(3, 0, 0x38, 0x00, 8)
  280. /* not verified */ #define SOUND_GENERAL_CHAINCHOMP1 SOUND_ARG_LOAD(3, 0, 0x39, 0x00, 8)
  281. /* not verified */ #define SOUND_GENERAL_CHAINCHOMP2 SOUND_ARG_LOAD(3, 0, 0x3A, 0x00, 8)
  282. /* not verified */ #define SOUND_GENERAL_SWITCH2 SOUND_ARG_LOAD(3, 0, 0x3B, 0x00, 8)
  283. /* not verified */ #define SOUND_GENERAL_MOVINGINSAND SOUND_ARG_LOAD(3, 0, 0x3C, 0x00, 8)
  284. /* not verified */ #define SOUND_GENERAL_UNKNOWN4_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x3D, 0x00, 8)
  285. /* not verified */ #define SOUND_GENERAL_UNKNOWN4 SOUND_ARG_LOAD(3, 0, 0x3D, 0x80, 8)
  286. /* not verified */ #define SOUND_GENERAL_SWITCH3 SOUND_ARG_LOAD(3, 0, 0x3E, 0x00, 8)
  287. /* not verified */ #define SOUND_GENERAL_CAGEOPEN SOUND_ARG_LOAD(3, 0, 0x3F, 0xA0, 8)
  288. /* not verified */ #define SOUND_GENERAL_QUIETPOUND1_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x40, 0x00, 8)
  289. /* not verified */ #define SOUND_GENERAL_QUIETPOUND1 SOUND_ARG_LOAD(3, 0, 0x40, 0x40, 8)
  290. /* not verified */ #define SOUND_GENERAL_BREAKBOX SOUND_ARG_LOAD(3, 0, 0x41, 0xC0, 8)
  291. /* not verified */ #define SOUND_GENERAL_SWITCH4 SOUND_ARG_LOAD(3, 0, 0x42, 0x00, 8)
  292. /* not verified */ #define SOUND_GENERAL_QUIETPOUND2 SOUND_ARG_LOAD(3, 0, 0x43, 0x00, 8)
  293. /* not verified */ #define SOUND_GENERAL_BIGPOUND SOUND_ARG_LOAD(3, 0, 0x44, 0x00, 8)
  294. /* not verified */ #define SOUND_GENERAL_UNK45 SOUND_ARG_LOAD(3, 0, 0x45, 0x00, 8)
  295. /* not verified */ #define SOUND_GENERAL_UNK46_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x46, 0x00, 8)
  296. /* not verified */ #define SOUND_GENERAL_UNK46 SOUND_ARG_LOAD(3, 0, 0x46, 0x80, 8)
  297. /* not verified */ #define SOUND_GENERAL_CANNONUP SOUND_ARG_LOAD(3, 0, 0x47, 0x80, 8)
  298. /* not verified */ #define SOUND_GENERAL_GRINDELROLL SOUND_ARG_LOAD(3, 0, 0x48, 0x00, 8)
  299. /* not verified */ #define SOUND_GENERAL_EXPLOSION7 0x3049
  300. /* not verified */ #define SOUND_GENERAL_SHAKECOFFIN 0x304A
  301. /* not verified */ #define SOUND_GENERAL_PYRAMIDTOP 0x304B
  302. /* not verified */ #define SOUND_GENERAL_EXPLOSION8 0x304C
  303. /* not verified */ #define SOUND_GENERAL_RACEGUNSHOT SOUND_ARG_LOAD(3, 1, 0x4D, 0x40, 8)
  304. /* not verified */ #define SOUND_GENERAL_STARDOOROPEN SOUND_ARG_LOAD(3, 0, 0x4E, 0xC0, 8)
  305. /* not verified */ #define SOUND_GENERAL_STARDOORCLOSE SOUND_ARG_LOAD(3, 0, 0x4F, 0xC0, 8)
  306. /* not verified */ #define SOUND_GENERAL_BIRDCHIRP1 0x3050
  307. /* not verified */ #define SOUND_GENERAL_BIRDCHIRP2 0x3051
  308. /* not verified */ #define SOUND_GENERAL_BIRDCHIRP3 0x3052
  309. /* not verified */ #define SOUND_GENERAL_BIRDCHIRP4 0x3053
  310. /* not verified */ #define SOUND_GENERAL_SWITCH5 0x3054
  311. /* not verified */ #define SOUND_GENERAL_SWITCH6 0x3055
  312. /* not verified */ #define SOUND_GENERAL_POUNDROCK SOUND_ARG_LOAD(3, 0, 0x56, 0x00, 8)
  313. /* not verified */ #define SOUND_GENERAL_STARAPPEARS SOUND_ARG_LOAD(3, 0, 0x57, 0xFF, 9)
  314. /* not verified */ #define SOUND_GENERAL_1UP SOUND_ARG_LOAD(3, 0, 0x58, 0xFF, 8)
  315. /* not verified */ #define SOUND_GENERAL_ELEVATORHMC 0x3059
  316. /* not verified */ #define SOUND_GENERAL_BUTTONPRESS_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x5A, 0x00, 8)
  317. /* not verified */ #define SOUND_GENERAL_BUTTONPRESS SOUND_ARG_LOAD(3, 0, 0x5A, 0x40, 8)
  318. /* not verified */ #define SOUND_GENERAL_BUTTONPRESS_2_LOWPRIO SOUND_ARG_LOAD(3, 1, 0x5A, 0x00, 8)
  319. /* not verified */ #define SOUND_GENERAL_BUTTONPRESS_2 SOUND_ARG_LOAD(3, 1, 0x5A, 0x40, 8)
  320. /* not verified */ #define SOUND_GENERAL_ELEVATORMOVE SOUND_ARG_LOAD(3, 0, 0x5B, 0x00, 8)
  321. /* not verified */ #define SOUND_GENERAL_ELEVATORMOVE_2 SOUND_ARG_LOAD(3, 1, 0x5B, 0x00, 8)
  322. /* not verified */ #define SOUND_GENERAL_SWISHAIR SOUND_ARG_LOAD(3, 0, 0x5C, 0x00, 8)
  323. /* not verified */ #define SOUND_GENERAL_SWISHAIR_2 SOUND_ARG_LOAD(3, 1, 0x5C, 0x00, 8)
  324. /* not verified */ #define SOUND_GENERAL_HAUNTEDCHAIR SOUND_ARG_LOAD(3, 0, 0x5D, 0x00, 8)
  325. /* not verified */ #define SOUND_GENERAL_SOFTLANDING SOUND_ARG_LOAD(3, 0, 0x5E, 0x00, 8)
  326. /* not verified */ #define SOUND_GENERAL_MOVINGBOOMAYBE SOUND_ARG_LOAD(3, 0, 0x5F, 0x00, 8) // not certain
  327. /* not verified */ #define SOUND_GENERAL_BOWSEREXPLODE 0x3060
  328. /* not verified */ #define SOUND_GENERAL_BOWSERKEY 0x3061
  329. /* not verified */ #define SOUND_GENERAL_BOWSERPLATFORM SOUND_ARG_LOAD(3, 0, 0x62, 0x80, 8)
  330. /* not verified */ #define SOUND_GENERAL_BOWSERPLATFORM_2 SOUND_ARG_LOAD(3, 1, 0x62, 0x80, 8)
  331. /* not verified */ #define SOUND_GENERAL_1UP2 0x3063
  332. /* not verified */ #define SOUND_GENERAL_HEARTSPIN SOUND_ARG_LOAD(3, 0, 0x64, 0xC0, 8)
  333. /* not verified */ #define SOUND_GENERAL_POUNDWOODPOST SOUND_ARG_LOAD(3, 0, 0x65, 0xC0, 8)
  334. /* not verified */ #define SOUND_GENERAL_WATERLEVELTRIG SOUND_ARG_LOAD(3, 0, 0x66, 0x80, 8)
  335. /* not verified */ #define SOUND_GENERAL_SWITCHDOOROPEN SOUND_ARG_LOAD(3, 0, 0x67, 0xA0, 8)
  336. /* not verified */ #define SOUND_GENERAL_REDCOIN SOUND_ARG_LOAD(3, 0, 0x68, 0x90, 8)
  337. /* not verified */ #define SOUND_GENERAL_BIRDSFLYAWAY SOUND_ARG_LOAD(3, 0, 0x69, 0x00, 8)
  338. /* not verified */ #define SOUND_GENERAL_RIGHTANSWER 0x306A
  339. /* not verified */ #define SOUND_GENERAL_METALPOUND SOUND_ARG_LOAD(3, 0, 0x6B, 0x80, 8)
  340. /* not verified */ #define SOUND_GENERAL_BOING1 SOUND_ARG_LOAD(3, 0, 0x6C, 0x40, 8)
  341. /* not verified */ #define SOUND_GENERAL_BOING2_LOWPRIO SOUND_ARG_LOAD(3, 0, 0x6D, 0x20, 8)
  342. /* not verified */ #define SOUND_GENERAL_BOING2 SOUND_ARG_LOAD(3, 0, 0x6D, 0x40, 8)
  343. /* not verified */ #define SOUND_GENERAL_YOSHIWALK SOUND_ARG_LOAD(3, 0, 0x6E, 0x20, 8)
  344. /* not verified */ #define SOUND_GENERAL_ENEMYALERT1 SOUND_ARG_LOAD(3, 0, 0x6F, 0x30, 8)
  345. /* not verified */ #define SOUND_GENERAL_YOSHI SOUND_ARG_LOAD(3, 0, 0x70, 0x30, 8)
  346. /* not verified */ #define SOUND_GENERAL_SPLATTERING SOUND_ARG_LOAD(3, 0, 0x71, 0x30, 8)
  347. /* not verified */ #define SOUND_GENERAL_BOING3 0x3072
  348. /* not verified */ #define SOUND_GENERAL_GRANDSTAR SOUND_ARG_LOAD(3, 0, 0x73, 0x00, 8)
  349. /* not verified */ #define SOUND_GENERAL_GRANDSTARJUMP SOUND_ARG_LOAD(3, 0, 0x74, 0x00, 8)
  350. /* not verified */ #define SOUND_GENERAL_BOATROCK SOUND_ARG_LOAD(3, 0, 0x75, 0x00, 8)
  351. /* not verified */ #define SOUND_GENERAL_VANISHSFX SOUND_ARG_LOAD(3, 0, 0x76, 0x20, 8)
  352. /* not verified */ #define SOUND_GENERAL_MARIOHOLE3 0x3077
  353. /* not verified */ #define SOUND_GENERAL_REDCOIN2 0x3078
  354. /* not verified */ #define SOUND_GENERAL_BIRDSFLYAWAY2 0x3079
  355. /* not verified */ #define SOUND_GENERAL_RIGHTANSWER2 0x307A
  356. /* not verified */ #define SOUND_GENERAL_METALPOUND2 0x307B
  357. /* not verified */ #define SOUND_GENERAL_BOING4 0x307C
  358. /* not verified */ #define SOUND_GENERAL_BOING5 0x307D
  359. /* not verified */ #define SOUND_GENERAL_UNKNOWN5 0x307E // Unused, sounds identical to YOSHIWALK
  360. /* not verified */ #define SOUND_GENERAL_ENEMYALERT2 0x307F
  361. /* Environment Sound Effects */
  362. /* not verified */ #define SOUND_ENVIRONMENT_WATERFALL1 SOUND_ARG_LOAD(4, 0, 0x00, 0x00, 0)
  363. /* not verified */ #define SOUND_ENVIRONMENT_WATERFALL2 SOUND_ARG_LOAD(4, 0, 0x01, 0x00, 0)
  364. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR1 SOUND_ARG_LOAD(4, 0, 0x02, 0x00, 0)
  365. /* not verified */ #define SOUND_ENVIRONMENT_DRONING1 SOUND_ARG_LOAD(4, 1, 0x03, 0x00, 0)
  366. /* not verified */ #define SOUND_ENVIRONMENT_DRONING2 SOUND_ARG_LOAD(4, 0, 0x04, 0x00, 0)
  367. /* not verified */ #define SOUND_ENVIRONMENT_WIND1 SOUND_ARG_LOAD(4, 0, 0x05, 0x00, 0)
  368. /* not verified */ #define SOUND_ENVIRONMENT_MOVINGSANDSNOW 0x4006
  369. /* not verified */ #define SOUND_ENVIRONMENT_UNKNOWN1 0x4007
  370. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR2 SOUND_ARG_LOAD(4, 0, 0x08, 0x00, 0)
  371. /* not verified */ #define SOUND_ENVIRONMENT_WATER SOUND_ARG_LOAD(4, 0, 0x09, 0x00, 0)
  372. /* not verified */ #define SOUND_ENVIRONMENT_UNKNOWN2 SOUND_ARG_LOAD(4, 0, 0x0A, 0x00, 0)
  373. /* not verified */ #define SOUND_ENVIRONMENT_BOATROCKING1 SOUND_ARG_LOAD(4, 0, 0x0B, 0x00, 0)
  374. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR3 SOUND_ARG_LOAD(4, 0, 0x0C, 0x00, 0)
  375. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR4 SOUND_ARG_LOAD(4, 0, 0x0D, 0x00, 0)
  376. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR4_2 SOUND_ARG_LOAD(4, 1, 0x0D, 0x00, 0)
  377. /* not verified */ #define SOUND_ENVIRONMENT_MOVINGSAND SOUND_ARG_LOAD(4, 0, 0x0E, 0x00, 0)
  378. /* not verified */ #define SOUND_ENVIRONMENT_BOATROCKING2 SOUND_ARG_LOAD(4, 0, 0x0F, 0x40, 0)
  379. /* not verified */ #define SOUND_ENVIRONMENT_WIND2 SOUND_ARG_LOAD(4, 0, 0x10, 0x80, 0)
  380. /* not verified */ #define SOUND_ENVIRONMENT_MOVINGSANDSNOW2 0x4011
  381. /* not verified */ #define SOUND_ENVIRONMENT_UNKNOWN3 0x4012
  382. /* not verified */ #define SOUND_ENVIRONMENT_SLIDING SOUND_ARG_LOAD(4, 0, 0x13, 0x00, 0)
  383. /* not verified */ #define SOUND_ENVIRONMENT_STAR SOUND_ARG_LOAD(4, 0, 0x14, 0x00, 1)
  384. /* not verified */ #define SOUND_ENVIRONMENT_UNKNOWN4 SOUND_ARG_LOAD(4, 1, 0x15, 0x00, 0)
  385. /* not verified */ #define SOUND_ENVIRONMENT_WATERDRAIN SOUND_ARG_LOAD(4, 1, 0x16, 0x00, 0)
  386. /* not verified */ #define SOUND_ENVIRONMENT_METALBOXPUSH SOUND_ARG_LOAD(4, 0, 0x17, 0x80, 0)
  387. /* not verified */ #define SOUND_ENVIRONMENT_SINKQUICKSAND SOUND_ARG_LOAD(4, 0, 0x18, 0x80, 0)
  388. /* not verified */ #define SOUND_ENVIRONMENT_PEACHSPARKLE 0x4019
  389. /* not verified */ #define SOUND_ENVIRONMENT_ELEVATOR5 0x401A
  390. /* not verified */ #define SOUND_ENVIRONMENT_FIRE 0x401B
  391. /* Object Sound Effects */
  392. /* not verified */ #define SOUND_OBJECT_WATERSOUND SOUND_ARG_LOAD(5, 0, 0x00, 0x80, 8)
  393. /* not verified */ #define SOUND_OBJECT_MRISHOOT SOUND_ARG_LOAD(5, 0, 0x01, 0x00, 8)
  394. /* not verified */ #define SOUND_OBJECT_PENGUINWALKING1 SOUND_ARG_LOAD(5, 0, 0x02, 0x00, 8)
  395. /* not verified */ #define SOUND_OBJECT_BOWSERWALK SOUND_ARG_LOAD(5, 0, 0x03, 0x00, 8)
  396. /* not verified */ #define SOUND_OBJECT_BOWSERROAR 0x5004
  397. /* not verified */ #define SOUND_OBJECT_BOWSERTAILPICKUP SOUND_ARG_LOAD(5, 0, 0x05, 0x00, 8)
  398. /* not verified */ #define SOUND_OBJECT_BOWSERDEFEATED SOUND_ARG_LOAD(5, 0, 0x06, 0x00, 8)
  399. /* not verified */ #define SOUND_OBJECT_BOWSERSPINNING SOUND_ARG_LOAD(5, 0, 0x07, 0x00, 8)
  400. /* not verified */ #define SOUND_OBJECT_BOWSERINHALING SOUND_ARG_LOAD(5, 0, 0x08, 0x00, 8)
  401. /* not verified */ #define SOUND_OBJECT_PENGUINWALKING2 SOUND_ARG_LOAD(5, 0, 0x09, 0x80, 8)
  402. /* not verified */ #define SOUND_OBJECT_UNKNOWN1 SOUND_ARG_LOAD(5, 0, 0x0A, 0x00, 8)
  403. /* not verified */ #define SOUND_OBJECT_BOOLAUGH1 SOUND_ARG_LOAD(5, 0, 0x0B, 0x00, 8)
  404. /* not verified */ #define SOUND_OBJECT_THWOMP SOUND_ARG_LOAD(5, 0, 0x0C, 0xA0, 8)
  405. /* not verified */ #define SOUND_OBJECT_CANNON1 SOUND_ARG_LOAD(5, 0, 0x0D, 0xF0, 8)
  406. /* not verified */ #define SOUND_OBJECT_CANNON2 SOUND_ARG_LOAD(5, 0, 0x0E, 0xF0, 8)
  407. /* not verified */ #define SOUND_OBJECT_CANNON3 SOUND_ARG_LOAD(5, 0, 0x0F, 0xF0, 8)
  408. /* not verified */ #define SOUND_OBJECT_PIRANHAPLANTCHOMP 0x5010
  409. /* not verified */ #define SOUND_OBJECT_PIRANHAPLANTDEATH 0x5011
  410. /* not verified */ #define SOUND_OBJECT_JUMPWALKWATER 0x5012
  411. /* not verified */ #define SOUND_OBJECT_UNKNOWN2 SOUND_ARG_LOAD(5, 0, 0x13, 0x00, 8)
  412. /* not verified */ #define SOUND_OBJECT_MRIDEATH SOUND_ARG_LOAD(5, 0, 0x14, 0x00, 8)
  413. /* not verified */ #define SOUND_OBJECT_POUNDING1 SOUND_ARG_LOAD(5, 0, 0x15, 0x50, 8)
  414. /* not verified */ #define SOUND_OBJECT_POUNDING1_HIGHPRIO SOUND_ARG_LOAD(5, 0, 0x15, 0x80, 8)
  415. /* not verified */ #define SOUND_OBJECT_BULLYTHWOMP_LOWPRIO SOUND_ARG_LOAD(5, 0, 0x16, 0x60, 8)
  416. /* not verified */ #define SOUND_OBJECT_BULLYTHWOMP SOUND_ARG_LOAD(5, 0, 0x16, 0x80, 8)
  417. /* not verified */ #define SOUND_OBJECT_BULLYMETAL SOUND_ARG_LOAD(5, 0, 0x17, 0x80, 8)
  418. /* not verified */ #define SOUND_OBJECT_BULLYEXPLODE SOUND_ARG_LOAD(5, 0, 0x18, 0xA0, 8)
  419. /* not verified */ #define SOUND_OBJECT_BULLYEXPLODE_2 SOUND_ARG_LOAD(5, 1, 0x18, 0xA0, 8)
  420. /* not verified */ #define SOUND_OBJECT_BOWSERPUZZLE 0x5019
  421. /* not verified */ #define SOUND_OBJECT_POUNDINGCANNON SOUND_ARG_LOAD(5, 0, 0x1A, 0x50, 8)
  422. /* not verified */ #define SOUND_OBJECT_BULLYWALK SOUND_ARG_LOAD(5, 0, 0x1B, 0x30, 8)
  423. /* not verified */ #define SOUND_OBJECT_BULLYATTACKED 0x501C
  424. /* not verified */ #define SOUND_OBJECT_UNKNOWN3 SOUND_ARG_LOAD(5, 0, 0x1D, 0x80, 8)
  425. /* not verified */ #define SOUND_OBJECT_UNKNOWN4 SOUND_ARG_LOAD(5, 0, 0x1E, 0xA0, 8)
  426. /* not verified */ #define SOUND_OBJECT_BABYPENGUINTRICK SOUND_ARG_LOAD(5, 0, 0x1F, 0x40, 8)
  427. /* not verified */ #define SOUND_OBJECT_GOOMBAWALK SOUND_ARG_LOAD(5, 0, 0x20, 0x00, 8)
  428. /* not verified */ #define SOUND_OBJECT_MONKEY1 SOUND_ARG_LOAD(5, 0, 0x21, 0x00, 8)
  429. /* not verified */ #define SOUND_OBJECT_MONTYMOLEATTACK SOUND_ARG_LOAD(5, 0, 0x22, 0x00, 8)
  430. /* not verified */ #define SOUND_OBJECT_EVILLAKITUTHROW SOUND_ARG_LOAD(5, 0, 0x22, 0x20, 8)
  431. /* not verified */ #define SOUND_OBJECT_UNKNOWN5 0x5023
  432. /* not verified */ #define SOUND_OBJECT_DYINGENEMY1 SOUND_ARG_LOAD(5, 0, 0x24, 0x40, 8)
  433. /* not verified */ #define SOUND_OBJECT_CANNON4 SOUND_ARG_LOAD(5, 0, 0x25, 0x40, 8)
  434. /* not verified */ #define SOUND_OBJECT_DYINGENEMY2 0x5026
  435. /* not verified */ #define SOUND_OBJECT_BOBOMBWALK SOUND_ARG_LOAD(5, 0, 0x27, 0x00, 8)
  436. /* not verified */ #define SOUND_OBJECT_SOMETHINGLANDING SOUND_ARG_LOAD(5, 0, 0x28, 0x80, 8)
  437. /* not verified */ #define SOUND_OBJECT_DIVINGINWATER SOUND_ARG_LOAD(5, 0, 0x29, 0xA0, 8)
  438. /* not verified */ #define SOUND_OBJECT_SNOWSAND1 SOUND_ARG_LOAD(5, 0, 0x2A, 0x00, 8)
  439. /* not verified */ #define SOUND_OBJECT_SNOWSAND2 SOUND_ARG_LOAD(5, 0, 0x2B, 0x00, 8)
  440. /* not verified */ #define SOUND_OBJECT_FLAMEVANISHING 0x502C
  441. /* not verified */ #define SOUND_OBJECT_DEFAULTDEATH SOUND_ARG_LOAD(5, 0, 0x2C, 0x80, 8)
  442. /* not verified */ #define SOUND_OBJECT_BIGPENGUIN SOUND_ARG_LOAD(5, 0, 0x2D, 0x00, 8)
  443. /* not verified */ #define SOUND_OBJECT_WATERBOMBBOUNCING SOUND_ARG_LOAD(5, 0, 0x2E, 0x80, 8)
  444. /* not verified */ #define SOUND_OBJECT_GOOMBAALERT SOUND_ARG_LOAD(5, 0, 0x2F, 0x00, 8)
  445. /* not verified */ #define SOUND_OBJECT_WIGGLERUNK2F SOUND_ARG_LOAD(5, 0, 0x2F, 0x60, 8)
  446. /* not verified */ #define SOUND_OBJECT_STOMPED SOUND_ARG_LOAD(5, 0, 0x30, 0x80, 8)
  447. /* not verified */ #define SOUND_OBJECT_UNKNOWN6 SOUND_ARG_LOAD(5, 0, 0x31, 0x00, 8)
  448. /* not verified */ #define SOUND_OBJECT_DIVINGINTOWATER SOUND_ARG_LOAD(5, 0, 0x32, 0x40, 8)
  449. /* not verified */ #define SOUND_OBJECT_PIRANHAPLANTSHRINK SOUND_ARG_LOAD(5, 0, 0x33, 0x40, 8)
  450. /* not verified */ #define SOUND_OBJECT_YOSHIWALK 0x5034
  451. /* not verified */ #define SOUND_OBJECT_UNK50342081 SOUND_ARG_LOAD(5, 0, 0x34, 0x20, 8)
  452. /* not verified */ #define SOUND_OBJECT_UNKNOWNWALKING 0x5035
  453. /* not verified */ #define SOUND_OBJECT_UNK50350081 SOUND_ARG_LOAD(5, 0, 0x35, 0x00, 8)
  454. /* not verified */ #define SOUND_OBJECT_BULLYWALKING SOUND_ARG_LOAD(5, 0, 0x36, 0x60, 8)
  455. /* not verified */ #define SOUND_OBJECT_DORRIE SOUND_ARG_LOAD(5, 0, 0x37, 0x60, 8)
  456. /* not verified */ #define SOUND_OBJECT_BOWSERLAUGH SOUND_ARG_LOAD(5, 0, 0x38, 0x80, 8)
  457. /* not verified */ #define SOUND_OBJECT_MONKEY2 SOUND_ARG_LOAD(5, 0, 0x39, 0x00, 8)
  458. /* not verified */ #define SOUND_OBJECT_MONKEY3 SOUND_ARG_LOAD(5, 0, 0x3A, 0x00, 8)
  459. /* not verified */ #define SOUND_OBJECT_UNKNOWN7 SOUND_ARG_LOAD(5, 0, 0x3B, 0x00, 8)
  460. /* not verified */ #define SOUND_OBJECT_UNKNOWN8 SOUND_ARG_LOAD(5, 0, 0x3C, 0x00, 8)
  461. /* not verified */ #define SOUND_OBJECT_KOOPA SOUND_ARG_LOAD(5, 0, 0x3D, 0xA0, 8)
  462. /* not verified */ #define SOUND_OBJECT_KOOPADAMAGE SOUND_ARG_LOAD(5, 0, 0x3E, 0xA0, 8)
  463. /* not verified */ #define SOUND_OBJECT_KLEPTO1 SOUND_ARG_LOAD(5, 0, 0x3F, 0x40, 8)
  464. /* not verified */ #define SOUND_OBJECT_KLEPTO2 SOUND_ARG_LOAD(5, 0, 0x40, 0x60, 8)
  465. /* not verified */ #define SOUND_OBJECT_KINGBOBOMB SOUND_ARG_LOAD(5, 0, 0x41, 0x00, 8)
  466. /* not verified */ #define SOUND_OBJECT_KINGBOBOMBDAMAGE 0x5042
  467. /* not verified */ #define SOUND_OBJECT_SCUTTLEBUGWALK 0x5043
  468. /* not verified */ #define SOUND_OBJECT_SCUTTLEBUGALERT 0x5044
  469. /* not verified */ #define SOUND_OBJECT_BABYPENGUIN 0x5045
  470. /* not verified */ #define SOUND_OBJECT_KINGBOBOMBJUMP SOUND_ARG_LOAD(5, 0, 0x46, 0x80, 8)
  471. /* not verified */ #define SOUND_OBJECT_KINGWHOMPDEATH SOUND_ARG_LOAD(5, 1, 0x47, 0xC0, 8)
  472. /* not verified */ #define SOUND_OBJECT_BOOLAUGH2 SOUND_ARG_LOAD(5, 0, 0x48, 0x00, 8)
  473. /* not verified */ #define SOUND_OBJECT_BAT 0x5049
  474. /* not verified */ #define SOUND_OBJECT_EEL SOUND_ARG_LOAD(5, 0, 0x4A, 0x00, 8)
  475. /* not verified */ #define SOUND_OBJECT_EEL_2 SOUND_ARG_LOAD(5, 2, 0x4A, 0x00, 8)
  476. /* not verified */ #define SOUND_OBJECT_BRIDGEEXPLODE SOUND_ARG_LOAD(5, 2, 0x4B, 0x00, 8)
  477. /* not verified */ #define SOUND_OBJECT_ENEMYALERT SOUND_ARG_LOAD(5, 0, 0x4C, 0x00, 8)
  478. /* not verified */ #define SOUND_OBJECT_SNUFITSHOOT SOUND_ARG_LOAD(5, 0, 0x4D, 0x00, 8)
  479. /* not verified */ #define SOUND_OBJECT_SKEETERWALK SOUND_ARG_LOAD(5, 0, 0x4E, 0x00, 8)
  480. /* not verified */ #define SOUND_OBJECT_WALKINGWATER SOUND_ARG_LOAD(5, 0, 0x4F, 0x00, 8)
  481. /* not verified */ #define SOUND_OBJECT_BIRDS1 0x5050
  482. /* not verified */ #define SOUND_OBJECT_BIRDS2 SOUND_ARG_LOAD(5, 0, 0x51, 0x40, 0)
  483. /* not verified */ #define SOUND_OBJECT_BIRDS3 0x5052
  484. /* not verified */ #define SOUND_OBJECT_BIRDS4 0x5053
  485. /* not verified */ #define SOUND_OBJECT_PIRANHAPLANTAPPEAR SOUND_ARG_LOAD(5, 0, 0x54, 0x20, 8)
  486. /* not verified */ #define SOUND_OBJECT_FLAMEBLOWN SOUND_ARG_LOAD(5, 0, 0x55, 0x80, 8)
  487. /* not verified */ #define SOUND_OBJECT_MADPIANOCHOMPING SOUND_ARG_LOAD(5, 2, 0x56, 0x40, 8)
  488. /* not verified */ #define SOUND_OBJECT_BULLYOTHERENEMY 0x5057
  489. /* not verified */ #define SOUND_OBJECT_BOBOMBBUDDY SOUND_ARG_LOAD(5, 0, 0x58, 0x40, 8)
  490. /* not verified */ #define SOUND_OBJECT_SPINYUNK59 SOUND_ARG_LOAD(5, 0, 0x59, 0x10, 8)
  491. /* not verified */ #define SOUND_OBJECT_THWOMPSOUNDSHORT 0x505A
  492. /* not verified */ #define SOUND_OBJECT_THWOMPSOUNDLONG 0x505B
  493. /* not verified */ #define SOUND_OBJECT_WIGGLER SOUND_ARG_LOAD(5, 0, 0x5C, 0x40, 8)
  494. /* not verified */ #define SOUND_OBJECT_HEAVEHOTOSSED SOUND_ARG_LOAD(5, 0, 0x5D, 0x40, 8)
  495. /* not verified */ #define SOUND_OBJECT_WIGGLERDEATH 0x505E
  496. /* not verified */ #define SOUND_OBJECT_BOWSERINTROLAUGH SOUND_ARG_LOAD(5, 0, 0x5F, 0x80, 9)
  497. /* not verified */ #define SOUND_OBJECT_ENEMYDEATHHIGH SOUND_ARG_LOAD(5, 0, 0x60, 0xB0, 8)
  498. /* not verified */ #define SOUND_OBJECT_ENEMYDEATHLOW SOUND_ARG_LOAD(5, 0, 0x61, 0xB0, 8)
  499. /* not verified */ #define SOUND_OBJECT_BATDEATH SOUND_ARG_LOAD(5, 0, 0x62, 0xB0, 8)
  500. /* not verified */ #define SOUND_OBJECT_KOOPADEATH SOUND_ARG_LOAD(5, 0, 0x63, 0xB0, 8)
  501. /* not verified */ #define SOUND_OBJECT_FLYGUYDEATH SOUND_ARG_LOAD(5, 0, 0x63, 0xB0, 8)
  502. /* not verified */ #define SOUND_OBJECT_POKEYDEATH SOUND_ARG_LOAD(5, 0, 0x63, 0xC0, 8)
  503. /* not verified */ #define SOUND_OBJECT_WATERBOMBBOUNCING2 SOUND_ARG_LOAD(5, 0, 0x64, 0xC0, 8)
  504. /* not verified */ #define SOUND_OBJECT_EXPLODE SOUND_ARG_LOAD(5, 0, 0x65, 0xD0, 8)
  505. /* not verified */ #define SOUND_OBJECT_TELEPORT 0x5066
  506. /* not verified */ #define SOUND_OBJECT_UNKNOWN9 0x5067
  507. /* not verified */ #define SOUND_OBJECT_POUNDINGLOUD SOUND_ARG_LOAD(5, 0, 0x68, 0x40, 8)
  508. /* not verified */ #define SOUND_OBJECT_KINGWHOMP 0x5069
  509. /* not verified */ #define SOUND_OBJECT_MIPSRABBIT SOUND_ARG_LOAD(5, 0, 0x6A, 0x00, 8)
  510. /* not verified */ #define SOUND_OBJECT_MRISPINNING 0x506B
  511. /* not verified */ #define SOUND_OBJECT_MIPSRABBITWATER SOUND_ARG_LOAD(5, 0, 0x6C, 0x00, 8)
  512. /* not verified */ #define SOUND_OBJECT_EYEROKEXPLODE SOUND_ARG_LOAD(5, 0, 0x6D, 0x00, 8)
  513. /* not verified */ #define SOUND_OBJECT_CHUCKYADEATH SOUND_ARG_LOAD(5, 1, 0x6E, 0x00, 8)
  514. /* not verified */ #define SOUND_OBJECT_WIGGLER2 SOUND_ARG_LOAD(5, 0, 0x6F, 0x00, 8)
  515. /* not verified */ #define SOUND_OBJECT_WIGGLERATTACK SOUND_ARG_LOAD(5, 0, 0x70, 0x60, 8)
  516. /* not verified */ #define SOUND_OBJECT_WIGGLERWALK SOUND_ARG_LOAD(5, 0, 0x71, 0x20, 8)
  517. /* not verified */ #define SOUND_OBJECT_SNUFITDEATH SOUND_ARG_LOAD(5, 0, 0x72, 0xC0, 8)
  518. /* not verified */ #define SOUND_OBJECT_CHOMPINGSOUND SOUND_ARG_LOAD(5, 0, 0x73, 0x40, 8)
  519. /* not verified */ #define SOUND_OBJECT_ENEMYDEFEATSHRINK SOUND_ARG_LOAD(5, 0, 0x74, 0x40, 8)
  520. /* not verified */ #define SOUND_OBJECT_BOWSERTAILPICKUP2 0x5075
  521. /* not verified */ #define SOUND_OBJECT_BOWSERDEFEATED2 0x5076
  522. /* not verified */ #define SOUND_OBJECT_BOWSERSWINGTAIL 0x5077
  523. /* not verified */ #define SOUND_OBJECT_KLEPTO3 0x5078
  524. /* not verified */ #define SOUND_OBJECT_KINGBOBOMB2 0x5079
  525. /* not verified */ #define SOUND_OBJECT_PENGUINWALKING3 0x507A
  526. /* not verified */ #define SOUND_OBJECT_POUNDING2 0x507B
  527. /* not verified */ #define SOUND_OBJECT_BOWSERROAR2 0x507C
  528. /* not verified */ #define SOUND_OBJECT_BOWSERTAILPICKUP3 0x507D
  529. /* not verified */ #define SOUND_OBJECT_BOWSERDEFEATED3 0x507E
  530. /* not verified */ #define SOUND_OBJECT_BOWSERSWINGTAIL2 0x507F
  531. // Channel 6 sound effects are not yet explored.
  532. /* not verified */ #define SOUND_CH6_UNKNOWN000 SOUND_ARG_LOAD(6, 0, 0x00, 0x00, 0)
  533. /* not verified */ #define SOUND_CH6_UNKNOWN002 SOUND_ARG_LOAD(6, 0, 0x02, 0x80, 0)
  534. /* not verified */ #define SOUND_CH6_UNKNOWN002_HIGHPRIO SOUND_ARG_LOAD(6, 0, 0x02, 0xFF, 0)
  535. /* not verified */ #define SOUND_CH6_UNKNOWN003 SOUND_ARG_LOAD(6, 0, 0x03, 0x40, 0)
  536. /* not verified */ #define SOUND_CH6_UNKNOWN004 SOUND_ARG_LOAD(6, 0, 0x04, 0x80, 0)
  537. /* not verified */ #define SOUND_CH6_UNKNOWN004_2 SOUND_ARG_LOAD(6, 0, 0x04, 0x40, 0)
  538. /* not verified */ #define SOUND_CH6_UNKNOWN005 SOUND_ARG_LOAD(6, 0, 0x05, 0x00, 0)
  539. /* not verified */ #define SOUND_CH6_UNKNOWN006 SOUND_ARG_LOAD(6, 0, 0x06, 0x40, 0)
  540. /* not verified */ #define SOUND_CH6_UNKNOWN008 SOUND_ARG_LOAD(6, 0, 0x08, 0x60, 0)
  541. /* not verified */ #define SOUND_CH6_UNKNOWN009 SOUND_ARG_LOAD(6, 0, 0x09, 0x80, 0)
  542. /* not verified */ #define SOUND_CH6_UNKNOWN00A SOUND_ARG_LOAD(6, 0, 0x0A, 0x40, 0)
  543. /* not verified */ #define SOUND_CH6_UNKNOWN00B SOUND_ARG_LOAD(6, 0, 0x0B, 0x40, 0)
  544. /* not verified */ #define SOUND_CH6_UNKNOWN010 SOUND_ARG_LOAD(6, 0, 0x10, 0x40, 0)
  545. /* Menu Sound Effects */
  546. /* not verified */ #define SOUND_MENU_CHANGESELECT SOUND_ARG_LOAD(7, 0, 0x00, 0xF8, 8)
  547. /* not verified */ #define SOUND_MENU_REVERSEPAUSE 0x7001
  548. /* not verified */ #define SOUND_MENU_PAUSE1 SOUND_ARG_LOAD(7, 0, 0x02, 0xF0, 8)
  549. /* not verified */ #define SOUND_MENU_PAUSE1_HIGHPRIO SOUND_ARG_LOAD(7, 0, 0x02, 0xFF, 8)
  550. /* not verified */ #define SOUND_MENU_PAUSE2 SOUND_ARG_LOAD(7, 0, 0x03, 0xFF, 8)
  551. /* not verified */ #define SOUND_MENU_MESSAGEAPPEAR SOUND_ARG_LOAD(7, 0, 0x04, 0x00, 8)
  552. /* not verified */ #define SOUND_MENU_MESSAGEDISAPPEAR SOUND_ARG_LOAD(7, 0, 0x05, 0x00, 8)
  553. /* not verified */ #define SOUND_MENU_CAMERAZOOMIN SOUND_ARG_LOAD(7, 0, 0x06, 0x00, 8)
  554. /* not verified */ #define SOUND_MENU_CAMERAZOOMOUT SOUND_ARG_LOAD(7, 0, 0x07, 0x00, 8)
  555. /* not verified */ #define SOUND_MENU_PINCHMARIOFACE SOUND_ARG_LOAD(7, 0, 0x08, 0x00, 8)
  556. /* not verified */ #define SOUND_MENU_LETGOMARIOFACE SOUND_ARG_LOAD(7, 0, 0x09, 0x00, 8)
  557. /* not verified */ #define SOUND_MENU_HANDAPPEAR SOUND_ARG_LOAD(7, 0, 0x0A, 0x00, 8)
  558. /* not verified */ #define SOUND_MENU_HANDDISAPPEAR SOUND_ARG_LOAD(7, 0, 0x0B, 0x00, 8)
  559. /* not verified */ #define SOUND_MENU_UNKNOWN1 SOUND_ARG_LOAD(7, 0, 0x0C, 0x00, 8)
  560. /* not verified */ #define SOUND_MENU_POWERMETER SOUND_ARG_LOAD(7, 0, 0x0D, 0x00, 8)
  561. /* not verified */ #define SOUND_MENU_CAMERABUZZ SOUND_ARG_LOAD(7, 0, 0x0E, 0x00, 8)
  562. /* not verified */ #define SOUND_MENU_CAMERATURN SOUND_ARG_LOAD(7, 0, 0x0F, 0x00, 8)
  563. /* not verified */ #define SOUND_MENU_UNKNOWN2 0x7010
  564. /* not verified */ #define SOUND_MENU_CLICKFILESELECT SOUND_ARG_LOAD(7, 0, 0x11, 0x00, 8)
  565. /* not verified */ #define SOUND_MENU_READSIGN 0x7012
  566. /* not verified */ #define SOUND_MENU_MESSAGENEXTPAGE SOUND_ARG_LOAD(7, 0, 0x13, 0x00, 8)
  567. /* not verified */ #define SOUND_MENU_COINITSAMEMARIO SOUND_ARG_LOAD(7, 0, 0x14, 0x00, 8)
  568. /* not verified */ #define SOUND_MENU_YOSHIGAINLIVES SOUND_ARG_LOAD(7, 0, 0x15, 0x00, 8)
  569. /* not verified */ #define SOUND_MENU_ENTERPIPE SOUND_ARG_LOAD(7, 0, 0x16, 0xA0, 8)
  570. /* not verified */ #define SOUND_MENU_EXITPIPE SOUND_ARG_LOAD(7, 0, 0x17, 0xA0, 8)
  571. /* not verified */ #define SOUND_MENU_BOWSERLAUGH SOUND_ARG_LOAD(7, 0, 0x18, 0x80, 8)
  572. /* not verified */ #define SOUND_MENU_MARIOHOLE SOUND_ARG_LOAD(7, 1, 0x19, 0x80, 8)
  573. /* not verified */ #define SOUND_MENU_CLICKCHANGEVIEW SOUND_ARG_LOAD(7, 0, 0x1A, 0x80, 8)
  574. /* not verified */ #define SOUND_MENU_CAMERAUNUSED1 0x701B
  575. /* not verified */ #define SOUND_MENU_CAMERAUNUSED2 0x701C
  576. /* not verified */ #define SOUND_MENU_MARIOCASTLEWARP SOUND_ARG_LOAD(7, 0, 0x1D, 0xB0, 8)
  577. /* not verified */ #define SOUND_MENU_STARSOUND SOUND_ARG_LOAD(7, 0, 0x1E, 0xFF, 8)
  578. /* not verified */ #define SOUND_MENU_THANKYOUPLAYINGMYGAME SOUND_ARG_LOAD(7, 0, 0x1F, 0xFF, 8)
  579. /* not verified */ #define SOUND_MENU_READASIGN 0x7020
  580. /* not verified */ #define SOUND_MENU_EXITASIGN 0x7021
  581. /* not verified */ #define SOUND_MENU_MARIOCASTLEWARP2 SOUND_ARG_LOAD(7, 0, 0x22, 0x20, 8)
  582. /* not verified */ #define SOUND_MENU_STARSOUNDOKEYDOKEY SOUND_ARG_LOAD(7, 0, 0x23, 0xFF, 8)
  583. /* not verified */ #define SOUND_MENU_STARSOUNDLETSAGO SOUND_ARG_LOAD(7, 0, 0x24, 0xFF, 8)
  584. /* US only; an index between 0-7 or 0-4 is added to the sound ID before playing */
  585. /* not verified */ #define SOUND_MENU_COLLECTREDCOIN SOUND_ARG_LOAD(7, 8, 0x28, 0x90, 8)
  586. /* not verified */ #define SOUND_MENU_COLLECTSECRET SOUND_ARG_LOAD(7, 0, 0x30, 0x20, 8)
  587. /* Channel 8 Sound Effects */
  588. // not yet documented
  589. /* not verified */ #define SOUND_CH8_UNK2E SOUND_ARG_LOAD(8, 0, 0x2E, 0x20, 8)
  590. /* not verified */ #define SOUND_CH8_UNK3E SOUND_ARG_LOAD(8, 0, 0x3E, 0xC0, 8)
  591. /* not verified */ #define SOUND_CH8_UNK40 SOUND_ARG_LOAD(8, 0, 0x40, 0x00, 8)
  592. /* not verified */ #define SOUND_CH8_UNK48 SOUND_ARG_LOAD(8, 0, 0x48, 0x20, 8)
  593. /* not verified */ #define SOUND_CH8_UNK4B SOUND_ARG_LOAD(8, 1, 0x4B, 0xE0, 8)
  594. /* not verified */ #define SOUND_CH8_UNK4C SOUND_ARG_LOAD(8, 1, 0x4C, 0xF0, 8)
  595. /* not verified */ #define SOUND_CH8_UNK50 SOUND_ARG_LOAD(8, 0, 0x50, 0x40, 0)
  596. /* not verified */ #define SOUND_CH8_UNK54 SOUND_ARG_LOAD(8, 0, 0x54, 0xF0, 1)
  597. /* not verified */ #define SOUND_CH8_UNK55 SOUND_ARG_LOAD(8, 0, 0x55, 0xF0, 1)
  598. /* not verified */ #define SOUND_CH8_UNK57 SOUND_ARG_LOAD(8, 0, 0x57, 0xFF, 9)
  599. /* not verified */ #define SOUND_CH8_UNK59 SOUND_ARG_LOAD(8, 0, 0x59, 0x00, 8)
  600. /* not verified */ #define SOUND_CH8_UNK60 SOUND_ARG_LOAD(8, 0, 0x60, 0x00, 8)
  601. /* not verified */ #define SOUND_CH8_UNK61 SOUND_ARG_LOAD(8, 0, 0x61, 0x00, 8)
  602. /* not verified */ #define SOUND_CH8_UNK63 SOUND_ARG_LOAD(8, 0, 0x63, 0xD0, 8)
  603. /* not verified */ #define SOUND_CH8_UNK6A SOUND_ARG_LOAD(8, 0, 0x6A, 0xA0, 8)
  604. /* Channel 9 Sound Effects */
  605. // not yet documented. (It seems like bank 5 and 9 load sounds from the same
  606. // place, so some names could be carried over from there.)
  607. /* not verified */ #define SOUND_CH9_UNK04 SOUND_ARG_LOAD(9, 0, 0x04, 0x00, 8)
  608. /* not verified */ #define SOUND_CH9_UNK10 SOUND_ARG_LOAD(9, 0, 0x10, 0x50, 8)
  609. /* not verified */ #define SOUND_CH9_UNK11 SOUND_ARG_LOAD(9, 0, 0x11, 0x60, 8)
  610. /* not verified */ #define SOUND_CH9_UNK19 SOUND_ARG_LOAD(9, 0, 0x19, 0x20, 8)
  611. /* not verified */ #define SOUND_CH9_UNK1C SOUND_ARG_LOAD(9, 0, 0x1C, 0x00, 8)
  612. /* not verified */ #define SOUND_CH9_UNK42 SOUND_ARG_LOAD(9, 1, 0x42, 0x40, 8)
  613. /* not verified */ #define SOUND_CH9_UNK43 SOUND_ARG_LOAD(9, 0, 0x43, 0x40, 8)
  614. /* not verified */ #define SOUND_CH9_UNK44 SOUND_ARG_LOAD(9, 0, 0x44, 0x40, 8)
  615. /* not verified */ #define SOUND_CH9_UNK45 SOUND_ARG_LOAD(9, 0, 0x45, 0x00, 8)
  616. /* not verified */ #define SOUND_CH9_UNK49 SOUND_ARG_LOAD(9, 0, 0x49, 0x00, 8)
  617. /* not verified */ #define SOUND_CH9_UNK52 SOUND_ARG_LOAD(9, 0, 0x52, 0x40, 0)
  618. /* not verified */ #define SOUND_CH9_UNK57 SOUND_ARG_LOAD(9, 0, 0x57, 0x00, 8)
  619. /* not verified */ #define SOUND_CH9_UNK5A_LOWPRIO SOUND_ARG_LOAD(9, 3, 0x5A, 0x00, 8)
  620. /* not verified */ #define SOUND_CH9_UNK5A SOUND_ARG_LOAD(9, 3, 0x5A, 0xC0, 8)
  621. /* not verified */ #define SOUND_CH9_UNK5B SOUND_ARG_LOAD(9, 2, 0x5B, 0x00, 8)
  622. /* not verified */ #define SOUND_CH9_UNK66 SOUND_ARG_LOAD(9, 0, 0x66, 0x80, 8)
  623. /* not verified */ #define SOUND_CH9_UNK67 SOUND_ARG_LOAD(9, 0, 0x67, 0x80, 8)
  624. /* not verified */ #define SOUND_CH9_UNK69 SOUND_ARG_LOAD(9, 0, 0x69, 0x40, 8)
  625. /* not verified */ #define SOUND_CH9_UNK6B SOUND_ARG_LOAD(9, 0, 0x6B, 0x00, 8)
  626. #endif /* _AUDIODEFINES_H */