P3D-Legacy/P3D/Content/Data/Scripts/floe/lorelei.dat

27 lines
2.3 KiB
Plaintext

version=2
:if:<register.registered(battledloreleitoday)>=False
:if:<register.registered(loreleibattlecount)>=False
@text.show(Hello, <player.name>.*You did a great job~cleaning up Team Rocket.*I don't think I actually~introduced myself.*My name is Lorelei.*I was a member of the~Kanto Elite Four.*I retired a few years~ago and have been living~here ever since.*Even though I am no~longer a member of the~Elite Four, I have been~training rigorously.*Perhaps we could battle?)
@register.register(loreleibattlecount,int,0)
:else
@text.show(Ah, <player.name>.*Ready for another battle?)
:endif
@Options.show(Yes,No)
:when:Yes
@text.show(Don't underestimate me!*I didn't retire because~of my age like Agatha!)
:if:<register.value(loreleibattlecount)>>10
@battle.trainer(floe\lorelei2)
:else
@battle.trainer(floe\lorelei1)
:endif
@text.show(That was an invigorating~battle!*Come visit again!)
@register.registertime(battledloreleitoday,1,days)
@register.change(loreleibattlecount,<register.value(loreleibattlecount)>+1)
:end
:when:No
:end
:endwhen
:endif
@text.show(That was an invigorating battle!*Come visit again.)
:end