mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-05 15:34:41 +00:00
Misc Sequence Docs (#1400)
* misc bgm and fanfare docs * more docs * function.h cleanup * fix horse * typo * add comment to song of storms cutscene in windmill * PR review * woopsie * seqId macros * revert macro
This commit is contained in:
parent
7996df1913
commit
e4664b4750
10 changed files with 91 additions and 88 deletions
|
@ -437,14 +437,14 @@ void Cutscene_Command_SetLighting(PlayState* play, CutsceneContext* csCtx, CsCmd
|
|||
// Command 0x56: Play Background Music
|
||||
void Cutscene_Command_PlayBGM(PlayState* play, CutsceneContext* csCtx, CsCmdMusicChange* cmd) {
|
||||
if (csCtx->frames == cmd->startFrame) {
|
||||
func_800F595C(cmd->sequence - 1);
|
||||
Audio_PlaySequenceInCutscene(cmd->sequence - 1);
|
||||
}
|
||||
}
|
||||
|
||||
// Command 0x57: Stop Background Music
|
||||
void Cutscene_Command_StopBGM(PlayState* play, CutsceneContext* csCtx, CsCmdMusicChange* cmd) {
|
||||
if (csCtx->frames == cmd->startFrame) {
|
||||
func_800F59E8(cmd->sequence - 1);
|
||||
Audio_StopSequenceInCutscene(cmd->sequence - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue