29 lines
1.9 KiB
Plaintext
29 lines
1.9 KiB
Plaintext
version=2
|
|
|
|
@text.show(Congratulations!~You beat 7 trainers~in a row.*We will return you to~the lobby where you~receive your BP.)
|
|
@screen.fadeout
|
|
@player.warp(frontier\battlefactory\main.dat,14,0.1,3,0)
|
|
@camera.reset
|
|
@level.update
|
|
@screen.fadein
|
|
@player.turnto(0)
|
|
|
|
:if:<storage.get(boolean,thirdperson)>=true
|
|
:then
|
|
@camera.activatethirdperson
|
|
:else
|
|
@camera.deactivatethirdperson
|
|
:endif
|
|
|
|
@player.addbp(3)
|
|
@text.show(<player.name> got 3 BP!*You now have <player.bp> BP.)
|
|
|
|
:if:<storage.get(integer,previous_streak)>><register.value(battlefactory_challenge_<storage.get(integer,factory_level)>_best)>
|
|
:then
|
|
@register.change(battlefactory_challenge_<storage.get(integer,factory_level)>_best,<storage.get(integer,previous_streak)>)
|
|
@text.show(Congratulations!~You beat your high score.*Your new high score is~<storage.get(integer,previous_streak)> win(s).)
|
|
:endif
|
|
|
|
@script.start(frontier\battlefactory\challenge\clearup)
|
|
|
|
:end |