Skip to content

Commit

Permalink
Fixed a grammatical mistake during spectating
Browse files Browse the repository at this point in the history
The waiting message is now correct while spectating wild battles.
  • Loading branch information
varkor committed Jan 6, 2016
1 parent 53fd7d1 commit d03afa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion battle/scripts/objects/general/BattleContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ function BattleContext (client) {
},
"data" : typeof data !== "undefined" ? data : null
};
if (!battleContext.process) Textbox.stateUntil("Waiting for " + (battleContext.playerIsParticipating() ? "the other player" : "both players") + " to make a decision...", function () {
if (!battleContext.process) Textbox.stateUntil("Waiting for " + (battleContext.playerIsParticipating() ? "the other player" : (!battleContext.isWildBattle() ? "both players" : battleContext.alliedTrainers.first().pronoun(false))) + " to make a decision...", function () {
return battleContext.state.kind !== "waiting" && Textbox.dialogue.length > 1;
});
}
Expand Down

0 comments on commit d03afa7

Please sign in to comment.