version=2 :if:=false @npc.unregister(goldenrod.dat|20|position|23,6,24) :endif :if:=phonereceiving @text.notification(Camper Todd*Receiving call.......,500,5,5,,phone\010) :end :endif @storage.set(int,message,0) :if:=true @storage.set(int,message,1) :if:=true @storage.set(int,message,2) :endif :else :if:=false :if:=0 =false @Register.registertime(phone_reg_010,3,hour) @register.registertime(bargainshop,3,hour) @npc.register(goldenrod.dat|20|position|23,6,24) @Register.registertime(phone_reg_time_010,1,day) @storage.set(int,message,2) :else :if:=saturday,morning @storage.set(int,message,1) @Register.register(phone_reg_010) :else :if:=calling >0 @storage.set(int,message,1) @Register.register(phone_reg_010) :endif :endif :endif :endif :endif :select: :when:0 @Text.Show(Hello, .*I have heard that~sometimes there are~sales at the~Dept. Store.*I will let~you know if~I hear of one.*Bye.) :when:1 @Text.Show(Yo, ~this is Todd here.*How are you?*I have been training~very hard.*Want to battle?*I will be waiting~on Route 34.) :when:2 @text.show(, right?~This is it,~the one we've all been~waiting for!*Goldenrod Department Store's~bargain sale is on now!*Want it cheap?~Want it lots?*Don't miss this Goldenrod~chance!*Huh?~I sound like a huckster?*Well, yeah.~I was mimicking them...*Anyway, you've got to get~there as soon as you can!*See you later!) :endwhen :end