Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- u8 func_80B312C8(Actor* thisx, GlobalContext* globalCtx, u8 arg2, u8 arg3, u8 arg4, u8 arg5, u16 arg6, u8 arg7)
- {
- EnWeatherTag* this = THIS;
- u8 sp23;
- u8 phi_v1;
- sp23 = 0;
- phi_v1 = sp23;
- if (func_8002DB8C(globalCtx->actorCtx.actorList[ACTORTYPE_PLAYER].first, &this->actor) < ((this->actor.params >> 8) * 100.0f))
- {
- if (globalCtx->envCtx.unk_1E != 0)
- {
- if (D_8011FB3C != 0)
- {
- if (globalCtx->skyboxId != 1)
- {
- if (globalCtx->envCtx.unk_20 == globalCtx->envCtx.unk_1F)
- {
- D_8011FB38 = 1;
- if (globalCtx->envCtx.gloomySkyEvent == 0)
- {
- if (!globalCtx->envCtx.unk_1E)
- {
- if (globalCtx->envCtx.unk_1F != 1)
- {
- if (globalCtx->envCtx.unk_21 != 0)
- {
- if (D_8011FB30 != arg7)
- {
- D_8011FB30 = arg7;
- D_8011FB38 = 0;
- if (globalCtx->envCtx.gloomySkyEvent == 0)
- {
- globalCtx->envCtx.unk_19 = 1;
- globalCtx->envCtx.gloomySky = arg2;
- globalCtx->envCtx.unk_18 = arg3;
- globalCtx->envCtx.unk_1A = arg6;
- globalCtx->envCtx.unk_21 = 1;
- globalCtx->envCtx.unk_1F = arg4;
- globalCtx->envCtx.unk_20 = arg5;
- D_8011FB34 = arg5;
- globalCtx->envCtx.unk_24 = arg6;
- globalCtx->envCtx.unk_22 = globalCtx->envCtx.unk_24;
- }
- }
- phi_v1 = 1;
- }
- }
- }
- }
- }
- }
- else
- {
- if (D_8011FB40 != 0)
- {
- gSaveContext.dayTime = gSaveContext.dayTime + 0x14;
- }
- }
- }
- }
- }
- return phi_v1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement