38 lines
2.4 KiB
Plaintext
38 lines
2.4 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\battletower\main.dat,10,0.1,4,0)
|
|
@camera.reset
|
|
@level.update
|
|
@screen.fadein
|
|
@player.turnto(0)
|
|
|
|
:if:<storage.get(boolean,thirdperson)>=true
|
|
:then
|
|
@camera.activatethirdperson
|
|
:endif
|
|
|
|
@player.addbp(8)
|
|
@text.show(<player.name> got 8 BP!*You now have <player.bp> BP.)
|
|
|
|
:if:<storage.get(integer,previous_streak)>><register.value(battletower_challenge_<storage.get(integer,tower_level)>_best)>
|
|
:then
|
|
@register.change(battletower_challenge_<storage.get(integer,tower_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
|
|
|
|
@pokemon.changelevel(0,<storage.get(integer,level_0)>)
|
|
@pokemon.changelevel(1,<storage.get(integer,level_1)>)
|
|
@pokemon.changelevel(2,<storage.get(integer,level_2)>)
|
|
|
|
@pokemon.calcstats(0)
|
|
@pokemon.calcstats(1)
|
|
@pokemon.calcstats(2)
|
|
|
|
@pokemon.heal
|
|
|
|
@text.show(...~........*All done! Please come~see us again!)
|
|
@storage.clear
|
|
|
|
:end |