Skip to content

Commit

Permalink
Fixed #12: Full progress indicator now fills last tile
Browse files Browse the repository at this point in the history
  • Loading branch information
agg23 committed Feb 28, 2021
1 parent dee5085 commit fe9dd08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/components/progress_indicator.mfk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ void render_progress_indicator(byte tile_x, byte tile_y, byte value, bool invert
oam_buffer[oam_index + 3] = (tile_x + i) * 8
}


oam_index += 4
}

Expand All @@ -82,7 +81,7 @@ void render_progress_indicator(byte tile_x, byte tile_y, byte value, bool invert
}

oam_buffer[oam_index] = tile_y * 8 - 1
oam_buffer[oam_index + 1] = base_tile + 7 - steps + first_offset
oam_buffer[oam_index + 1] = base_tile + 7 - steps
oam_buffer[oam_index + 2] = 0
oam_buffer[oam_index + 3] = (tile_x + tile_count) * 8 + first_offset

Expand Down

0 comments on commit fe9dd08

Please sign in to comment.