SpectraPhantom
The Dark Dragon Tamer
- 4
- Posts
- 9
- Years
- Seen Apr 16, 2018
For those who have the hoopa problem (stack level too deep) like me for the latest version of Essentials change from MultipleForms.register(:HOOPA,{ to the last line with this code
:
MultipleForms.register(:HOOPA,{
"getForm"=>proc{|pokemon|
},
"type2"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next getID(PBTypes,:DARK) # Unbound
},
"getBaseStats"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next [80,160,60,80,170,130] # Unbound
},
"height"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next 65 # Unbound
},
"weight"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next 4900 # Unbound
},
"getMoveList"=>proc{|pokemon|
next if pokemon.form==0
movelist=[[1,:HYPERSPACEFURY],[1,:TRICK],[1,:DESTINYBOND],[1,:ALLYSWITCH],
[1,:CONFUSION],[6,:ASTONISH],[10,:MAGICCOAT],[15,:LIGHTSCREEN],
[19,:PSYBEAM],[25,:SKILLSWAP],[29,:POWERSPLIT],[29,:GUARDSPLIT],
[46,:KNOCKOFF],[50,:WONDERROOM],[50,:TRICKROOM],[55,:DARKPULSE],
[75,:PSYCHIC],[85,:HYPERSPACEFURY]]
for i in movelist
i[1]=getConst(PBMoves,i[1])
end
next movelist
},
"kind"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next _INTL("Djinn") # Unbound
},
"onSetForm"=>proc{|pokemon,form|
pokemon.formTime=(form>0) ? pbGetTimeNow.to_i : nil
}
})
This removes the 3 days thing about hoopa's power but allows you to now use hoopa and even change its form.
If you don't know how to do it you can ask me.
:
MultipleForms.register(:HOOPA,{
"getForm"=>proc{|pokemon|
},
"type2"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next getID(PBTypes,:DARK) # Unbound
},
"getBaseStats"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next [80,160,60,80,170,130] # Unbound
},
"height"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next 65 # Unbound
},
"weight"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next 4900 # Unbound
},
"getMoveList"=>proc{|pokemon|
next if pokemon.form==0
movelist=[[1,:HYPERSPACEFURY],[1,:TRICK],[1,:DESTINYBOND],[1,:ALLYSWITCH],
[1,:CONFUSION],[6,:ASTONISH],[10,:MAGICCOAT],[15,:LIGHTSCREEN],
[19,:PSYBEAM],[25,:SKILLSWAP],[29,:POWERSPLIT],[29,:GUARDSPLIT],
[46,:KNOCKOFF],[50,:WONDERROOM],[50,:TRICKROOM],[55,:DARKPULSE],
[75,:PSYCHIC],[85,:HYPERSPACEFURY]]
for i in movelist
i[1]=getConst(PBMoves,i[1])
end
next movelist
},
"kind"=>proc{|pokemon|
next if pokemon.form==0 # Confined
next _INTL("Djinn") # Unbound
},
"onSetForm"=>proc{|pokemon,form|
pokemon.formTime=(form>0) ? pbGetTimeNow.to_i : nil
}
})
This removes the 3 days thing about hoopa's power but allows you to now use hoopa and even change its form.
If you don't know how to do it you can ask me.
Last edited: