2023-05-28 14:06:32 -05:00

43 lines
2.4 KiB
Plaintext

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.<storage.get(integer,tower_streak)>.)
@text.show(Allow me to heal your~Pokémon.)
@pokemon.heal
@screen.fadeout
@sound.play(healing,True)
@level.wait(150)
@screen.fadein
:if:<storage.get(integer,tower_streak)>=7 <or> <storage.get(integer,tower_streak)>=14
:then
:if:<storage.get(integer,tower_class)><2
:then
@register.change(battletower_endless_<storage.get(integer,tower_level)>_class,<system.int(<storage.get(integer,tower_class)>+1)>)
:endif
:endif
@storage.set(integer,tower_class,<register.value(battletower_endless_<storage.get(integer,tower_level)>_class)>)
:if:<storage.get(integer,tower_streak)> m 20 = 0
@text.show(After every 20th battle~in your endless streak~we require trainers~to take a break.)
@script.start(frontier\battletower\endless\start break)
:endif
@script.start(frontier\battletower\endless\beforebattle)
:end