mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
format
This commit is contained in:
parent
b13edadd99
commit
b71ff4bbc2
@ -46,7 +46,7 @@ void pause_interp_cursor(void) {
|
||||
}
|
||||
|
||||
if (gPauseMenuCursorTargetOpacity == 0) {
|
||||
opacity= &gPauseMenuCursorOpacity;
|
||||
opacity = &gPauseMenuCursorOpacity;
|
||||
|
||||
*opacity -= 128;
|
||||
if (*opacity < 0) {
|
||||
|
@ -52,7 +52,8 @@ s32 pause_badges_get_pos_x(s32 page, s32 itemIndex) {
|
||||
}
|
||||
|
||||
s32 pause_badges_get_pos_y(s32 page, s32 itemIndex) {
|
||||
return ((page + 1) * 11) + (BADGE_MENU_PAGE(page)->listStart * 16) + ((itemIndex / BADGE_MENU_PAGE(page)->numCols) * 16);
|
||||
return ((page + 1) * 11) + (BADGE_MENU_PAGE(page)->listStart * 16) + ((itemIndex / BADGE_MENU_PAGE(
|
||||
page)->numCols) * 16);
|
||||
}
|
||||
|
||||
s32 pause_badges_get_column(s32 page, s32 itemIdx) {
|
||||
|
Loading…
Reference in New Issue
Block a user