Readability - Magic Numbers (#2707)

This commit is contained in:
PurpleHato 2023-04-18 06:55:02 +02:00 committed by GitHub
parent 4aee3b6cc9
commit 6562823b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1935,11 +1935,11 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
D_8082ADD8[gSaveContext.language] << 5;
s16 PosX; // General Pos of C button icon
if (gSaveContext.language == 0) { //eng
if (gSaveContext.language == LANGUAGE_ENG) {
PosX = 112;
} else if (gSaveContext.language == 1) { //ger
} else if (gSaveContext.language == LANGUAGE_GER) {
PosX = 175;
} else {//baguettes
} else { // French
PosX = 98;
}
s16 PosY = 200 - pauseCtx->infoPanelOffsetY; //General Pos of C button icon