51 lines
3.0 KiB
Plaintext
51 lines
3.0 KiB
Plaintext
version=2
|
|
:if:<register.registered(dungeonrobotsdefeated)>=False
|
|
@register.register(dungeonrobotsdefeated,int,0)
|
|
:endif
|
|
|
|
:if:<register.registered(dungeonrobots<level.filename>)>=False
|
|
@storage.set(string,robotnumber,1)
|
|
:select:<level.filename>
|
|
:when:1
|
|
@storage.set(string,robotnumber,2)
|
|
:when:2
|
|
@storage.set(string,robotnumber,2)
|
|
:when:6
|
|
@storage.set(string,robotnumber,2)
|
|
:when:7
|
|
@storage.set(string,robotnumber,2)
|
|
:when:8
|
|
@storage.set(string,robotnumber,2)
|
|
:when:9
|
|
@storage.set(string,robotnumber,2)
|
|
:when:15
|
|
@storage.set(string,robotnumber,2)
|
|
:when:16
|
|
@storage.set(string,robotnumber,2)
|
|
:when:17
|
|
@storage.set(string,robotnumber,2)
|
|
:when:18
|
|
@storage.set(string,robotnumber,2)
|
|
:when:22
|
|
@storage.set(string,robotnumber,2)
|
|
:when:23
|
|
@storage.set(string,robotnumber,2)
|
|
:endwhen
|
|
@text.show(Click*Creeeeeeak*WHIIIIIIIIIIIIIR)
|
|
:if:<register.value(dungeonrobotsdefeated)><10
|
|
@storage.set(string,robotnum,0<register.value(dungeonrobotsdefeated)>)
|
|
:else
|
|
@storage.set(string,robotnum,<register.value(dungeonrobotsdefeated)>)
|
|
:endif
|
|
@battle.trainer(dungeon\robots\<math.floor(<register.value(dungeonrobotsdefeated)>/6)>)
|
|
@register.register(dungeonrobots<level.filename>)
|
|
@register.change(dungeonrobotsdefeated,1+<register.value(dungeonrobotsdefeated)>)
|
|
:if:<register.value(dungeonrobotsdefeated)>=24
|
|
@entity.remove(25)
|
|
:endif
|
|
@entity.remove(<level.filename>)
|
|
@sound.play(destroy)
|
|
:else
|
|
@text.show(It seems to have no power.)
|
|
:endif
|
|
:end |