Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Near the top of the script section Pokemon_MultipleForms, find this method and rearrange it as follows:
- def form=(value)
- @form=value
- MultipleForms.call("onSetForm",self,value)
- self.calcStats
- pbSeenForm(self)
- end
- # Rewrite the following two procedures as follows:
- MultipleForms.register(:FURFROU,{
- "getForm"=>proc{|pokemon|
- if !pokemon.formTime || pbGetTimeNow.to_i>pokemon.formTime.to_i+60*60*24*5 # 5 days
- next 0
- end
- next
- },
- MultipleForms.register(:HOOPA,{
- "getForm"=>proc{|pokemon|
- if !pokemon.formTime || pbGetTimeNow.to_i>pokemon.formTime.to_i+60*60*24*3 # 3 days
- next 0
- end
- next
- },
- # That's all you need to do.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement