11#include "libsnd2_internal.h"
13void Snd_SetPlayMode(s16 sep_no, s16 seq_no,
char play_mode,
char l_count)
18 score_struct = &_ss_score[sep_no][seq_no];
19 m_unk04 = score_struct->m_unk04;
20 score_struct->m_seq_ptr = m_unk04;
21 score_struct->m_unk08 = m_unk04;
22 score_struct->m_unk0C = m_unk04;
23 score_struct->m_flags &= ~0x200u;
24 score_struct->m_flags &= ~4u;
25 score_struct->m_l_count = l_count;
29 score_struct->m_flags |= 2u;
32 score_struct->m_flags |= 1u;
33 score_struct->m_play_mode = SSPLAY_PLAY;
34 score_struct->m_unk21 = 0;
35 _SsVmSetSeqVol((sep_no | (seq_no << 8)), score_struct->m_voll, score_struct->m_volr);