mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-27 07:10:42 +00:00
improve khCaveResult.cpp
modulo
This commit is contained in:
parent
dafed4662f
commit
1af9c4af2d
@ -105,7 +105,7 @@
|
||||
### <section id="plugProjectKonoU">plugProjectKonoU</section>
|
||||
| File | Size (bytes) | File | Size (bytes) |
|
||||
| ---- | ---- | ---- | ---- |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khCaveResult.cpp">khCaveResult.cpp</a> | 45925 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khFinalResult.cpp">khFinalResult.cpp</a> | 66534 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khCaveResult.cpp">khCaveResult.cpp</a> | 45937 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khFinalResult.cpp">khFinalResult.cpp</a> | 66534 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khDayEndResult.cpp">khDayEndResult.cpp</a> | 110705 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khWorldMap.cpp">khWorldMap.cpp</a> | 199462 |
|
||||
|
||||
### <section id="plugProjectMorimuraU">plugProjectMorimuraU</section>
|
||||
|
@ -40,7 +40,7 @@ struct LostItemMgr {
|
||||
|
||||
LostItem* mItemList; // _00
|
||||
int mMaxPanes; // _04
|
||||
u32 mFlags; // _08
|
||||
s32 mFlags; // _08
|
||||
};
|
||||
|
||||
} // namespace Screen
|
||||
|
@ -1218,7 +1218,7 @@ void ObjCaveResult::statusForceScroll()
|
||||
mOtakaraCount++;
|
||||
}
|
||||
if (node->mPokoValue > 0 || !node->mLostNum) {
|
||||
mCavePokos += node->mPokoValue;
|
||||
mCavePokos += node->mTotalPokos;
|
||||
}
|
||||
PSSystem::spSysIF->playSystemSe(PSSE_SY_COIN_COUNT, 0);
|
||||
}
|
||||
@ -1231,7 +1231,7 @@ void ObjCaveResult::statusForceScroll()
|
||||
FOREACH_NODE(Game::Result::TNode, mResultNode->mChild, cNode)
|
||||
{
|
||||
if (i == mScrollSelIndex + 2 && ((cNode->mItemMgr->mFlags & LOSTITEM_Unk1) != 1)) {
|
||||
cNode->mItemMgr->init(pos, i >> 7);
|
||||
cNode->mItemMgr->init(pos, i % 2); // is i odd
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user