Memory layout

| 0xFD | I | p1 | p2 | p3 | p4 | p5 | p6 | |——|—–|——|——|——|——|——|——|

Arguments

Description

Most commonly used for the sleeping at an inn. When p3 === 0 && p2 === 20, the current music stops immediately and the change music id plays at the channel volume immediately. When p3 > 0 && p2 > 20, the current music fades out (potentially at 20 frames - p2), after the fade has ended, the change music is faded in (potentially at 30 frames, p3)