Skip to content

Commit 54accaf

Browse files
committed
Merge branch 'Dev' into dev-fenhl
# Conflicts: # ASM/build/asm_symbols.txt # ASM/build/bundle.o # ASM/build/c_symbols.txt # data/generated/patch_symbols.json # data/generated/rom_patch.txt # data/generated/symbols.json
2 parents 4bc8547 + 52c48c3 commit 54accaf

File tree

10 files changed

+8958
-8982
lines changed

10 files changed

+8958
-8982
lines changed

ASM/build/asm_symbols.txt

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

ASM/build/bundle.o

-240 Bytes
Binary file not shown.

ASM/build/c_symbols.txt

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

ASM/c/triforce.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void draw_triforce_count(z64_disp_buf_t* db) {
3131
frames = frames % (TRIFORCE_SPRITE_FRAMES * FRAMES_PER_CYCLE);
3232
} else {
3333
// Do a fade in/out effect if not in pause screen
34-
if ( frames <= TRIFORCE_FRAMES_FADE_INTO ) {
34+
if (frames <= TRIFORCE_FRAMES_FADE_INTO) {
3535
alpha = frames * 255 / TRIFORCE_FRAMES_FADE_INTO;
3636
} else if (frames <= TRIFORCE_FRAMES_FADE_INTO + TRIFORCE_FRAMES_VISIBLE ) {
3737
alpha = 255;
@@ -69,9 +69,14 @@ void draw_triforce_count(z64_disp_buf_t* db) {
6969
// Setup draw location
7070
int str_len = required_digits + pieces_digits + 1;
7171
int total_w = str_len * font_sprite.tile_w + triforce_sprite.tile_w;
72+
// Draw the counter centered horizontally and at the bottom of CRT safe screen space.
7273
int draw_x = Z64_SCREEN_WIDTH / 2 - total_w / 2;
73-
int draw_y_text = Z64_SCREEN_HEIGHT - (font_sprite.tile_h * 1.5) + 1;
74-
int draw_y_triforce = Z64_SCREEN_HEIGHT - (triforce_sprite.tile_h * 1.5) + 3 + 1;
74+
// And on pause screen, keep the height but move it on the right, symmetric to the rupee icon.
75+
if (z64_game.pause_ctxt.state > PAUSE_STATE_OFF) {
76+
draw_x = (Z64_SCREEN_WIDTH - 26) - total_w;
77+
}
78+
int draw_y_text = 206;
79+
int draw_y_triforce = 206;
7580

7681
// Create collected/required string
7782
char text[str_len + 1];

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Bug fixes
1313
* The Deku Shield pot in the Spirit Temple is no longer shuffled when both `Fix Broken Drops` and `Include Empty Pots` are off.
1414
* For consistency with other location types, excluded pot/crate/beehive/wonderitem/etc. locations no longer behave as if their shuffle setting was off.
15+
* The Triforce Piece counter display has been moved to a CRT-safe position.
1516

1617
## Other changes
1718
* Big poe souls can now be collected while riding Epona.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Differences between `dev-fenhl` and [`Dev-R`](https://github.com/Roman971/OoT-Ra
1414

1515
* New settings and options:
1616
* More options for “Open Door of Time” setting ([#2423](https://github.com/OoTRandomizer/OoT-Randomizer/pull/2423))
17-
* New “Shuffle 100 Skulltula Reward” setting ([#2325](https://github.com/OoTRandomizer/OoT-Randomizer/pull/2325))
1817
* New plando-only “Chest, Pot, Crate, & Beehive Appearance Does Not Match Contents” setting which makes each chest etc. randomly choose any appearance except the correct one ([#1950](https://github.com/OoTRandomizer/OoT-Randomizer/pull/1950))
1918
* New “Vanilla Locations” option for the “Shuffle Songs” setting ([#1882](https://github.com/OoTRandomizer/OoT-Randomizer/pull/1882))
2019
* New “Bosses” option for the “Mix Entrance Pools” setting (based on [#1820](https://github.com/OoTRandomizer/OoT-Randomizer/pull/1820))

data/generated/patch_symbols.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)