52 lines
3.8 KiB
Plaintext
52 lines
3.8 KiB
Plaintext
version=2
|
|
|
|
:if:<storage.get(integer,previous_streak)>=35
|
|
:then
|
|
@text.show(Dein Name ist also~<player.name>.*That's a cool name, indeed.~You've proven your skills~in the last 35 battles, so~I will award you with*the Silver Ability Emblem.)
|
|
@player.achieveemblem(silver ability)
|
|
@register.register(tower_silver)
|
|
@text.show(<player.name> received~the Silver Ability Emblem!)
|
|
@text.show(I hope that we~will meet again!*Until then,~goodbye.)
|
|
:else
|
|
@text.show(Dein Team ist großartig!~I didn't expect you to~win again, but you truly*showed your strength and dedication.~Now, I usually don't do~this, but here, have the~Golden Ability Emblem.)
|
|
@player.achieveemblem(gold ability)
|
|
@register.register(tower_gold)
|
|
@text.show(<player.name> received~the Golden Ability Emblem!)
|
|
@text.show(I wish you luck~on your journey,~<player.name>.)
|
|
:endif
|
|
|
|
@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(15)
|
|
@text.show(<player.name> got 15 BP!*You now have <player.bp> BP.)
|
|
|
|
:if:<storage.get(integer,previous_streak)>><register.value(battletower_challenge_<storage.get(integer,tower_level)>_previous_streak)>
|
|
: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 |