Update src/battle_controller_player.c
This commit is contained in:
parent
211e3d5bac
commit
521e1120bb
@ -322,6 +322,16 @@ static void HandleInputChooseAction(void)
|
|||||||
BtlController_EmitTwoReturnValues(BUFFER_B, B_ACTION_CANCEL_PARTNER, 0);
|
BtlController_EmitTwoReturnValues(BUFFER_B, B_ACTION_CANCEL_PARTNER, 0);
|
||||||
PlayerBufferExecCompleted();
|
PlayerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if(!(gBattleTypeFlags & BATTLE_TYPE_TRAINER)) //if wild, pressing B moves cursor to run
|
||||||
|
{
|
||||||
|
PlaySE(SE_SELECT);
|
||||||
|
ActionSelectionDestroyCursorAt(gActionSelectionCursor[gActiveBattler]);
|
||||||
|
gActionSelectionCursor[gActiveBattler] = 3;
|
||||||
|
ActionSelectionCreateCursorAt(gActionSelectionCursor[gActiveBattler], 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (JOY_NEW(START_BUTTON))
|
else if (JOY_NEW(START_BUTTON))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user