46 lines
3.8 KiB
Plaintext
46 lines
3.8 KiB
Plaintext
version=2
|
|
:if:<level.mapfile>=ssaqua\vermilion\main.dat
|
|
@storage.set(string,registers,vermilion)
|
|
@storage.set(string,maps,Olivine)
|
|
:else
|
|
@storage.set(string,registers,olivine)
|
|
@storage.set(string,maps,Vermilion)
|
|
:endif
|
|
:if:<register.registered(docked)>=True
|
|
@text.show(Fast Ship S.S. Aqua has~arrived in <storage.get(string,maps)> City.)
|
|
@npc.turn(0,1)
|
|
:if:<player.position>=14,0,0
|
|
@npc.turn(0,2)
|
|
:endif
|
|
@npc.move(0,1)
|
|
:if:<player.position>=14,0,0
|
|
@player.move(1)
|
|
@player.turnto(0)
|
|
@player.move(1)
|
|
:else
|
|
@player.move(2)
|
|
:endif
|
|
@register.unregister(docked)
|
|
:if:<register.registered(firsttimessaqua)>=False
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\001)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\002)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\003)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\004)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\005)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\006)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\007)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\008)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\009)
|
|
@register.unregister(trainer_ssaqua\<storage.get(string,registers)>\010)
|
|
:if:<register.value(ssaqua<storage.get(string,registers)>levels,int)><20
|
|
@register.change(ssaqua<storage.get(string,registers)>levels,<register.value(ssaqua<storage.get(string,registers)>levels,int)>+2)
|
|
:endif
|
|
:endif
|
|
@register.unregister(firsttimessaqua)
|
|
@player.warp(<storage.get(string,maps)>\dock.dat,0,0.1,12,0)
|
|
@level.update
|
|
@player.move(4)
|
|
:end
|
|
:endif
|
|
@text.show(Fast Ship S.S. Aqua is~en route to <storage.get(string,maps)> City.*We will make an~announcement when we arrive.)
|
|
:end |