Added in some backwards-compatibility code...

...for the removal of the dismounted commander.
This commit is contained in:
Lari Nieminen 2009-03-11 12:57:45 +00:00
parent 8927fa1cf9
commit 1737783b37

View file

@ -156,6 +156,59 @@
canrecruit=yes
[/side]
[event]
name=prestart
[store_unit]
[filter]
id=Deoran
[/filter]
kill=yes
variable=deoran_store
[/store_unit]
[if]
[variable]
name=deoran_store.type
contains="Dismounted Commander"
[/variable]
[then]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 1
[/variable]
[then]
{VARIABLE deoran_type "Junior Commander"}
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 2
[/variable]
[then]
{VARIABLE deoran_type "Horseman Commander"}
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 3
[/variable]
[then]
{VARIABLE deoran_type "Mounted General"}
[/then]
[/if]
{TRANSFORM_UNIT id=Deoran $deoran_type}
[/then]
[/if]
{CLEAR_VARIABLE deoran_store}
[/event]
[event]
name=start