Removed unused audio utilities and audio-recording (e.g. for Chatter)

This commit is contained in:
Maruno17
2021-01-17 20:47:57 +00:00
parent 33ee7f0c9a
commit cb684094be
13 changed files with 199 additions and 1679 deletions

View File

@@ -292,22 +292,9 @@ end
#===============================================================================
# Confuses the target. Chance of causing confusion depends on the cry's volume.
# Confusion chance is 0% if user doesn't have a recorded cry. (Chatter)
# Confuses the target. (Chatter)
#===============================================================================
class PokeBattle_Move_014 < PokeBattle_ConfuseMove
def pbOnStartUse(user,targets)
@chatterChance = 0
if user.pokemon && user.pokemon.chatter
# Intensity can be 0-127, so return value is 0-10
@chatterChance = 10*user.pokemon.chatter.intensity/127
end
end
def addlEffect
return @chatterChance if MECHANICS_GENERATION <= 5
return super
end
class PokeBattle_Move_014 < PokeBattle_Move_013
end

View File

@@ -44,7 +44,6 @@ class PokeBattle_DebugSceneNoLogging
def pbItemMenu(idxBattler,firstAction); return -1; end
def pbResetMoveIndex(idxBattler); end
def pbChatter(user,target); end
def pbHPChanged(battler,oldHP,showAnim=false); end
def pbFaintBattler(battler); end
def pbEXPBar(battler,startExp,endExp,tempExp1,tempExp2); end