129 lines
11 KiB
Plaintext
129 lines
11 KiB
Plaintext
version=2
|
|
|
|
:if:<register.registered(pokedex_national)>=false
|
|
:if:<register.registered(pokedex_sevii)>=false
|
|
:if:<register.registered(pokedex_kanto)>=false
|
|
@storage.set(str,pokedex_options,Johto Dex,Quit)
|
|
@options.setcancelindex(1)
|
|
:else
|
|
@storage.set(str,pokedex_options,Johto Dex,Kanto Dex,Quit)
|
|
@options.setcancelindex(2)
|
|
:endif
|
|
:else
|
|
@storage.set(str,pokedex_options,Johto Dex,Kanto Dex,National Dex,Quit)
|
|
@options.setcancelindex(3)
|
|
:endif
|
|
:else
|
|
@storage.set(str,pokedex_options,Johto Dex,Kanto Dex,Sevii Dex,National Dex,Quit)
|
|
@options.setcancelindex(4)
|
|
:endif
|
|
|
|
|
|
@text.show(Hello, <Player.name>!*How's your Pokédex~coming along?)
|
|
@options.show(<storage.get(str,pokedex_options)>)
|
|
:when:Johto Dex
|
|
@text.show(Hmm, let's see...~You've seen <math.int(<pokedex.dexseen(0)>+<pokedex.dexcaught(0)>)> Pokémon,~and caught <pokedex.dexcaught(0)> Pokémon!~I see!)
|
|
@script.start(pallet\evaljohtext)
|
|
:if:<register.registered(johtodexcomplete)>=true
|
|
:if:<register.registered(Ovalpickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
:else
|
|
:if:<register.registered(kantodexcomplete)>=true <and> <register.registered(seviidexcomplete)>=true <and> <register.registered(Shinypickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
:endif
|
|
:end
|
|
:else
|
|
@text.show(Show me your Pokédex~again anytime!)
|
|
:end
|
|
:endif
|
|
:when:Kanto Dex
|
|
@text.show(Hmm, let's see...~You've seen <math.int(<pokedex.dexseen(1)>+<pokedex.dexcaught(1)>)> Pokémon,~and caught <pokedex.dexcaught(1)> Pokémon!~I see!)
|
|
@script.start(pallet\evalkantext)
|
|
:if:<register.registered(kantodexcomplete)>=true
|
|
:if:<register.registered(Ovalpickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
:else
|
|
:if:<register.registered(johtodexcomplete)>=true <and> <register.registered(seviidexcomplete)>=true <and> <register.registered(Shinypickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
:endif
|
|
:end
|
|
:else
|
|
@text.show(Show me your Pokédex~again anytime!)
|
|
:end
|
|
:endif
|
|
:when:Sevii Dex
|
|
@text.show(Hmm, let's see...~You've seen <math.int(<pokedex.dexseen(2)>+<pokedex.dexcaught(2)>)> Pokémon,~and caught <pokedex.dexcaught(2)> Pokémon!~I see!)
|
|
@script.start(pallet\evalsevtext)
|
|
:if:<register.registered(seviidexcomplete)>=true
|
|
:if:<register.registered(Ovalpickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
:else
|
|
:if:<register.registered(johtodexcomplete)>=true <and> <register.registered(kantodexcomplete)>=true <and> <register.registered(Shinypickedup)>=false
|
|
#Checks if the script got called from Prof. Oak's NPC script:
|
|
:if:<storage.get(str,pallet_oak_scriptcaller)>=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
|
|
: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 <math.int(<pokedex.seen>+<pokedex.caught>)> Pokémon,~and caught <pokedex.caught> Pokémon!~I see!)
|
|
@script.start(pallet\evalnattext)
|
|
@text.show(Show me your Pokédex~again anytime!)
|
|
:end
|
|
:when:Quit
|
|
:end
|
|
:endwhen
|
|
|
|
:end |