47 lines
3.5 KiB
Plaintext
47 lines
3.5 KiB
Plaintext
version=2
|
|
:if:<Register.registered(Trainertowerstart)>=true
|
|
:end
|
|
:endif
|
|
|
|
@player.turnto(3)
|
|
@text.show(Hello!*Welcome to Trainer Tower where~trainers gather from all over!*Trainers are awaiting your~challenge up to the eighth~floor.*Would you like to challenge~the waiting trainers?)
|
|
@options.show(Yes,No,Info)
|
|
:when:Yes
|
|
@text.show(Which challenge would~you like to face?)
|
|
@options.show(Single,Double,Knockout,Mixed,Cancel)
|
|
:when:Single
|
|
@register.register(battletowersinglechallenge)
|
|
:when:Double
|
|
@register.register(battletowerdoublechallenge)
|
|
@entity.remove(21)
|
|
@entity.warp(22,9,0,0)
|
|
:when:Knockout
|
|
@register.register(battletowerknockoutchallenge)
|
|
@entity.remove(21)
|
|
@entity.warp(23,9,0,0)
|
|
:when:Mixed
|
|
@register.register(battletowermixedchallenge)
|
|
@entity.remove(21)
|
|
@entity.warp(24,9,0,0)
|
|
:when:Cancel
|
|
@text.show(Please do visit us again.)
|
|
@player.turnto(2)
|
|
@player.move(1)
|
|
:end
|
|
:endwhen
|
|
@text.show(Okay,~I'll get the clock started,~so give it everything you have.)
|
|
@player.turnto(0)
|
|
@text.show(On your marks,*Get Set.....*Go!)
|
|
@register.register(Trainertowerstart,int,<system.calcint(<system.unixtimestamp>)>)
|
|
:when:No
|
|
@text.show(Please do visit us again.)
|
|
@player.turnto(2)
|
|
@player.move(1)
|
|
:end
|
|
:when:Info
|
|
@text.show(Here at Trainer Tower,~there is an event called~Time Attack.*You will be timed on how~quickly you can get from~the reception counter to~the owner on the roof.*The best times will be~recorded on the Time Board.*Try competing with friends~to see who can beat it~the fastest.*You will not earn any~EXP. Points or money~by beating trainers here.)
|
|
@player.turnto(2)
|
|
@player.move(1)
|
|
:end
|
|
:endwhen
|
|
:end |