version=2 :if:=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:>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