version=2 @npc.turn(0,3) @npc.move(0,2) @npc.turn(0,0) @npc.move(0,2) @npc.turn(0,1) @npc.move(0,3) @npc.turn(0,0) @npc.move(0,2) @npc.remove(0) @camera.deactivatethirdperson @player.turnto(1) @player.move(2) @player.turnto(2) @player.move(1) @text.show(You defeated opponent~no..) @text.show(Allow me to heal your~Pokémon.) @pokemon.heal @screen.fadeout @sound.play(healing,True) @level.wait(150) @screen.fadein :if:=7 =14 :then :if:<2 :then @register.change(battletower_challenge__class,+1)>) :endif @register.change(battletower_challenge__previous_streak,)>) :endif @storage.set(integer,tower_class,_class)>) @storage.set(integer,previous_streak,_previous_streak)>) :if:=35 =false =70 =false :then @storage.set(boolean,tower_brain,true) @script.start(frontier\battletower\challenge\beforebattle) :else :if:=7 :then @script.start(frontier\battletower\challenge\won7) :else @storage.set(boolean,tower_brain,false) @script.start(frontier\battletower\challenge\beforebattle) :endif :endif :end