P3D-Legacy/P3D/Content/Data/Scripts/fortune/dot/ent.dat

73 lines
3.9 KiB
Plaintext

version=2
@text.show(The door doesn't~budge at all.*Check it more thoroughly?)
@options.show(Yes,No)
:when:Yes
@text.show(On closer inspection,~there are several~dots on the door...)
@text.setfont(braille)
@text.show(cut)
:if:<pokemon.hasattack(0,15)>=true
@text.show(<pokemon.name(0)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:else
:if:<pokemon.count>>1
:if:<pokemon.hasattack(1,15)>=true
@text.show(<pokemon.name(1)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:else
:if:<pokemon.count>>2
:if:<pokemon.hasattack(2,15)>=true
@text.show(<pokemon.name(2)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:else
:if:<pokemon.count>>3
:if:<pokemon.hasattack(3,15)>=true
@text.show(<pokemon.name(3)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:else
:if:<pokemon.count>>4
:if:<pokemon.hasattack(4,15)>=true
@text.show(<pokemon.name(4)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:else
:if:<pokemon.count>>5
:if:<pokemon.hasattack(5,15)>=true
@text.show(<pokemon.name(5)> used cut!)
@sound.play(destroy)
@register.register(dotcut)
@entity.remove(21)
@entity.warp(20,24,0,24)
:end
:endif
:endif
:endif
:endif
:endif
:endif
:endif
:endif
:endif
:endif
:endwhen
:end