MCPcopy Create free account
hub / github.com/doldecomp/mkdd / decide

Method decide

src/Osako/MapSelectApp.cpp:257–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void MapSelectApp::Menu::decide() {
258 GetGameAudioMain()->startSystemSe(0x20002);
259 if (gRaceInfo.getStatusNumber() > 1) {
260 ResMgr::loadCourseData((ECourseID)mspSelectedMenu->mCrsId, ResMgr::mcOrder_1);
261 }
262 else {
263 ResMgr::loadCourseData((ECourseID)mspSelectedMenu->mCrsId, ResMgr::mcOrder_2);
264 }
265}
266
267void MapSelectApp::Menu::cancel() {
268 GetGameAudioMain()->startSystemSe(0x20004);

Callers

nothing calls this directly

Calls 3

loadCourseDataFunction · 0.85
startSystemSeMethod · 0.80
getStatusNumberMethod · 0.45

Tested by

no test coverage detected