Merge pull request #2677 from AlexOn1ine/z_moves_switch_order
Fix switching Z-Moves when pressing SELECT in battle
This commit is contained in:
commit
c399391891
1 changed files with 2 additions and 0 deletions
|
@ -882,6 +882,7 @@ static void HandleMoveSwitching(void)
|
|||
|
||||
if (JOY_NEW(A_BUTTON | SELECT_BUTTON))
|
||||
{
|
||||
struct ChooseMoveStruct *moveInfo = (struct ChooseMoveStruct *)(&gBattleResources->bufferA[gActiveBattler][4]);
|
||||
PlaySE(SE_SELECT);
|
||||
|
||||
if (gMoveSelectionCursor[gActiveBattler] != gMultiUsePlayerCursor)
|
||||
|
@ -973,6 +974,7 @@ static void HandleMoveSwitching(void)
|
|||
MoveSelectionDisplayPpString();
|
||||
MoveSelectionDisplayPpNumber();
|
||||
MoveSelectionDisplayMoveType();
|
||||
GetUsableZMoves(gActiveBattler, moveInfo->moves);
|
||||
}
|
||||
else if (JOY_NEW(B_BUTTON | SELECT_BUTTON))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue