mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -42,10 +42,8 @@ end
|
||||
#===============================================================================
|
||||
def pbLoadPhoneData
|
||||
$game_temp = Game_Temp.new if !$game_temp
|
||||
if !$game_temp.phone_messages_data
|
||||
if pbRgssExists?("Data/phone.dat")
|
||||
$game_temp.phone_messages_data = load_data("Data/phone.dat")
|
||||
end
|
||||
if !$game_temp.phone_messages_data && pbRgssExists?("Data/phone.dat")
|
||||
$game_temp.phone_messages_data = load_data("Data/phone.dat")
|
||||
end
|
||||
return $game_temp.phone_messages_data
|
||||
end
|
||||
@@ -66,10 +64,8 @@ end
|
||||
#===============================================================================
|
||||
def pbLoadBattleAnimations
|
||||
$game_temp = Game_Temp.new if !$game_temp
|
||||
if !$game_temp.battle_animations_data
|
||||
if pbRgssExists?("Data/PkmnAnimations.rxdata")
|
||||
$game_temp.battle_animations_data = load_data("Data/PkmnAnimations.rxdata")
|
||||
end
|
||||
if !$game_temp.battle_animations_data && pbRgssExists?("Data/PkmnAnimations.rxdata")
|
||||
$game_temp.battle_animations_data = load_data("Data/PkmnAnimations.rxdata")
|
||||
end
|
||||
return $game_temp.battle_animations_data
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user