papermario/src/code_de740_len_23f0.c

22 lines
751 B
C
Raw Normal View History

2020-08-04 08:49:11 +02:00
#include "common.h"
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80148040);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801480F0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80148154);
2020-09-24 05:16:13 +02:00
2021-02-06 16:20:35 +01:00
INCLUDE_ASM(s32, "code_de740_len_23f0", render_shaded_sprite);
2020-08-04 08:49:11 +02:00
2021-02-06 16:20:35 +01:00
INCLUDE_ASM(s32, "code_de740_len_23f0", appendGfx_shaded_sprite);
2020-08-04 08:49:11 +02:00
2021-01-14 09:06:56 +01:00
void func_801491E4(s32 arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 alpha) {
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, alpha);
2020-08-04 08:49:11 +02:00
2021-01-14 09:06:56 +01:00
if (alpha == 255) {
gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, TEXEL1, 0, 0, 0, TEXEL1, 0, 0, 0, COMBINED, 0, 0, 0, COMBINED);
} else {
gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, TEXEL0, TEXEL0, 0, PRIMITIVE, 0, 0, 0, 0, COMBINED, 0, 0, 0, COMBINED);
2020-09-22 02:56:17 +02:00
}
}