It looks like you're new here. If you want to get involved, click one of these buttons!
<<nobr>>
<<if $Combat > 0>>
<<print "You did <<$Attack>> damage!">>
<br>
<<print "The <<$Monster_T1>> did <<$Monster_T1_Attack>> damage!">>
<br>
<<endif>>
<<if $Defense < 1>>
<<print "You have been defeated! You wake up back at the [[Shop]]">>
<<endif>>
<<if $Monster_T1_Defense < 1>>
<br>
<<print "You have defeated the <<$Monster_T1>>">>
<br>
[[Return to the Shop|Shop]]
<<endif>>
<<endnobr>>
<<nobr>>
<<if $Defense > 0>>
<<if $Monster_T1_Defense > 0>>
Attack: <<print $Attack>><br>
Defense: <<print $Defense>><br>
Money: <<print $Money>>
<br>
<br>
<<$Monster_T1>><br>
Mosnter Attack: <<$Monster_T1_Attack>><br>
Monster Defense: <<$Monster_T1_Defense>>
<br>
<br>
[[Attack the <<$Monster_T1>>|Fight_T1][$Monster_T1_Defense -=$Attack, $Defense -= $Monster_T1_Attack, $Combat += 1]]<br>
[[Flee to the Shop|Shop]]
<<endif>>
<<endif>>
<<endnobr>>
Please let me know what is going on here again I am pretty new to this program.
Comments
When you write <<$variable>> the parser has to work out what you want it to do, are you calling a <<macro>>, are you asking it to <<display>> a passage, or are you asking it to <<print>> a variable's value, and working this out takes a while. Once it worked out that you wanted to <<print>> a variable it then notices that you have embed a <<print>> macro within a <<print>> macro and this causes some recursive magic which it eventually works out. Times this by four instances in your code and it takes a while. I suggest not using the display shorthand form.
Instead of doing it the way you have, try the following: