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

64 lines
3.7 KiB
Plaintext

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é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é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)
@text.show(We can raise Poké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émon~for you.~How may I help you?)
:endif
:select:<daycare.countpokemon(1)>
:when:0
@options.show(Leave Pokémon,Cancel)
:when:Leave Poké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émon,Take back,Cancel)
:when:Leave Pokémon
@script.start(route5\daycare\leave_pokemon)
@daycare.clean(1)
:when:Take back
@text.show(You have energetic Pokémon!~Would you like your~Poké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émon!~Would you like your~Pokémon back?)
@script.start(route5\daycare\take_back)
@daycare.clean(1)
:when:Cancel
@text.show(Oh...~Come back soon!)
:endwhen
:end
:endwhen
:end