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

@@ -11,7 +11,7 @@ class PokeBattle_Pokemon
attr_reader :speed # Current Speed stat
attr_reader :spatk # Current Special Attack stat
attr_reader :spdef # Current Special Defense stat
attr_accessor :status # Status problem (PBStatuses)
attr_accessor :status # Status problem (PBStatuses)
attr_accessor :statusCount # Sleep count/Toxic flag
attr_accessor :abilityflag # Forces the first/second/hidden (0/1/2) ability
attr_accessor :genderflag # Forces male (0) or female (1)
@@ -44,7 +44,7 @@ class PokeBattle_Pokemon
attr_accessor :obtainLevel # Level obtained
attr_accessor :hatchedMap # Map where an egg was hatched
attr_accessor :language # Language
attr_accessor :ot # Original Trainer's name
attr_accessor :ot # Original Trainer's name
attr_accessor :otgender # Original Trainer's gender:
# 0 - male, 1 - female, 2 - mixed, 3 - unknown
# For information only, not used to verify
@@ -934,4 +934,4 @@ def pbNewPkmn(species,level,owner=nil,withMoves=true)
return PokeBattle_Pokemon.new(species,level,owner,withMoves)
end
alias pbGenPkmn pbNewPkmn
alias pbGenPoke pbNewPkmn
alias pbGenPoke pbNewPkmn

View File

@@ -36,7 +36,7 @@ class PokeBattle_Pokemon
def fSpecies
return pbGetFSpeciesFromForm(@species,formSimple)
end
alias __mf_compatibleWithMove? compatibleWithMove? # Deprecated
def compatibleWithMove?(move)
v = MultipleForms.call("getMoveCompatibility",self)
@@ -134,7 +134,7 @@ def drawSpot(bitmap,spotpattern,x,y,red,green,blue)
bitmap.set_pixel(xOrg+1,yOrg,color)
bitmap.set_pixel(xOrg,yOrg+1,color)
bitmap.set_pixel(xOrg+1,yOrg+1,color)
end
end
end
end
end
@@ -687,4 +687,4 @@ MultipleForms.register(:PIKACHU,{
}
})
MultipleForms.copy(:PIKACHU,:EXEGGCUTE,:CUBONE)
MultipleForms.copy(:PIKACHU,:EXEGGCUTE,:CUBONE)

View File

@@ -107,4 +107,4 @@ MultipleForms.register(:KYOGRE,{
next 1 if isConst?(pkmn.item,PBItems,:BLUEORB)
next
}
})
})

View File

@@ -6,7 +6,7 @@ or Resistances, while in XD the Shadow-type is Super-Effective against all other
types.
2/5 - display nature
XD - Shadow Rush -- 55, 100 - Deals damage.
XD - Shadow Rush -- 55, 100 - Deals damage.
Colosseum - Shadow Rush -- 90, 100
If this attack is successful, user loses half of HP lost by opponent due to this
attack (recoil). If user is in Hyper Mode, this attack has a good chance for a
@@ -189,7 +189,7 @@ end
#===============================================================================
#
#
#===============================================================================
def pbIsPurifiable?(pkmn)
return false if !pkmn
@@ -660,7 +660,7 @@ end
#===============================================================================
#
#
#===============================================================================
class PokemonTemp
attr_accessor :heartgauges
@@ -705,4 +705,4 @@ Events.onStepTaken += proc {
pkmn.adjustHeart(-1)
pkmn.pbUpdateShadowMoves
end
}
}

View File

@@ -331,4 +331,4 @@ def pbCheckEvolution(pokemon,item=0)
next pbMiniCheckEvolutionItem(pokemon,evonib,level,poke,item)
}
end
end
end

View File

@@ -46,4 +46,4 @@ class PokeBattle_Scene
Input.update
end
end
end
end

View File

@@ -96,7 +96,7 @@ class PokemonIconSprite < SpriteWrapper
@counter = 0
self.pokemon = pokemon
@logical_x = 0 # Actual x coordinate
@logical_y = 0 # Actual y coordinate
@logical_y = 0 # Actual y coordinate
@adjusted_x = 0 # Offset due to "jumping" animation in party screen
@adjusted_y = 0 # Offset due to "jumping" animation in party screen
end
@@ -184,7 +184,7 @@ class PokemonIconSprite < SpriteWrapper
return if !@animBitmap
super
@animBitmap.update
self.bitmap = @animBitmap.bitmap
self.bitmap = @animBitmap.bitmap
# Update animation
cl = self.counterLimit
if cl==0
@@ -321,7 +321,7 @@ class PokemonSpeciesIconSprite < SpriteWrapper
return if !@animBitmap
super
@animBitmap.update
self.bitmap = @animBitmap.bitmap
self.bitmap = @animBitmap.bitmap
# Update animation
@counter += 1
if @counter>=self.counterLimit
@@ -361,4 +361,4 @@ def showShadow?(species)
return true
# metrics = pbLoadSpeciesMetrics
# return (metrics[MetricBattlerAltitude][species] || 0)>0
end
end

View File

@@ -342,7 +342,7 @@ class RegionalStorage
end
def pbMoveCaughtToParty(pkmn)
getCurrentStorage.pbMoveCaughtToParty(pkmn)
getCurrentStorage.pbMoveCaughtToParty(pkmn)
end
def pbMoveCaughtToBox(pkmn,box)
@@ -350,7 +350,7 @@ class RegionalStorage
end
def pbStoreCaught(pkmn)
getCurrentStorage.pbStoreCaught(pkmn)
getCurrentStorage.pbStoreCaught(pkmn)
end
def pbDelete(box,index)
@@ -361,7 +361,7 @@ end
#===============================================================================
#
#
#===============================================================================
def pbUnlockWallpaper(index)
$PokemonStorage.unlockedWallpapers[index] = true
@@ -387,4 +387,4 @@ end
# Yields every Pokémon in storage in turn.
def pbEachNonEggPokemon
pbEachPokemon { |pkmn,box| yield(pkmn,box) if !pkmn.egg? }
end
end