mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Name Message_StartOcarina
and related things (#1473)
* name functions and msg ctx var * start ocarina * clarifying comments * typo
This commit is contained in:
parent
7100b17e5f
commit
1c6878b070
21 changed files with 43 additions and 42 deletions
|
@ -191,7 +191,7 @@ void EnFu_WaitForPlayback(EnFu* this, PlayState* play) {
|
|||
player->stateFlags2 |= PLAYER_STATE2_23;
|
||||
// if dialog state is 7, player has played back the song
|
||||
if (Message_GetState(&play->msgCtx) == TEXT_STATE_SONG_DEMO_DONE) {
|
||||
func_8010BD58(play, OCARINA_ACTION_PLAYBACK_STORMS);
|
||||
Message_StartOcarina(play, OCARINA_ACTION_PLAYBACK_STORMS);
|
||||
this->actionFunc = func_80A1DBD4;
|
||||
}
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ void EnFu_TeachSong(EnFu* this, PlayState* play) {
|
|||
this->behaviorFlags &= ~FU_WAIT;
|
||||
// Ocarina is set to harp here but is immediately overwritten to the grind organ in the message system
|
||||
AudioOcarina_SetInstrument(OCARINA_INSTRUMENT_HARP);
|
||||
func_8010BD58(play, OCARINA_ACTION_TEACH_STORMS);
|
||||
Message_StartOcarina(play, OCARINA_ACTION_TEACH_STORMS);
|
||||
this->actionFunc = EnFu_WaitForPlayback;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue