Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_80AAF668(EnMm2 *this, GlobalContext *globalCtx) {
- s32 timer;
- this->actor.posRot.rot.y = -0x3E80;
- this->actor.shape.rot.y = this->actor.posRot.rot.y;
- SkelAnime_FrameUpdateMatrix(&this->skelAnime);
- //can be ternary, doesn't change codegen
- if (gSaveContext.timer2Value < gSaveContext.unk_EC8) {
- this->actor.textId = 0x6085;
- } else {
- this->actor.textId = 0x6084;
- }
- if (func_80AAF224(this, globalCtx, func_80AAF5EC) != 0) {
- this->unk_1F6 = 0;
- timer = gSaveContext.timer2Value;
- if ((s16)timer < gSaveContext.unk_EC8) {
- gSaveContext.unk_EC8 = timer;
- return;
- }
- }
- else {
- LogUtils_LogThreadId("../z_en_mm2.c", 541);
- osSyncPrintf("((z_common_data.event_inf[1]) & (0x0001)) = %x\n", gSaveContext.eventInf[1] & 1);
- if ((gSaveContext.eventInf[1] & 1) == 0) {
- this->unk_1F4 |= 2;
- this->unk_1F4 &= ~0x1;
- func_80AAEE50(this, 3, &this->unk_1F8);
- this->actionFunc = func_80AAF330;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement