P3D-Legacy/P3D/Content/Data/Scripts/route31/sleepy_guy.dat

87 lines
8.2 KiB
Plaintext

version=2
:if:<register.registered(goldenrod_spearow_delivery)>=true
:then
:if:<register.registered(goldenrod_spearow_delivered)>=true
:then
@text.show(TM50 is Nightmare.*It's a wicked move~that steadily cuts*the HP of a sleeping enemy.*Ooooh...~That's scary...*I don't want to~have bad dreams.)
:else
@text.show(...Zzzz... Huh?*What's that? You~have Mail for me?)
:if:<pokemon.count>>0
:then
:if:<pokemon.id(0)>=21 <and> <pokemon.ot(0)>=09182 <and> <pokemon.itemid(0)>=300 <and> <pokemon.trainer(0)>=Randy <and> <pokemon.nickname(0)>=Kenya
:then
:if:<pokemon.count>=1
:then
@text.show(If I take that~Pokémon from you,*what are you going~to use in battle?)
:end
:else
@pokemon.remove(0)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:endif
:if:<pokemon.count>>1 <and> <register.registered(goldenrod_spearow_delivered)>=false
:then
:if:<pokemon.id(1)>=21 <and> <pokemon.ot(1)>=09182 <and> <pokemon.itemid(1)>=300 <and> <pokemon.trainer(1)>=Randy <and> <pokemon.nickname(1)>=Kenya
:then
@pokemon.remove(1)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:if:<pokemon.count>>2 <and> <register.registered(goldenrod_spearow_delivered)>=false
:then
:if:<pokemon.id(2)>=21 <and> <pokemon.ot(2)>=09182 <and> <pokemon.itemid(2)>=300 <and> <pokemon.trainer(2)>=Randy <and> <pokemon.nickname(2)>=Kenya
:then
@pokemon.remove(2)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:if:<pokemon.count>>3 <and> <register.registered(goldenrod_spearow_delivered)>=false
:then
:if:<pokemon.id(3)>=21 <and> <pokemon.ot(3)>=09182 <and> <pokemon.itemid(3)>=300 <and> <pokemon.trainer(3)>=Randy <and> <pokemon.nickname(3)>=Kenya
:then
@pokemon.remove(3)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:if:<pokemon.count>>4 <and> <register.registered(goldenrod_spearow_delivered)>=false
:then
:if:<pokemon.id(4)>=21 <and> <pokemon.ot(4)>=09182 <and> <pokemon.itemid(4)>=300 <and> <pokemon.trainer(4)>=Randy <and> <pokemon.nickname(4)>=Kenya
:then
@pokemon.remove(4)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:if:<pokemon.count>>5 <and> <register.registered(goldenrod_spearow_delivered)>=false
:then
:if:<pokemon.id(5)>=21 <and> <pokemon.ot(5)>=09182 <and> <pokemon.itemid(5)>=300 <and> <pokemon.trainer(5)>=Randy <and> <pokemon.nickname(5)>=Kenya
:then
@pokemon.remove(5)
@register.register(goldenrod_spearow_delivered)
:endif
:endif
:if:<register.registered(goldenrod_spearow_delivered)>=true
:then
@text.show(<player.name> handed~over the Pokémon~holding the Mail.)
@text.show(Let's see...*...Dark Cave leads~to another road...*That's good to~know.*Thanks for bring-~ing this to me.*My friend's a good~guy, and you're a~swell guy too!*I'd like to do~something good in~return too!*I know! I want you~to have this!)
@item.give(240)
@item.messagegive(240,1)
@text.show(TM50 is Nightmare.*It's a wicked move~that steadily cuts*the HP of a sleeping enemy.*Ooooh...~That's scary...*I don't want to~have bad dreams.)
:end
:else
@text.show(What? You don't~want anything?)
:end
:endif
:endif
:else
@text.show(... Hnuurg... Huh?*I walked too far~today looking for~Pokémon.*My feet hurt and~I'm sleepy...*If I were a wild~Pokémon, I'd be~easy to catch...*...Zzzz...)
:endif
:end