MODE_2 renamed to MODE_MOVING

This commit is contained in:
AsparagusEduardo 2020-03-07 22:44:43 -03:00 committed by huderlem
parent 08bced2cbb
commit f9725affd0

View File

@ -367,7 +367,7 @@ enum
{ {
MODE_PARTY, MODE_PARTY,
MODE_BOX, MODE_BOX,
MODE_2, MODE_MOVING,
}; };
enum enum
@ -5077,7 +5077,7 @@ static void sub_80CBF14(u8 mode, u8 position)
case MODE_BOX: case MODE_BOX:
sPSSData->field_B04 = &sPSSData->boxMonsSprites[position]; sPSSData->field_B04 = &sPSSData->boxMonsSprites[position];
break; break;
case MODE_2: case MODE_MOVING:
sPSSData->field_B04 = &sPSSData->movingMonSprite; sPSSData->field_B04 = &sPSSData->movingMonSprite;
break; break;
default: default:
@ -6388,7 +6388,7 @@ static void sub_80CE250(void)
u8 mode; u8 mode;
if (sIsMonBeingMoved) if (sIsMonBeingMoved)
mode = MODE_2; mode = MODE_MOVING;
else if (sBoxCursorArea == CURSOR_AREA_IN_PARTY) else if (sBoxCursorArea == CURSOR_AREA_IN_PARTY)
mode = MODE_PARTY; mode = MODE_PARTY;
else else
@ -6756,7 +6756,7 @@ static void sub_80CEB40(void)
// fallthrough // fallthrough
case CURSOR_AREA_BUTTONS: case CURSOR_AREA_BUTTONS:
case CURSOR_AREA_BOX: case CURSOR_AREA_BOX:
SetCursorMonData(NULL, MODE_2); SetCursorMonData(NULL, MODE_MOVING);
break; break;
case CURSOR_AREA_IN_BOX: case CURSOR_AREA_IN_BOX:
SetCursorMonData(GetBoxedMonPtr(StorageGetCurrentBox(), sBoxCursorPosition), MODE_BOX); SetCursorMonData(GetBoxedMonPtr(StorageGetCurrentBox(), sBoxCursorPosition), MODE_BOX);