version=2
:if:<phone.callflag>=calling
:then
@Text.Show([POKE]gear:~Calling..............)
:else
@Text.Show([POKE]gear: Gentleman Alfred~Receiving call.......)
:endif
:if:<register.registered(phone_reg_021)>=true
:then
:if:<player.gender>=1
:then
@Text.Show(Why, hello~MR. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~GLITTER LIGHTHOUSE.)
:else
@Text.Show(Why, hello~MS. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~GLITTER LIGHTHOUSE.)
:endif
:else
:if:<environment.dayinformation>=tuesday,evening <and> <register.registered(phone_reg_021_time)>=false
:then
:if:<player.gender>=1
:then
@Text.Show(Why, hello~MR. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~GLITTER LIGHTHOUSE.)
:else
@Text.Show(Why, hello~MS. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~GLITTER LIGHTHOUSE.)
:endif
@Register.register(phone_reg_021)
:else
:if:<player.gender>=1
:then
@Text.Show(Why, hello~MR. <player.name>.*How are you doing?*It is quite nice~here in Olivine~right now.*How is it~where you are?*Talk to you again.)
:else
@Text.Show(Why, hello~MS. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~GLITTER LIGHTHOUSE.)
:endif
:endif
:endif
:end