Use BUGFIX for some inline fixes
This commit is contained in:
@@ -9329,10 +9329,11 @@ u32 GetBoxMonLevelAt(u8 boxId, u8 boxPosition)
|
||||
{
|
||||
u32 lvl;
|
||||
|
||||
// BUG: Missed 'else' statement.
|
||||
if (boxId < TOTAL_BOXES_COUNT && boxPosition < IN_BOX_COUNT && GetBoxMonData(&gPokemonStoragePtr->boxes[boxId][boxPosition], MON_DATA_SANITY_HAS_SPECIES))
|
||||
lvl = GetLevelFromBoxMonExp(&gPokemonStoragePtr->boxes[boxId][boxPosition]);
|
||||
// else
|
||||
#ifdef BUGFIX
|
||||
else
|
||||
#endif
|
||||
lvl = 0;
|
||||
|
||||
return lvl;
|
||||
|
||||
Reference in New Issue
Block a user