P3D-Legacy/P3D/Content/Data/Scripts/pallet/evaldist.dat

133 lines
11 KiB
Plaintext

version=2
:if:<register.registered(phone_contact_002)=false
@register.register(phone_contact_002)
:endif
@storage.set(str,pokedex_options,Johto Dex,)
@storage.set(int,can_int,1)
:if:<register.registered(pokedex_kanto)>=true
@storage.set(str,pokedex_options,<storage.get(str,pokedex_options)>Kanto Dex,)
@storage.set(int,can_int,<storage.get(str,can_int)> + 1)
:endif
:if:<register.registered(pokedex_sevii)>=true
@storage.set(str,pokedex_options,<storage.get(str,pokedex_options)>Sevii Dex,)
@storage.set(int,can_int,<storage.get(str,can_int)> + 1)
:endif
:if:<register.registered(pokedex_national)>=true
@storage.set(str,pokedex_options,<storage.get(str,pokedex_options)>National Dex,)
@storage.set(int,can_int,<storage.get(str,can_int)> + 1)
:endif
@storage.set(str,pokedex_options,<storage.get(str,pokedex_options)>Quit)
@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