mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Removed all excess whitespace and standardized line endings.
This commit is contained in:
@@ -29,7 +29,7 @@ module PhoneMsgType
|
||||
Generic = 0
|
||||
Greeting = 1
|
||||
Body = 2
|
||||
BattleRequest = 3
|
||||
BattleRequest = 3
|
||||
end
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ module PokemonSpeciesData
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
|
||||
def self.optionalValues(compilingForms=false)
|
||||
ret = {
|
||||
"Type2" => [SpeciesType2, "e",:PBTypes],
|
||||
@@ -469,4 +469,4 @@ def pbClearData
|
||||
if pbRgssExists?("Data/Tilesets.rvdata")
|
||||
$data_tilesets = load_data("Data/Tilesets.rvdata")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -101,4 +101,4 @@ class PBMove
|
||||
maxPP = pbGetMoveData(@id,MOVE_TOTAL_PP) || 0
|
||||
return maxPP+maxPP*@ppup/5
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -25,4 +25,4 @@ rescue Exception
|
||||
if $!.is_a?(SystemExit) || "#{$!.class}"=="Reset"
|
||||
raise $!
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -87,4 +87,4 @@ class PBTypes
|
||||
e = PBTypes.getCombinedEffectiveness(attackType,targetType1,targetType2,targetType3)
|
||||
return e>PBTypeEffectiveness::NORMAL_EFFECTIVE
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -84,4 +84,4 @@ module PBNatures
|
||||
end
|
||||
return ret
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -21,4 +21,4 @@ module PBGenderRates
|
||||
end
|
||||
return 255 # Default value (genderless)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -98,7 +98,7 @@ module PBExperience
|
||||
# Erratic (600000):
|
||||
# For levels 0-50: n**3([100-n]/50)
|
||||
# For levels 51-68: n**3([150-n]/100)
|
||||
# For levels 69-98: n**3(1.274-[1/50][n/3]-p(n mod 3))
|
||||
# For levels 69-98: n**3(1.274-[1/50][n/3]-p(n mod 3))
|
||||
# where p(x) = array(0.000,0.008,0.014)[x]
|
||||
# For levels 99-100: n**3([160-n]/100)
|
||||
# Fluctuating (1640000):
|
||||
@@ -114,7 +114,7 @@ module PBExperience
|
||||
# Level 101+, use formulae
|
||||
case growth
|
||||
when PBGrowthRates::Medium # 1000000
|
||||
return level ** 3
|
||||
return level ** 3
|
||||
when PBGrowthRates::Erratic # 600000
|
||||
# Different formula that causes 600000 EXP at level 100
|
||||
return ((level ** 4) * 0.6 / 100).floor
|
||||
@@ -194,4 +194,4 @@ module PBExperience
|
||||
end
|
||||
return mLevel
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -63,4 +63,4 @@ rescue Exception
|
||||
if $!.is_a?(SystemExit) || "#{$!.class}"=="Reset"
|
||||
raise $!
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -256,4 +256,4 @@ module PBRibbons
|
||||
]
|
||||
return desc[id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -39,4 +39,4 @@ module PBEggGroups
|
||||
]
|
||||
return names[id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -30,4 +30,4 @@ module PBColors
|
||||
]
|
||||
return names[id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -29,4 +29,4 @@ module PBHabitats
|
||||
]
|
||||
return names[id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user