mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Removed all excess whitespace and standardized line endings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user