Skip to content

Commit 89c0635

Browse files
fenhlGSKirox
authored andcommitted
Merge Dev
1 parent 5a7bbe1 commit 89c0635

13 files changed

Lines changed: 42685 additions & 21854 deletions

ASM/c/item_draw_table.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ item_draw_table_entry_t item_draw_table[] = {
180180
[0xA2] = { draw_gi_magic_meter, { 0x06000000, 0x06000CC0, 0x06000F08, 0x060014E8, 0x286428FF, 0x000000FF } }, // Magic Meter Scroll 2
181181
[0xA3] = { draw_ice_trap, { 0x04034380 } }, // Ice trap
182182
[0x94] = { draw_bronze_scale, { 0x06000AA0, 0x06000A40, 0x06000A80, 0x06000CC8 } }, // Bronze scale
183+
[0xA0] = { draw_bronze_scale, { 0x06000AA0, 0x06000A40, 0x06000A80, 0x06000CC8 } }, // Bronze scale
183184
};
184185

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

ASM/c/item_upgrades.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ uint16_t wallet_upgrade(z64_file_t* save, override_t override) {
8686

8787
uint16_t scale_upgrade(z64_file_t* save, override_t override) {
8888
switch ((override.value.base.player == PLAYER_ID || !MW_PROGRESSIVE_ITEMS_ENABLE) ? extended_savectx.extended_scale : MW_PROGRESSIVE_ITEMS_STATE[override.value.base.player].scale) {
89-
case 0: return 0x130; // Bronze Scale
90-
case 1: return 0x37; // Silver Scale
91-
default: return 0x38; // Gold Scale
89+
case 0: return GI_SCALE_BRONZE; // Bronze Scale
90+
case 1: return GI_SCALE_SILVER; // Silver Scale
91+
default: return GI_SCALE_GOLDEN; // Gold Scale
9292
}
9393
}
9494

ASM/c/save.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ typedef struct {
1010
override_t incoming_queue[3];
1111
uint8_t password[6];
1212
uint8_t extended_scale;
13-
uint8_t pad;
1413
} extended_savecontext_static_t __attribute__ ((aligned (8)));
1514

1615

ASM/src/hacks.asm

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3655,6 +3655,24 @@ DemoEffect_DrawJewel_AfterHook:
36553655
jal chestgame_force_game_loss_right
36563656
nop
36573657

3658+
; Show a key in the unopened chest regardless of chest
3659+
; contents if the tcg_requires_lens setting is enabled.
3660+
; Left/right do the same check for the get item ID,
3661+
; but use different registers for the actor spawn branch
3662+
; and chest actor references for coordinates.
3663+
; Replaces:
3664+
; lwc1 $f0, 0x0024(v1)
3665+
; lwc1 $f2, 0x0028(v1)
3666+
.orga 0xE43964
3667+
jal chestgame_force_game_loss_left
3668+
nop
3669+
; Replaces:
3670+
; lwc1 $f0, 0x0024(v0)
3671+
; lwc1 $f2, 0x0028(v0)
3672+
.orga 0xE43A0C
3673+
jal chestgame_force_game_loss_right
3674+
nop
3675+
36583676
;==================================================================================================
36593677
; Bombchu Ticking Color
36603678
;==================================================================================================

Main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ def build_world_graphs(settings: Settings) -> list[World]:
164164
if world.settings.shuffle_dungeon_rewards in ('vanilla', 'reward'):
165165
world.fill_bosses()
166166

167+
if settings.empty_dungeons_mode == 'rewards':
168+
world.set_empty_dungeon_rewards(settings.empty_dungeons_rewards)
169+
167170
if settings.triforce_hunt:
168171
settings.distribution.configure_triforce_hunt(worlds)
169172

0 commit comments

Comments
 (0)