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

64 lines
3.7 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
@daycare.clean(1)
:if:<daycare.hasegg(1)>=true
@script.start(route5\daycare\take_egg)
@daycare.clean(1)
:end
:endif
:if:<register.registered(daycare_callid_1)>=false
@text.show(Hello!~I'm the Day-Care Girl.*We can raise Pok<00>mon~for you.~How may I help you?*Oh, do you want my~phone number, so I can call*you if anything happens~with your Pok<00>mon.)
@options.show(Yes,No)
:when:Yes
@text.show(Alright, here you go!)
@register.register(daycare_callid_1,str,034)
@register.register(phone_contact_034)
@text.show(<player.name> registered~the Day-Care Girl'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.~How may I help you?)
:when:No
@text.show(Oh....*Come back later then...)
:end
:endwhen
:else
@text.show(Hello!~I'm the Day-Care Girl.*We can raise Pok<00>mon~for you.~How may I help you?)
:endif
:select:<daycare.countpokemon(1)>
:when:0
@options.show(Leave Pok<00>mon,Cancel)
:when:Leave Pok<00>mon
@script.start(route5\daycare\leave_pokemon)
@daycare.clean(1)
:when:Cancel
@text.show(Oh...~Come back soon!)
:endwhen
:end
:when:1
@options.show(Leave Pok<00>mon,Take back,Cancel)
:when:Leave Pok<00>mon
@script.start(route5\daycare\leave_pokemon)
@daycare.clean(1)
:when:Take back
@text.show(You have energetic Pok<00>mon!~Would you like your~Pok<00>mon back?)
@script.start(route5\daycare\take_back)
@daycare.clean(1)
:when:Cancel
@text.show(Oh...~Come back soon!)
: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(route5\daycare\take_back)
@daycare.clean(1)
:when:Cancel
@text.show(Oh...~Come back soon!)
:endwhen
:end
:endwhen
:end