Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,899 changes: 1,456 additions & 1,443 deletions ASM/build/asm_symbols.txt

Large diffs are not rendered by default.

Binary file modified ASM/build/bundle.o
Binary file not shown.
1,343 changes: 677 additions & 666 deletions ASM/build/c_symbols.txt

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion ASM/c/dpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void draw_dpad_and_menu_utilities() {
}
sprite_draw(db, &dpad_sprite, 0, left_main_dpad, top_main_dpad, 16, 16);

// Menu dpad
// Menu dpad, items screen
if (CAN_DRAW_DUNGEON_INFO && CFG_DPAD_DUNGEON_INFO_ENABLE) {
// Zora sapphire on D-down
sprite_load(db, &stones_sprite, 2, 1);
Expand All @@ -192,6 +192,21 @@ void draw_dpad_and_menu_utilities() {
sprite_load(db, &quest_items_sprite, 16, 1);
sprite_draw(db, &quest_items_sprite, 0, left_main_dpad - 11, top_main_dpad + 2, 12, 12);

}
// Menu dpad, map screen
else if (CAN_DRAW_WORLD_INFO && CFG_DPAD_DUNGEON_INFO_ENABLE) {
bool shuffle_dungeons = CFG_DUNGEON_BOSS_INFO[0] > 0;
bool shuffle_bosses = CFG_DUNGEON_BOSS_INFO[0] > 0;
// map on D-left
if (shuffle_dungeons) {
sprite_load(db, &quest_items_sprite, 16, 1);
sprite_draw(db, &quest_items_sprite, 0, left_main_dpad - 11, top_main_dpad + 2, 12, 12);
}
// boss key on D-right
if (shuffle_bosses) {
sprite_load(db, &quest_items_sprite, 14, 1);
sprite_draw(db, &quest_items_sprite, 0, left_main_dpad + 14, top_main_dpad + 2, 12, 12);
}
} else { // Main game dpad
if (!CAN_USE_DPAD) {
gDPSetPrimColor(db->p++, 0, 0, 0xFF, 0xFF, 0xFF, alpha * 0x46 / 0xFF);
Expand Down
1 change: 1 addition & 0 deletions ASM/c/dpad.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extern uint8_t CFG_CHILD_TRADE_SHUFFLE;
(z64_file.game_mode == 0) && \
((z64_event_state_1 & 0x20) == 0) && \
(!CAN_DRAW_DUNGEON_INFO || !CFG_DPAD_DUNGEON_INFO_ENABLE) && \
!CAN_DRAW_WORLD_INFO && \
!(debug_menu_is_drawn()))
// Not in pause menu
// Ocarina in inventory
Expand Down
Loading