diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2022-11-14 23:01:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-14 23:01:06 -0500 |
| commit | c9a3dcdb448a3c5e8a91398295a899b3336663d8 (patch) | |
| tree | 8b4d1a04add3c569c3defb2f69d53c43e33f6140 /soh/src/code | |
| parent | e7597bae30230dfc0666cb13893b683f010d4afc (diff) | |
update lus (#1965)
* update lus
* rename things to fix build
Co-authored-by: briaguya <briaguya@alice>
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_draw.c | 6 | ||||
| -rw-r--r-- | soh/src/code/z_play.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/soh/src/code/z_draw.c b/soh/src/code/z_draw.c index 041c5a0eb..bae750100 100644 --- a/soh/src/code/z_draw.c +++ b/soh/src/code/z_draw.c @@ -828,11 +828,11 @@ void GetItem_DrawGenericMusicNote(PlayState* play, s16 drawId) { OPEN_DISPS(play->state.gfxCtx); gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(play->state.gfxCtx, __FILE__, __LINE__), G_MTX_MODELVIEW | G_MTX_LOAD); - gsDPSetGrayscaleColor(POLY_XLU_DISP++, colors[color_slot][0], colors[color_slot][1], colors[color_slot][2], 255); - gsSPGrayscale(POLY_XLU_DISP++, true); + gDPSetGrayscaleColor(POLY_XLU_DISP++, colors[color_slot][0], colors[color_slot][1], colors[color_slot][2], 255); + gSPGrayscale(POLY_XLU_DISP++, true); func_80093D18(play->state.gfxCtx); gSPDisplayList(POLY_XLU_DISP++, sDrawItemTable[drawId].dlists[0]); - gsSPGrayscale(POLY_XLU_DISP++, false); + gSPGrayscale(POLY_XLU_DISP++, false); CLOSE_DISPS(play->state.gfxCtx); } diff --git a/soh/src/code/z_play.c b/soh/src/code/z_play.c index bf68dfe59..0203c7ca2 100644 --- a/soh/src/code/z_play.c +++ b/soh/src/code/z_play.c @@ -1380,7 +1380,7 @@ void Play_Draw(PlayState* play) { gfxP = Graph_GfxPlusOne(sp1CC); gSPDisplayList(OVERLAY_DISP++, gfxP); - gsSPGrayscale(gfxP++, false); + gSPGrayscale(gfxP++, false); if ((play->transitionMode == 3) || (play->transitionMode == 11) || (play->transitionCtx.transitionType >= 56)) { @@ -1398,8 +1398,8 @@ void Play_Draw(PlayState* play) { TransitionFade_Draw(&play->transitionFade, &gfxP); if (D_801614B0.a > 0) { - gsDPSetGrayscaleColor(gfxP++, D_801614B0.r, D_801614B0.g, D_801614B0.b, D_801614B0.a); - gsSPGrayscale(gfxP++, true); + gDPSetGrayscaleColor(gfxP++, D_801614B0.r, D_801614B0.g, D_801614B0.b, D_801614B0.a); + gSPGrayscale(gfxP++, true); } gSPEndDisplayList(gfxP++); |
