Version differences: Difference between revisions

mNo edit summary
Tags: Mobile edit Mobile web edit
Line 50: Line 50:
| audio/interface_2.c || style="background-color: #F99" | In the J version of func_8031ED70, "level" is set to "(gCurrLevelNum > LEVEL_MAX ? LEVEL_MAX : gCurrLevelNum)" and "area" is set to "gCurrAreaIndex - 1". "area" is then capped at 2. In the U version, if the 0x20 flag of D_80360C48[listIndex][item].unk14 is set, "level" and "area" will both be set to 0 instead.
| audio/interface_2.c || style="background-color: #F99" | In the J version of func_8031ED70, "level" is set to "(gCurrLevelNum > LEVEL_MAX ? LEVEL_MAX : gCurrLevelNum)" and "area" is set to "gCurrAreaIndex - 1". "area" is then capped at 2. In the U version, if the 0x20 flag of D_80360C48[listIndex][item].unk14 is set, "level" and "area" will both be set to 0 instead.
|-
|-
| audio/interface_2.c || style="background-color: #F99" | In the J version of func_8031EEF8, if D_80360C48[listIndex][index].unk14 & 0xF == 0, func_8031E0E4 and func_8031DFE8 will be called with D_80222A18[2].unk2C[k]->unk54 set to 0 in between. In the U version, if D_80222A18[2].unk2C[k]->unk44 == 0 the same code is run except setting D_80360C48[listIndex][index].unk18 to 0 instead; if D_80222A18[2].unk2C[k]->unk44 != 0, D_80222A18[2].unk2C[k]->unk44->unk0b40 == 0, D_80360C48[listIndex][index].unk14 & 0xF == 0, the same code as in the J version is run.
| audio/interface_2.c || style="background-color: #F99" | In the J version of func_8031EEF8, if D_80360C48[listIndex][index].unk14 & 0xF == 0, func_8031E0E4 and func_8031DFE8 will be called with D_80222A18[2].unk2C[k]->unk54 set to 0 in between. In the U version, if D_80222A18[2].unk2C[k]->unk44 == 0 the same code is run except setting D_80360C48[listIndex][index].unk18 to 0 instead; if D_80222A18[2].unk2C[k]->unk44 != 0, D_80222A18[2].unk2C[k]->unk44->unk0b40 == 0, D_80360C48[listIndex][index].unk14 & 0xF == 0, the same code as in the J version is run. This version difference is responsible for patching [[Sound Glitch]].
|-
|-
| audio/interface_2.c || style="background-color: #9F9" | When pressing a cap switch, the "Correct Solution" jingle (played by play_puzzle_jingle) isn't played on the J version.
| audio/interface_2.c || style="background-color: #9F9" | When pressing a cap switch, the "Correct Solution" jingle (played by play_puzzle_jingle) isn't played on the J version.