mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 11:54:39 +00:00
document code_8008E6A0 (frame advance) (#737)
* OK * fixes * format * remove gotos, thanks petrie
This commit is contained in:
parent
7f3be6e37f
commit
187d2d1500
15 changed files with 71 additions and 78 deletions
|
@ -158,7 +158,7 @@ s32 EffectSs_FindSlot(s32 priority, s32* pIndex) {
|
|||
void EffectSs_Insert(GlobalContext* globalCtx, EffectSs* effectSs) {
|
||||
s32 index;
|
||||
|
||||
if (func_800C0D28(globalCtx) != 1) {
|
||||
if (FrameAdvance_IsEnabled(globalCtx) != true) {
|
||||
if (EffectSs_FindSlot(effectSs->priority, &index) == 0) {
|
||||
sEffectSsInfo.searchStartIndex = index + 1;
|
||||
sEffectSsInfo.table[index] = *effectSs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue