Skip to content

Commit

Permalink
Readability - Magic Numbers (HarbourMasters#2707)
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHato authored Apr 18, 2023
1 parent 4aee3b6 commit 6562823
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c
Original file line number Diff line number Diff line change
Expand Up @@ -1934,12 +1934,12 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
pauseCtx->infoPanelVtx[21].v.tc[0] = pauseCtx->infoPanelVtx[23].v.tc[0] =
D_8082ADD8[gSaveContext.language] << 5;

s16 PosX; //General Pos of C button icon
if (gSaveContext.language == 0) { //eng
s16 PosX; // General Pos of C button icon
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
Expand Down

0 comments on commit 6562823

Please sign in to comment.