Skip to content

Commit

Permalink
"4.11: RM2000: If you keep CANCEL pressed while in State_Battle, the …
Browse files Browse the repository at this point in the history
…BattleActionState doesn't advance, it keeps paused."

Solution: After battle_action_wait has finished, we put an Input that returns false if CANCEL is pressed.
  • Loading branch information
Albeleon authored and fmatthew5876 committed Oct 15, 2018
1 parent 30263b4 commit e28d02d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scene_battle_rpg2k.cpp
Expand Up @@ -362,6 +362,10 @@ bool Scene_Battle_Rpg2k::ProcessBattleAction(Game_BattleAlgorithm::AlgorithmBase
}
}

if (Input::IsPressed(Input::CANCEL)) {
return false;
}

switch (battle_action_state) {
case BattleActionState_Start:
battle_action_wait = GetDelayForWindow();
Expand Down

0 comments on commit e28d02d

Please sign in to comment.