Fixed Deoran not turning back into his mounted self where he should.

This commit is contained in:
Lari Nieminen 2007-09-17 09:23:27 +00:00
parent e33ae46e14
commit 8f45e170cb
2 changed files with 85 additions and 86 deletions

View file

@ -153,6 +153,91 @@
[event]
name=prestart
[store_unit]
variable=deoran_store
kill=yes
[filter]
description=Deoran
[/filter]
[/store_unit]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 1
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Junior Commander
[/set_variable]
[set_variable]
name=deoran_store.moves
value=6
[/set_variable]
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 2
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Horseman Commander
[/set_variable]
[set_variable]
name=deoran_store.moves
value=7
[/set_variable]
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 3
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Mounted General
[/set_variable]
[set_variable]
name=deoran_store.moves
value=8
[/set_variable]
[/then]
[/if]
[unstore_unit]
variable=deoran_store
find_vacant=yes
[/unstore_unit]
[store_unit]
[filter]
description=Deoran
[/filter]
kill=yes
variable=deoran_store
[/store_unit]
[unstore_unit]
variable=deoran_store
find_vacant=no
[/unstore_unit]
{CLEAR_VARIABLE deoran_store}
{FULL_HEAL description=Deoran}
[/event]
[event]
name=start
[recall]
description=Ethiliel
[/recall]
@ -160,10 +245,6 @@
[recall]
description=Minister Hylas
[/recall]
[/event]
[event]
name=start
[message]
image="portraits/Nicholas_Kerpan/human-poacher.png"

View file

@ -103,88 +103,6 @@
[event]
name=start
[store_unit]
variable=deoran_store
kill=yes
[filter]
description=Deoran
[/filter]
[/store_unit]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 1
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Junior Commander
[/set_variable]
[set_variable]
name=deoran_store.moves
value=6
[/set_variable]
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 2
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Horseman Commander
[/set_variable]
[set_variable]
name=deoran_store.moves
value=7
[/set_variable]
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 3
[/variable]
[then]
[set_variable]
name=deoran_store.type
value=Mounted General
[/set_variable]
[set_variable]
name=deoran_store.moves
value=8
[/set_variable]
[/then]
[/if]
[unstore_unit]
variable=deoran_store
find_vacant=yes
[/unstore_unit]
[store_unit]
[filter]
description=Deoran
[/filter]
kill=yes
variable=deoran_store
[/store_unit]
[unstore_unit]
variable=deoran_store
find_vacant=no
[/unstore_unit]
{CLEAR_VARIABLE deoran_store}
{FULL_HEAL description=Deoran}
[recall]
description=Sir Gerrick
[/recall]