From 6562823b7286f29e02db1665a547f291ffc00dce Mon Sep 17 00:00:00 2001 From: PurpleHato Date: Tue, 18 Apr 2023 06:55:02 +0200 Subject: [PATCH] Readability - Magic Numbers (#2707) --- .../overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c index 199889679..213fc5ce8 100644 --- a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c +++ b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c @@ -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