version=2 :if:=false @storage.set(str,pokedex_options,Johto Dex,Quit) @options.setcancelindex(1) :else @storage.set(str,pokedex_options,Johto Dex,National Dex,Quit) @options.setcancelindex(2) :endif @text.show(Hello, !*How's your Pokédex~coming along?) @options.show() :when:Johto Dex @text.show(Hmm, let's see...~You've seen +)> Pokémon,~and caught Pokémon!~I see!) @script.start(pallet\evaljohtext) :if:=true :if:=false #Checks if the script got called from Prof. Oak's NPC script: :if:=flag @text.show(As a token of my~gratitude I would like to~give you a small gift.) @item.give(241,1) @item.messagegive(241,1) @register.register(Ovalpickedup) :else @text.show(As a token of my~gratitude I would like to~give you a small gift.~Please come visit me!) :endif :endif :end :else @text.show(Show me your Pokédex~again anytime!) :end :endif :when:National Dex @text.show(Hmm, let's see...~You've seen +)> Pokémon,~and caught Pokémon!~I see!) @script.start(pallet\evalnattext) :if:=true :if:=false #Checks if the script got called from Prof. Oak's NPC script: :if:=flag @text.show(As a token of my~gratitude I would like to~give you a small gift.) @item.give(242,1) @item.messagegive(242,1) @register.register(Shinypickedup) :else @text.show(As a token of my~gratitude I would like to~give you a small gift.~Please come visit me!) :endif :endif :end :else @text.show(Show me your Pokédex~again anytime!) :end :endif :when:Quit :end :endwhen :end