mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Decompile flg_set data (#172)
* Decompile data for flg_set * Ran formatter * Remove data/ files
This commit is contained in:
parent
248c0587d6
commit
db987db9f8
6 changed files with 45 additions and 148 deletions
|
@ -292,7 +292,7 @@ void func_8009899C(GlobalContext* globalCtx, SceneCmd* cmd) {
|
|||
i = globalCtx->objectCtx.unk_09;
|
||||
firstStatus = &globalCtx->objectCtx.status[0];
|
||||
status = &globalCtx->objectCtx.status[i];
|
||||
|
||||
|
||||
while (i < globalCtx->objectCtx.num) {
|
||||
if (status->id != *objectEntry) {
|
||||
status2 = &globalCtx->objectCtx.status[i];
|
||||
|
@ -302,20 +302,20 @@ void func_8009899C(GlobalContext* globalCtx, SceneCmd* cmd) {
|
|||
}
|
||||
globalCtx->objectCtx.num = i;
|
||||
func_80031A28(globalCtx, &globalCtx->actorCtx);
|
||||
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
i++;
|
||||
k++;
|
||||
objectEntry++;
|
||||
status++;
|
||||
}
|
||||
|
||||
|
||||
if (cmd->objectList.num > OBJECT_EXCHANGE_BANK_MAX) {
|
||||
__assert("scene_info->object_bank.num <= OBJECT_EXCHANGE_BANK_MAX", "../z_scene.c", 705);
|
||||
}
|
||||
|
||||
|
||||
if (1) {}
|
||||
|
||||
while (k < cmd->objectList.num) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue