mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 06:10:21 +00:00
Add do whiles to all remaining gbi macros (#946)
* Add do whiles to all remaining gbi macros * Cleanup and remove unnecessary do whiles
This commit is contained in:
parent
d874cd08fc
commit
3d57eaf019
22 changed files with 142 additions and 204 deletions
|
@ -1098,11 +1098,11 @@ void DemoEffect_UpdateLightEffect(DemoEffect* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
if (globalCtx->sceneNum == SCENE_TOKINOMA && gSaveContext.sceneSetupIndex == 14) {
|
||||
do {
|
||||
if (globalCtx->csCtx.npcActions[this->csActionId]->action == 2) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
}
|
||||
} while (0);
|
||||
if (1) {}
|
||||
|
||||
if (globalCtx->csCtx.npcActions[this->csActionId]->action == 2) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
}
|
||||
}
|
||||
|
||||
if (globalCtx->sceneNum == SCENE_DAIYOUSEI_IZUMI || globalCtx->sceneNum == SCENE_YOUSEI_IZUMI_YOKO) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue