@@ -607,8 +607,8 @@ void correctInventoryCurrentMenuOptionAndPage(uint32_t maxOptionsPerPage)
607
607
608
608
uint32_t getHighestAdjustableValueDigit (uint32_t currentMenu)
609
609
{
610
- int32_t Address_and_Size [2 ];
611
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , currentMenu);
610
+ int32_t UpperAndLowerBounds [2 ];
611
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , currentMenu);
612
612
int32_t LowerBound = tempArray[0 ];
613
613
int32_t UpperBound = tempArray[1 ];
614
614
@@ -666,17 +666,17 @@ int32_t getDigitBeingChanged(int32_t number, int32_t valueChangedBy)
666
666
667
667
void setAdjustableValueToMax (uint32_t currentMenu)
668
668
{
669
- int32_t Address_and_Size [2 ];
670
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , currentMenu);
669
+ int32_t UpperAndLowerBounds [2 ];
670
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , currentMenu);
671
671
int32_t UpperBound = tempArray[1 ];
672
672
673
673
MenuSecondaryValue = UpperBound;
674
674
}
675
675
676
676
void setAdjustableValueToMin (uint32_t currentMenu)
677
677
{
678
- int32_t Address_and_Size [2 ];
679
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , currentMenu);
678
+ int32_t UpperAndLowerBounds [2 ];
679
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , currentMenu);
680
680
int32_t LowerBound = tempArray[0 ];
681
681
682
682
MenuSecondaryValue = LowerBound;
@@ -844,7 +844,7 @@ uint32_t adjustableValueButtonControls(uint32_t currentMenu)
844
844
setAddByIdValue (tempAddress);
845
845
846
846
FrameCounter = 1 ;
847
- return Button ;
847
+ return ADDING_BY_ID ;
848
848
}
849
849
else
850
850
{
@@ -993,7 +993,7 @@ uint32_t adjustableValueButtonControls(uint32_t currentMenu)
993
993
}
994
994
else
995
995
{
996
- return 0x1000 ;
996
+ return NO_NUMBERS_TO_DISPLAY ;
997
997
}
998
998
}
999
999
case CHEATS_CHANGE_SEQUENCE:
@@ -1009,7 +1009,7 @@ uint32_t adjustableValueButtonControls(uint32_t currentMenu)
1009
1009
}
1010
1010
else
1011
1011
{
1012
- return 0x1000 ;
1012
+ return NO_NUMBERS_TO_DISPLAY ;
1013
1013
}
1014
1014
}
1015
1015
case STATS_MARIO:
@@ -1026,7 +1026,7 @@ uint32_t adjustableValueButtonControls(uint32_t currentMenu)
1026
1026
}
1027
1027
else
1028
1028
{
1029
- return 0x1000 ;
1029
+ return NO_NUMBERS_TO_DISPLAY ;
1030
1030
}
1031
1031
}
1032
1032
case BATTLES_CURRENT_ACTOR:
@@ -1042,7 +1042,7 @@ uint32_t adjustableValueButtonControls(uint32_t currentMenu)
1042
1042
}
1043
1043
else
1044
1044
{
1045
- return 0x1000 ;
1045
+ return NO_NUMBERS_TO_DISPLAY ;
1046
1046
}
1047
1047
}
1048
1048
default :
@@ -1085,8 +1085,8 @@ uint32_t addByIconButtonControls(uint32_t currentMenu)
1085
1085
case DPADDOWN:
1086
1086
case DPADUP:
1087
1087
{
1088
- int32_t Address_and_Size [2 ];
1089
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , currentMenu);
1088
+ int32_t UpperAndLowerBounds [2 ];
1089
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , currentMenu);
1090
1090
int32_t LowerBound = tempArray[0 ];
1091
1091
int32_t UpperBound = tempArray[1 ];
1092
1092
@@ -1494,8 +1494,8 @@ void adjustMenuItemBounds(int32_t valueChangedBy, uint32_t currentMenu)
1494
1494
}
1495
1495
}
1496
1496
1497
- int32_t Address_and_Size [2 ];
1498
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , currentMenu);
1497
+ int32_t UpperAndLowerBounds [2 ];
1498
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , currentMenu);
1499
1499
int32_t LowerBound = tempArray[0 ];
1500
1500
int32_t UpperBound = tempArray[1 ];
1501
1501
@@ -1965,11 +1965,11 @@ void setAddByIdValue(void *address)
1965
1965
1966
1966
void setAddByIconValue (void *address)
1967
1967
{
1968
- int32_t Address_and_Size [2 ];
1969
- int32_t *tempArray = getUpperAndLowerBounds (Address_and_Size , MenuSelectedOption);
1968
+ int32_t UpperAndLowerBounds [2 ];
1969
+ int32_t *tempArray = getUpperAndLowerBounds (UpperAndLowerBounds , MenuSelectedOption);
1970
1970
int32_t LowerBound = tempArray[0 ];
1971
1971
uint32_t tempSecondaryMenuOption = SecondaryMenuOption;
1972
- int32_t NewItem = LowerBound + tempSecondaryMenuOption;
1972
+ int32_t NewItem = LowerBound + tempSecondaryMenuOption;
1973
1973
1974
1974
*reinterpret_cast <int16_t *>(
1975
1975
reinterpret_cast <uint32_t >(address)) = NewItem;
@@ -2825,8 +2825,8 @@ void adjustMenuSelectionInventory(uint32_t button)
2825
2825
2826
2826
/* void adjustAddByIconCurrentOption(uint32_t button)
2827
2827
{
2828
- int32_t Address_and_Size [2];
2829
- int32_t *tempArray = getUpperAndLowerBounds(Address_and_Size , MenuSelectedOption);
2828
+ int32_t UpperAndLowerBounds [2];
2829
+ int32_t *tempArray = getUpperAndLowerBounds(UpperAndLowerBounds , MenuSelectedOption);
2830
2830
int32_t LowerBound = tempArray[0];
2831
2831
int32_t UpperBound = tempArray[1];
2832
2832
0 commit comments