Skip to content

Commit 7f5ef3f

Browse files
committed
Merge 'Magic Meter Item: Still Bar But Now Softly Shaded' (#2315)
2 parents 63bd1a6 + 20b204f commit 7f5ef3f

9 files changed

Lines changed: 16716 additions & 16764 deletions

File tree

ASM/build/asm_symbols.txt

Lines changed: 496 additions & 496 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ASM/build/bundle.o

-160 Bytes
Binary file not shown.

ASM/build/c_symbols.txt

Lines changed: 483 additions & 483 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ASM/c/item_draw_functions.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -736,17 +736,11 @@ void draw_gi_magic_meter(z64_game_t* game, uint32_t draw_id) {
736736
gSPMatrix(gfx->poly_opa.p++, append_sys_matrix(gfx), G_MTX_MODELVIEW | G_MTX_LOAD | G_MTX_NOPUSH);
737737
gDPSetPrimColor(gfx->poly_opa.p++, 0, 0x80, prim_color.r, prim_color.g, prim_color.b, prim_color.a);
738738
gDPSetEnvColor(gfx->poly_xlu.p++, env_color.r, env_color.g, env_color.b, env_color.a);
739-
gSPDisplayList(gfx->poly_opa.p++, item_draw_table[draw_id].args[1].dlist);
739+
gSPDisplayList(gfx->poly_opa.p++, item_draw_table[draw_id].args[0].dlist);
740740
// Container
741741
append_setup_dl_25_to_xlu(gfx);
742742
gSPMatrix(gfx->poly_xlu.p++, append_sys_matrix(gfx), G_MTX_MODELVIEW | G_MTX_LOAD | G_MTX_NOPUSH);
743743
gDPSetPrimColor(gfx->poly_xlu.p++, 0, 0x80, prim_container.r, prim_container.g, prim_container.b, prim_container.a);
744744
gDPSetEnvColor(gfx->poly_xlu.p++, env_color.r, env_color.g, env_color.b, env_color.a);
745-
gSPDisplayList(gfx->poly_xlu.p++, item_draw_table[draw_id].args[0].dlist);
746-
// InnerOutline
747-
append_setup_dl_25_to_opa(gfx);
748-
gSPMatrix(gfx->poly_opa.p++, append_sys_matrix(gfx), G_MTX_MODELVIEW | G_MTX_LOAD | G_MTX_NOPUSH);
749-
gDPSetPrimColor(gfx->poly_opa.p++, 0, 0x80, prim_outline.r, prim_outline.g, prim_outline.b, prim_outline.a);
750-
gSPDisplayList(gfx->poly_opa.p++, item_draw_table[draw_id].args[2].dlist);
751-
745+
gSPDisplayList(gfx->poly_xlu.p++, item_draw_table[draw_id].args[1].dlist);
752746
}

ASM/c/item_draw_table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ item_draw_table_entry_t item_draw_table[] = {
174174
[0x9C] = { draw_gi_stones, { 0x06000b00, 0x060012f0, 0x32ffffff, 0x320096ff } }, // Zora Sapphire
175175
[0x9D] = { draw_gi_fairy, { 0x06000EF0 } }, // Fairy (not in a bottle but uses the fairy from the bottle)
176176
[0x9E] = { draw_gi_nothing, {} },
177-
[0x9F] = { draw_gi_magic_meter, { 0x06000A80, 0x06000F80, 0x060014C0, 0x00CE00FF, 0xFFFFFFFF, 0x000000FF } }, // Magic Meter , 0x000000FF -- 0x06000F70, 0x00CE00FF, --, 0x06009C0, 0x06001030, 0x00CE00FF, 0xFFFFFFFF
177+
[0x9F] = { draw_gi_magic_meter, { 0x06000000, 0x06000670, 0x00CE00FF, 0xFFFFFFFF, 0x000000FF } }, // Magic Meter
178178
};
179179

180180
void base_draw_gi_model(z64_game_t* game, uint32_t draw_id) {

0 commit comments

Comments
 (0)