mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 22:11:16 +00:00
Document Timers (#1412)
* Document Timers, First Draft * some progress * more timer docs * cleanup * small cleanup * more cleanup * comments * more cleanup * extra comment * more docs * brackets * PR Suggestions * cleanup, missed some * more suggestions * more PR Suggestions * small change * environmental
This commit is contained in:
parent
cc2409606e
commit
40639e698d
32 changed files with 550 additions and 435 deletions
|
@ -92,8 +92,8 @@ void func_80AACA94(EnMk* this, PlayState* play) {
|
|||
if (Actor_HasParent(&this->actor, play) != 0) {
|
||||
this->actor.parent = NULL;
|
||||
this->actionFunc = func_80AACA40;
|
||||
func_80088AA0(240);
|
||||
CLEAR_EVENTINF(EVENTINF_10);
|
||||
Interface_SetSubTimer(240);
|
||||
CLEAR_EVENTINF(EVENTINF_MARATHON_ACTIVE);
|
||||
} else {
|
||||
func_8002F434(&this->actor, play, GI_EYE_DROPS, 10000.0f, 50.0f);
|
||||
}
|
||||
|
@ -253,7 +253,7 @@ void EnMk_Wait(EnMk* this, PlayState* play) {
|
|||
Animation_Change(&this->skelAnime, &object_mk_Anim_000368, 1.0f, 0.0f,
|
||||
Animation_GetLastFrame(&object_mk_Anim_000368), ANIMMODE_ONCE, -4.0f);
|
||||
this->flags &= ~2;
|
||||
gSaveContext.timer2State = 0;
|
||||
gSaveContext.subTimerState = SUBTIMER_STATE_OFF;
|
||||
func_80078884(NA_SE_SY_TRE_BOX_APPEAR);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue