Removed all excess whitespace and standardized line endings.

This commit is contained in:
m3rein
2020-09-05 21:23:16 +02:00
parent caed5bd757
commit 240af4e5e7
219 changed files with 929 additions and 929 deletions

View File

@@ -49,7 +49,7 @@ end
#===============================================================================
#
#
#===============================================================================
class PokemonEncounters
attr_reader :stepcount
@@ -84,7 +84,7 @@ class PokemonEncounters
# for the current map.
def hasEncounter?(enc)
return false if @density==nil || enc<0
return @enctypes[enc] ? true : false
return @enctypes[enc] ? true : false
end
# Returns whether encounters for the given encounter type have been defined
@@ -100,7 +100,7 @@ class PokemonEncounters
return false
end
return false if density==nil || enctype<0
return enctypes[enctype] ? true : false
return enctypes[enctype] ? true : false
end
# Returns whether cave-like encounters have been defined for the current map.
@@ -400,7 +400,7 @@ end
#===============================================================================
#
#
#===============================================================================
# Returns a Pokémon generated by a wild encounter, given its species and level.
def pbGenerateWildPokemon(species,level,isRoamer=false)
@@ -465,4 +465,4 @@ def pbEncounter(enctype)
end
$PokemonTemp.encounterType = -1
return true
end
end