- }
- string3 = std::string("the jump key (") + Input::keyToChar(Game::jumpkey) + ") to attack.";
- }
- if (stage == 21) {
- string = "This attack is devastating if timed correctly.";
- string2 = "Even if timed incorrectly, it will knock the enemy over.";
- if (againbonus)
- string3 = "Try rabbit-kicking the imaginary enemy again.";
- else
- string3 = "Try rabbit-kicking the imaginary enemy.";
- }
- if (stage == 22) {
- string = "If you sneak behind an enemy unnoticed, you can kill";
- string2 = "him instantly. Move close behind this enemy";
- string3 = "and attack.";
- }
- if (stage == 23) {
- string = "Another important attack is the wall kick. When an enemy";
- string2 = "is near a wall, perform a walljump nearby and hold";
- string3 = "the attack key during impact with the wall.";
- }
- if (stage == 24) {
- string = "You can tackle enemies by running at them animal-style";
- if (Game::attackkey == MOUSEBUTTON1) {
- string2 = std::string("and pressing jump (") + Input::keyToChar(Game::jumpkey) + ") or attack(mouse button).";
- } else {
- string2 = std::string("and pressing jump (") + Input::keyToChar(Game::jumpkey) + ") or attack(" + Input::keyToChar(Game::attackkey) + ").";
- }
- string3 = "This is especially useful when they are running away.";
- }
- if (stage == 25) {
- string = "Dodge by pressing back and attack. Dodging is essential";
- string2 = "against enemies with swords or other long weapons.";
- string3 = " ";
- }
- if (stage == 26) {
- string = "REVERSALS AND COUNTER-REVERSALS";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 27) {
- string = "The enemy can now reverse your attacks.";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 28) {
- string = "If you attack, you will notice that the enemy now sometimes";
- string2 = "catches your attack and uses it against you. Hold";
- string3 = std::string("crouch (") + Input::keyToChar(Game::crouchkey) + ") after attacking to escape from reversals.";
- }
- if (stage == 29) {
- string = "Try escaping from two more reversals in a row.";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 30) {
- string = "Good!";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 31) {
- string = std::string("To reverse an attack, you must tap crouch (") + Input::keyToChar(Game::crouchkey) + ") during the";
- string2 = "enemy's attack. You must also be close to the enemy;";
- string3 = "this is especially important against armed opponents.";
- }
- if (stage == 32) {
- string = "The enemy can attack in " + to_string(int(maxtime - stagetime)) + " seconds.";
- string2 = "This imaginary opponents attacks will be highlighted";
- string3 = "to make this easier.";
- }
- if (stage == 33) {
- string = "Reverse three enemy attacks!";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 34) {
- string = "Reverse two more enemy attacks!";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 35) {
- string = "Reverse one more enemy attack!";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 36) {
- string = "Excellent!";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 37) {
- string = "Now spar with the enemy for " + to_string(int(maxtime - stagetime)) + " more seconds.";
- string2 = "Damage dealt: " + to_string(int(damagedealt));
- string3 = "Damage taken: " + to_string(int(damagetaken));
- }
- if (stage == 38) {
- string = "WEAPONS:";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 39) {
- string = "There is now an imaginary knife";
- string2 = "in the center of the training area.";
- string3 = " ";
- }
- if (stage == 40) {
- string = "Stand, roll or handspring over the knife";
- string2 = std::string("while pressing ") + Input::keyToChar(Game::throwkey) + " to pick it up.";
- string3 = "You can crouch and press the same key to drop it again.";
- }
- if (stage == 41) {
- string = std::string("You can equip and unequip weapons using the ") + Input::keyToChar(Game::drawkey) + " key.";
- string2 = "Sometimes it is best to keep them unequipped to";
- string3 = "prevent enemies from taking them. ";
- }
- if (stage == 42) {
- string = "The knife is the smallest weapon and the least encumbering.";
- string2 = "You can equip or unequip it while standing, crouching,";
- string3 = "running or flipping.";
- }
- if (stage == 43) {
- string = "You perform weapon attacks the same way as unarmed attacks,";
- string2 = "but sharp weapons cause permanent damage, instead of the";
- string3 = "temporary trauma from blunt weapons, fists and feet.";
- }
- if (stage == 44) {
- string = "The enemy now has your knife!";
- string2 = "Please reverse two of his knife attacks.";
- string3 = " ";
- }
- if (stage == 45) {
- string = "Please reverse one more of his knife attacks.";
- string2 = " ";
- string3 = " ";
- }
- if (stage == 46) {
- string = "Now he has a sword!";
- string2 = "The sword has longer reach than your arms, so you";
- string3 = "must move close to reverse the sword slash.";
- }
- if (stage == 47) {
- string = "Long weapons like the sword and staff are also useful for defense;";
- string2 = "you can parry enemy weapon attacks by pressing the attack key";
- string3 = "at the right time. Please try parrying the enemy's attacks!";
- }
- if (stage == 48) {
- string = "The staff is like the sword, but has two main attacks.";
- string2 = "The standing smash is fast and effective, and the running";
- string3 = "spin smash is slower and more powerful.";
- }
- if (stage == 49) {
- string = std::string("When facing an enemy, you can throw the knife with ") + Input::keyToChar(Game::throwkey) + ".";
- string2 = "It is possible to throw the knife while flipping,";
- string3 = "but it is very inaccurate.";
+ string3 = std::string("the jump key (") + Input::keyToChar(Game::jumpkey) + ") to attack.";
+ break;
+ case 21:
+ string = "This attack is devastating if timed correctly.";
+ string2 = "Even if timed incorrectly, it will knock the enemy over.";
+ if (againbonus) {
+ string3 = "Try rabbit-kicking the imaginary enemy again.";
+ } else {
+ string3 = "Try rabbit-kicking the imaginary enemy.";
+ }
+ break;
+ case 22:
+ string = "If you sneak behind an enemy unnoticed, you can kill";
+ string2 = "him instantly. Move close behind this enemy";
+ string3 = "and attack.";
+ break;
+ case 23:
+ string = "Another important attack is the wall kick. When an enemy";
+ string2 = "is near a wall, perform a walljump nearby and hold";
+ string3 = "the attack key during impact with the wall.";
+ break;
+ case 24:
+ string = "You can tackle enemies by running at them animal-style";
+ string2 = std::string("and pressing jump (") + Input::keyToChar(Game::jumpkey) + ") or attack (" + Input::keyToChar(Game::attackkey) + ").";
+ string3 = "This is especially useful when they are running away.";
+ break;
+ case 25:
+ string = "Dodge by pressing back and attack. Dodging is essential";
+ string2 = "against enemies with swords or other long weapons.";
+ break;
+ case 26:
+ string = "REVERSALS AND COUNTER-REVERSALS";
+ break;
+ case 27:
+ string = "The enemy can now reverse your attacks.";
+ break;
+ case 28:
+ string = "If you attack, you will notice that the enemy now sometimes";
+ string2 = "catches your attack and uses it against you. Hold";
+ string3 = std::string("crouch (") + Input::keyToChar(Game::crouchkey) + ") after attacking to escape from reversals.";
+ break;
+ case 29:
+ string = "Try escaping from two more reversals in a row.";
+ break;
+ case 30:
+ string = "Good!";
+ break;
+ case 31:
+ string = std::string("To reverse an attack, you must tap crouch (") + Input::keyToChar(Game::crouchkey) + ") during the";
+ string2 = "enemy's attack. You must also be close to the enemy;";
+ string3 = "this is especially important against armed opponents.";
+ break;
+ case 32:
+ string = "The enemy can attack in " + to_string(int(maxtime - stagetime)) + " seconds.";
+ string2 = "This imaginary opponents attacks will be highlighted";
+ string3 = "to make this easier.";
+ break;
+ case 33:
+ string = "Reverse three enemy attacks!";
+ break;
+ case 34:
+ string = "Reverse two more enemy attacks!";
+ break;
+ case 35:
+ string = "Reverse one more enemy attack!";
+ break;
+ case 36:
+ string = "Excellent!";
+ break;
+ case 37:
+ string = "Now spar with the enemy for " + to_string(int(maxtime - stagetime)) + " more seconds.";
+ string2 = "Damage dealt: " + to_string(int(damagedealt));
+ string3 = "Damage taken: " + to_string(int(damagetaken));
+ break;
+ case 38:
+ string = "WEAPONS:";
+ break;
+ case 39:
+ string = "There is now an imaginary knife";
+ string2 = "in the center of the training area.";
+ break;
+ case 40:
+ string = "Stand, roll or handspring over the knife";
+ string2 = std::string("while pressing ") + Input::keyToChar(Game::throwkey) + " to pick it up.";
+ string3 = "You can crouch and press the same key to drop it again.";
+ break;
+ case 41:
+ string = std::string("You can equip and unequip weapons using the ") + Input::keyToChar(Game::drawkey) + " key.";
+ string2 = "Sometimes it is best to keep them unequipped to";
+ string3 = "prevent enemies from taking them. ";
+ break;
+ case 42:
+ string = "The knife is the smallest weapon and the least encumbering.";
+ string2 = "You can equip or unequip it while standing, crouching,";
+ string3 = "running or flipping.";
+ break;
+ case 43:
+ string = "You perform weapon attacks the same way as unarmed attacks,";
+ string2 = "but sharp weapons cause permanent damage, instead of the";
+ string3 = "temporary trauma from blunt weapons, fists and feet.";
+ break;
+ case 44:
+ string = "The enemy now has your knife!";
+ string2 = "Please reverse two of his knife attacks.";
+ break;
+ case 45:
+ string = "Please reverse one more of his knife attacks.";
+ break;
+ case 46:
+ string = "Now he has a sword!";
+ string2 = "The sword has longer reach than your arms, so you";
+ string3 = "must move close to reverse the sword slash.";
+ break;
+ case 47:
+ string = "Long weapons like the sword and staff are also useful for defense;";
+ string2 = "you can parry enemy weapon attacks by pressing the attack key";
+ string3 = "at the right time. Please try parrying the enemy's attacks!";
+ break;
+ case 48:
+ string = "The staff is like the sword, but has two main attacks.";
+ string2 = "The standing smash is fast and effective, and the running";
+ string3 = "spin smash is slower and more powerful.";
+ break;
+ case 49:
+ string = std::string("When facing an enemy, you can throw the knife with ") + Input::keyToChar(Game::throwkey) + ".";
+ string2 = "It is possible to throw the knife while flipping,";
+ string3 = "but it is very inaccurate.";
+ break;
+ case 50:
+ string = "You now know everything you can learn from training.";
+ string2 = "Everything else you must learn from experience!";
+ break;
+ case 51:
+ string = "Walk out of the training area to return to the main menu.";
+ break;