43 lines
2.1 KiB
Plaintext
43 lines
2.1 KiB
Plaintext
version=2
|
|
|
|
:if:<storage.get(boolean,tower_brain)>=true
|
|
:then
|
|
@text.show(Next up, ...~...~...*The Tower Brain wants~to battle you. Ready?)
|
|
:else
|
|
@text.show(Next up, opponent~no.<system.int(<storage.get(integer,tower_streak)>+1)>. Ready?)
|
|
:endif
|
|
|
|
@options.show(Yes,No)
|
|
:when:No
|
|
|
|
@text.show(Do you really~want to quit?)
|
|
@options.show(Yes,No)
|
|
:when:Yes
|
|
@script.start(frontier\battletower\challenge\cancelbattle)
|
|
:endwhen
|
|
:endwhen
|
|
|
|
@player.turnto(0)
|
|
@player.move(1)
|
|
@player.turnto(3)
|
|
@player.move(1)
|
|
|
|
@camera.activatethirdperson
|
|
@camera.set(0,0.745,2,4.712,-0.31)
|
|
|
|
@script.start(frontier\battletower\challenge\choosetrainer)
|
|
|
|
:if:<battle.won>=true
|
|
:then
|
|
:if:<storage.get(boolean,tower_brain)>=true
|
|
:then
|
|
@script.start(frontier\battletower\challenge\wonbrain)
|
|
:else
|
|
@storage.set(integer,tower_streak,<storage.get(integer,tower_streak)>+1)
|
|
@script.start(frontier\battletower\challenge\afterbattle)
|
|
:endif
|
|
:else
|
|
@script.start(frontier\battletower\challenge\lostbattle)
|
|
:endif
|
|
|
|
:end |