Prev: 63737 Up: Map Next: 63919
63759: Table: Sound Parameters
Eight-byte parameter blocks for sounds 1–20. Play_QueuedSound forms IX=63751+(index×8). The base 63751 is the operand byte of JR NZ in Queue_Sound; it is never read as a parameter because indexes start at 1, so sound 1 begins here. Layout:
Offset Meaning
0 Outer repeat count (C)
1 Pulse count (B)
2 Speaker-off delay (E)
3 Speaker-on delay (D)
4 Per-pulse delta added to the on-delay
5 Per-pulse delta added to the off-delay
6 Flags / waveform high byte (bit 7 set = square wave only)
7 Waveform low byte when bit 7 of 6 is clear
Table_SoundParameters 63759 DEFB 1,23,112,14,46,158,128,0 Sound 1: score / room-init fanfare (44791).
63767 DEFB 15,14,34,41,241,4,128,0 Sound 2: Berk-action fanfare (44758).
63775 DEFB 8,255,17,8,254,254,128,0 Sound 3.
63783 DEFB 1,90,119,70,2,4,128,0 Sound 4: entity-slot store (forced as 132 at 46007).
63791 DEFB 1,120,10,10,250,1,128,0 Sound 5: trap door opening (60939).
63799 DEFB 1,50,236,150,3,3,6,0 Sound 6: trap door closing (60904).
63807 DEFB 1,18,10,10,247,11,0,0 Sound 7: entity-slot wait (forced as 135 at Update_Entity_Slot_QueueLandSound).
63815 DEFB 1,220,244,200,255,255,128,0 Sound 8: random game-event sting (forced as 136 at 48557).
63823 DEFB 1,90,220,229,254,255,10,0 Sound 9: clear-attributes sting (forced as 137 at 60002).
63831 DEFB 3,20,123,69,252,252,128,0 Sound 10: message-flash click (58004).
63839 DEFB 4,255,67,197,2,255,128,0 Sound 11: task fanfare / stinger (44141).
63847 DEFB 6,5,82,87,3,3,128,0 Sound 12: timed-event / Drutt script (44534 / 45027).
63855 DEFB 1,46,41,70,1,255,128,0 Sound 13.
63863 DEFB 1,60,197,50,1,1,11,0 Sound 14: trap door / catch thump (also forced as 142 at 45154 / Update_Drutt_CatchSound).
63871 DEFB 1,92,246,121,255,255,128,0 Sound 15: ghost update (52920).
63879 DEFB 1,8,144,113,253,25,20,0 Sound 16: scripted movement (Script_PushHitch_Click / 61631).
63887 DEFB 1,100,56,150,254,252,128,0 Sound 17: vat / script action (ScriptRoutine_VatQueueSound / 53801).
63895 DEFB 1,11,33,181,1,1,128,0 Sound 18: heater (Update_Heater).
63903 DEFB 7,1,96,69,0,0,1,0 Sound 19.
63911 DEFB 1,100,240,159,244,4,10,0 Sound 20: task-three script action (ScriptRoutine_TaskThreeQueueSound).
Prev: 63737 Up: Map Next: 63919