Skip to content

Commit

Permalink
rdc stop writing dumb code challenge (impeccable)
Browse files Browse the repository at this point in the history
  • Loading branch information
stxticOVFL committed Jan 24, 2021
1 parent d875df9 commit 53a5bd5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Sonic12Decomp/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,24 +380,6 @@ void initStartMenu(int mode)
else {
// finished TA act
int listPos = taListStore;
int max = listPos < stageListCount[STAGELIST_REGULAR];
for (int s = 0; s < stageListCount[STAGELIST_REGULAR]; ++s) {
if (StrComp(stageList[STAGELIST_REGULAR][s].name, "STAGE MENU")) {
max = s;
break;
}
}

if (activeStageList == STAGELIST_SPECIAL) {
listPos += max;
}

if (activeStageList == STAGELIST_BONUS) {
if (listPos > 1)
listPos = 1;
listPos ^= 1;
listPos += max;
}

int result = GetGlobalVariableByName("timeAttack.result");
if (result < saveRAM[3 * listPos + 0x40]) {
Expand Down

0 comments on commit 53a5bd5

Please sign in to comment.