P3D-Legacy/P3D/Content/Data/Scripts/nationalpark/end_contest_officer1.dat

37 lines
865 B
Plaintext
Raw Normal View History

2018-09-05 23:26:15 +02:00
version=2
:if:<pokemon.count>=1
:then
@text.show(Do you want to~end the contest?*You haven't caught a~bug Pokémon yet.~That means you won't get~a prize afterwards.)
@options.show(Yes,No)
:when:Yes
@screen.fadeout
@player.warp(nationalpark\nationalpark2.dat,4,0.1,2,0)
@level.update
@player.turnto(0)
@screen.fadein
@level.update
:if:<inventory.countitem(177)>>0
:then
@text.show(I will take the~Sport Balls.)
@item.clearitem(177)
:endif
@text.show(Today's Contest is~over. We hope you*will participate~in the future.)
:end
:when:No
@text.show(Have fun catching~more bug Pokémon.)
:end
:endwhen
:else
@text.show(Do you want to~end the contest?)
@options.show(Yes,No)
:when:Yes
@text.show(Ok, please follow me to~the center of the park.)
@script.start(nationalpark\contest_prize)
:when:No
@text.show(Have fun catching~more bug Pokémon.)
:end
:endwhen
:endif
:end