mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-08-16 23:38:41 +02:00
16 lines
822 B
Plaintext
16 lines
822 B
Plaintext
version=2
|
|
@text.show(This rock looks like~it can be broken!)
|
|
:if:<pokemon.hasattackinparty(249)>>-1
|
|
@text.show(Do you want to use Rock Smash?)
|
|
@options.show(Yes,No)
|
|
:when:Yes
|
|
@text.show(<pokemon.name(<pokemon.hasattackinparty(249)>)> used~Rock Smash!)
|
|
@entity.remove(0)
|
|
@sound.play(destroy)
|
|
@level.update
|
|
@item.give(8,1)
|
|
@item.messagegive(8,1)
|
|
:end
|
|
:endwhen
|
|
:endif
|
|
:end |