27 lines
545 B
Plaintext
27 lines
545 B
Plaintext
|
version=2
|
||
|
|
||
|
:select:<player.position>
|
||
|
|
||
|
:when:4,0,15
|
||
|
@player.move(3)
|
||
|
@register.unregister(trainer_league\<register.registered(leagueupgrade)>\<level.filename>)
|
||
|
@register.unregister(defeat<level.filename>)
|
||
|
|
||
|
:when:5,0,15
|
||
|
@player.move(3)
|
||
|
@register.unregister(trainer_league\<register.registered(leagueupgrade)>\<level.filename>)
|
||
|
@register.unregister(defeat<level.filename>)
|
||
|
:endwhen
|
||
|
|
||
|
@entity.setvisible(3,1)
|
||
|
|
||
|
:if:<register.registered(defeat<level.filename>)>=True
|
||
|
:then
|
||
|
@entity.remove(2)
|
||
|
@entity.setvisible(1,0)
|
||
|
:endif
|
||
|
|
||
|
@sound.play(shutter)
|
||
|
|
||
|
:end
|