Made pokemon learn all moves regardless of level, apparently people feel really strongly about this

This commit is contained in:
Deukhoofd committed 2016-03-08 12:54:26 +01:00
1 parent 60db98d9f8
commit 4fd8a73c72
3 files changed
+21 -5

No files matched your search

+7 -1
View File
@@ -12,6 +12,9 @@ else
unportableGenerations = [ 1, 3 ]
unportableGenerations.sort((a, b) -> b - a) # numeric, descending
#Setting this to false allows Pokemon to get all moves, regardless of level
levelLimit = false
switchableFormes = [
"Deoxys"
"Rotom"
@@ -224,7 +227,10 @@ self.checkMoveset = (Generations, pokemon, generation, moves) ->
# tutors, machines, Sketch, or pre-evolutions.
checkMove = (looper, pokemon, move) ->
{level} = pokemon
level ||= 120
level |= 120
if levelLimit = false
return true
checksOut = looper (learnset) ->
# Check level-up, TM/HM, and tutors.