use [remove_event] instead of variable logic

description_num got removed at an earlier point

[ci skip]
This commit is contained in:
Severin Glöckner 2017-05-01 22:47:35 +02:00 committed by Charles Dang
parent 9cf2e7924f
commit 77719820ee

View file

@ -603,19 +603,12 @@
{PRINT ( _ "Attack the quintain with your fighters")}
{VARIABLE trying_to_be_a_wiseguy yes}
[event]
name=select
id=trying_to_be_a_wise_guy
[filter]
id=student
[/filter]
[filter_condition]
[variable]
name=trying_to_be_a_wiseguy
boolean_equals=yes
[/variable]
[/filter_condition]
[message]
speaker=Delfador
@ -629,7 +622,9 @@
type=Elvish Fighter
[/filter]
{VARIABLE trying_to_be_a_wiseguy no}
[remove_event]
id=trying_to_be_a_wise_guy
[/remove_event]
{CLEAR_PRINT}
@ -932,7 +927,6 @@
message= _ "After your victory notice, the map will be grayed out to indicate that the scenario is over; this is called <i>linger mode</i>. You will still be able to examine the final positions and state of your troops and any surviving enemies. When youre finished, click the <b>End Scenario</b> button to go on to the next scenario in the campaign."
[/message]
{CLEAR_VARIABLE trying_to_be_a_wiseguy,description_num}
[/event]
[event]