P3D-Legacy/P3D/Content/Data/Scripts/quest/tanoby/ballget.dat

31 lines
1.8 KiB
Plaintext

version=2
:if:<register.registered(tanobyballdrop)>=true
@text.show(There is a crack~from where a piece of~the wall was broken~off and replaced.)
:end
:else
@text.show(There is a hole~where a portion~of the wall was~broken off.)
:if:<inventory.countitem(286)>>0
@text.show(The ancient fragment~in the bag is responding~to the hole.*Put the fragment in the hole?)
@options.show(Yes,No)
:When:Yes
@item.remove(286,1)
@entity.remove(1)
@entity.warp(2,10,0.25,5)
@level.update
@sound.play(Battle\Attacks\Pound)
@level.wait(50)
@sound.play(battle\Battle\Pokeball\land)
@level.wait(10)
@sound.play(Battle\Pokeball\land)
@level.wait(15)
@sound.play(Battle\Pokeball\land)
@text.show(A ball drops behind you!)
@entity.warp(3,10,-0.375,8)
@register.register(tanobyballdrop)
:end
:When:No
:end
:endwhen
:endif
:endif
:end