mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Renamed all battle-related classes and modules
This commit is contained in:
@@ -84,7 +84,7 @@ def setBattleRule(*args)
|
||||
end
|
||||
|
||||
def pbNewBattleScene
|
||||
return PokeBattle_Scene.new
|
||||
return Battle::Scene.new
|
||||
end
|
||||
|
||||
# Sets up various battle parameters and applies special rules.
|
||||
@@ -274,7 +274,7 @@ def pbWildBattleCore(*args)
|
||||
# Create the battle scene (the visual side of it)
|
||||
scene = pbNewBattleScene
|
||||
# Create the battle class (the mechanics side of it)
|
||||
battle = PokeBattle_Battle.new(scene,playerParty,foeParty,playerTrainers,nil)
|
||||
battle = Battle.new(scene,playerParty,foeParty,playerTrainers,nil)
|
||||
battle.party1starts = playerPartyStarts
|
||||
# Set various other properties in the battle class
|
||||
pbPrepareBattle(battle)
|
||||
@@ -426,7 +426,7 @@ def pbTrainerBattleCore(*args)
|
||||
# Create the battle scene (the visual side of it)
|
||||
scene = pbNewBattleScene
|
||||
# Create the battle class (the mechanics side of it)
|
||||
battle = PokeBattle_Battle.new(scene,playerParty,foeParty,playerTrainers,foeTrainers)
|
||||
battle = Battle.new(scene,playerParty,foeParty,playerTrainers,foeTrainers)
|
||||
battle.party1starts = playerPartyStarts
|
||||
battle.party2starts = foePartyStarts
|
||||
battle.items = foeItems
|
||||
|
||||
Reference in New Issue
Block a user