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);
- this->actor.textId = (gSaveContext.timer2Value < gSaveContext.highscores[4]) ? 0x6085 : 0x6084;
- if (func_80AAF224(this, globalCtx, func_80AAF5EC)) {
- this->unk_1F6 = 0;
- timer = gSaveContext.timer2Value;
- if ((s16)timer < gSaveContext.highscores[4]) {
- gSaveContext.highscores[4] = timer;
- return;
- }
- }
- else {
- LOG_HEX("((z_common_data.event_inf[1]) & (0x0001)) = %x\n", gSaveContext.eventInf[1] & 1, "../z_en_mm2.c", 541);
- 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