version=2 :if:=21 :then @text.show(Aha, so ~is your name.*I will award you with~the Silver Knowledge Emblem~which represents that you~are able to use*the correct moves in~the correct situations.) @player.achieveemblem(silver knowledge) @register.register(factory_silver) @text.show( received~the Silver Knowledge Emblem!) @text.show(I hope that we~will meet again!.*Until then,~goodbye.) :else @text.show(, you~showed your strength once~again. Your trainer skills~are truely remarkable.*You really deserve the~Gold Knowledge Emblem.) @player.achieveemblem(gold knowledge) @register.register(factory_gold) @text.show( received~the Golden Knowledge Emblem!) @text.show(I wish you luck~on your journey,~.) :endif @screen.fadeout @player.warp(frontier\battlefactory\main.dat,14,0.1,3,0) @camera.reset @level.update @screen.fadein @player.turnto(0) :if:=true :then @camera.activatethirdperson :else @camera.deactivatethirdperson :endif @player.addbp(5) @text.show( got 5 BP!*You now have BP.) :if:>_previous_streak)> :then @register.change(battlefactory_challenge__best,) @text.show(Congratulations!~You beat your high score.*Your new high score is~ win(s).) :endif @script.start(frontier\battlefactory\challenge\clearup) :end