(if: (either: 0, 1) is 0)[The snake bites you. Yowch! (set: $currenthp to $currenthp + $armordefense - $snakedamage)
The snake's current hp is $snakehp.
Your current hp is $currenthp.
[[Fight again?|Fight the Snake]]
[[Flee?|The Forest]]](else:)[You hit the snake. Take that! (set: $snakehp to $snakehp - $weapondamage)
The snake's current hp is $snakehp.
Your current hp is $currenthp.
[[Fight again?|Fight the Snake]]
[[Flee?|The Forest]]]
(if: $snakehp < 1)[The snake is dead!](replace: "[[Fight again?|Fight the Snake]]" and "[[Flee?|The Forest]]")[[[Victory!|Snake Win]]]
This is my code so far. The fight itself works. I just can't figure out how to replace, upon win or loss, the first passage's text with the text at the bottom. Any help would be greatly appreciated. I'm using Harlowe on Twine 2.0.10.