P3D-Legacy/P3D/Content/Data/Scripts/route36/sudowoodo.dat

19 lines
1.1 KiB
Plaintext

version=2
:if:<inventory.countitem(175)>>0
:then
@text.Show(It's a weird looking tree.*Use the Squirtbottle?)
@options.show(Yes,No)
:when:Yes
@text.show(<player.name> used the ~Squirtbottle.)
@pokemon.cry(185)
@level.wait(50)
@text.show(The weird tree~doesn't like the~Squirtbottle!*The weird tree attacked!)
@NPC.register(route36.dat|0|remove|1)
@NPC.remove(0)
@battle.wild(185,20)
@register.register(sudowoodo_removed)
:endwhen
:else
@text.Show(It's a weird looking tree.)
:endif
:end