163 for (i = 0; i < 5; i++) {
165 0, i * 22, 127, i * 22 + 21, 0,
166 G_TX_MIRROR, G_TX_CLAMP, 7, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);
167 pause_draw_rect((baseX + 15) * 4, (baseY + 22 + i * 22) * 4, (baseX + 271) * 4, (baseY + 22 + i * 22 + 22) * 4, 0, 16, 16 + i * 704, 0x400, 0x400);
171 guOrthoF(matrix1, 0.0f, 320.0f, 240.0f, 0.0f, -1000.0f, 1000.0f, 1.0f);
179 for (i = 0; i < gPauseSpiritsNumSpirits; i++) {
192 offsetY =
sin_deg(index * index * index + frameCounter * 0.4321 + frameCounter * (index * 0.02 + 0.1324))
194 *
sin_deg(index * 0.25 + frameCounter + frameCounter * (0.0432 - index * 0.01));
199 guTranslateF(matrix1, baseX + 22 + x, baseY + 77 + y + offsetY, 0.0f);
200 guRotateF(matrix2, 180.0f, 0.0f, 0.0f, 1.0f);
203 if (index == 1 || index == 2 || index == 3) {
204 guRotateF(matrix2, 180.0f, 0.0f, 1.0f, 0.0f);
208 guScaleF(matrix2, 0.9f, 0.9f, 0.9f);
210 spr_draw_npc_sprite(gPauseSpiritsSpriteIDs[gPauseSpiritsIndexes[index]], 0, 0, 0, matrix1);
238 gDPSetScissor(
gMainGfxPos++, G_SC_NON_INTERLACE, x1, y1, x2, y2);
239 draw_box(0, &
gPauseWS_25, baseX + 7, baseY + 14, 0, 272, 126, opacity, darkening, 1.0f, 1.0f, 0, 0, 0, 0, 0, 0, width, height, 0);
void pause_draw_rect(s32 ulx, s32 uly, s32 lrx, s32 lry, s32 tileIdx, s32 uls, s32 ult, s32 dsdx, s32 dtdy)