elif state == "ENEMY_TURN": attack_pattern = choose_attack_pattern() state = "PLAYER_DODGE"
The first major boss, Toriel, sets the tone for the entire game. The player is conditioned to believe that to progress, the obstacle must be destroyed. Undertale Boss Battles Script
: This battle functions as a tutorial for the "Spare" mechanic. The script forces the player to realize that "fighting" is a choice, not a requirement. Undertale Boss Battles Script
Then comes Undyne. In the Neutral and Pacifist routes, Undyne represents the "Heroic Boss." She is the first monster who genuinely wants the protagonist dead for a just cause (the freedom of monsterkind). Her battle is intense, the music ("Battle Against a True Hero") is adrenaline-pumping, and the mechanics involve summoning green shields to block arrows. Undertale Boss Battles Script