P3D-Legacy/P3D/Content/Data/Scripts/route34/daycare/main.dat

77 lines
4.1 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
@daycare.clean(0)
:if:<register.registered(oddegg_got)>=false
:then
@script.start(route34\daycare\odd_egg)
:else
:if:<daycare.hasegg(0)>=true
:then
@script.start(route34\daycare\take_egg)
@daycare.clean(0)
:end
:endif
:if:<register.registered(daycare_callid_0)>=false
:then
@text.show(I'm the Day-Care Man.*We can raise Pok<00>mon~for you.~What do you want to~do today?*Oh, I can give you my~phone number, so I can call*you if I need to talk to~you about your Pok<00>mon.)
@options.show(Yes,No)
:when:Yes
@text.show(Alright, here you go!)
@register.register(daycare_callid_0,str,012)
@register.register(phone_contact_012)
@text.show(<player.name> registered~the Day-Care Man's number.)
@sound.play(Receive_PhoneNumber,1)
2016-09-07 18:50:38 +02:00
@text.show(We can raise Pok<00>mon~for you.~What do you want to~do today?)
:when:No
@text.show(Very well.~Please come again.)
:end
:endwhen
:else
@text.show(I'm the Day-Care Man.*We can raise Pok<00>mon~for you.~What do you want to~do today?)
:endif
:select:<daycare.countpokemon(0)>
:when:0
@options.show(Leave Pok<00>mon,Cancel)
:when:Leave Pok<00>mon
@script.start(route34\daycare\leave_pokemon)
@daycare.clean(0)
:when:Cancel
@text.show(Very well.~Please come again.)
:endwhen
:end
:when:1
@options.show(Leave Pok<00>mon,Take back,Cancel)
:when:Leave Pok<00>mon
@script.start(route34\daycare\leave_pokemon)
@daycare.clean(0)
:when:Take back
@text.show(You have energetic Pok<00>mon!~Would you like your~Pok<00>mon back?)
@script.start(route34\daycare\take_back)
@daycare.clean(0)
:when:Cancel
@text.show(Very well.~Please come again.)
:endwhen
:end
:when:2
@options.show(Take back,Cancel)
:when:Take back
@text.show(You have energetic Pok<00>mon!~Would you like your~Pok<00>mon back?)
@script.start(route34\daycare\take_back)
@daycare.clean(0)
:when:Cancel
@text.show(Very well.~Please come again.)
:endwhen
:end
:endwhen
:endif
:end