Minor tweaks

This commit is contained in:
Maruno17
2022-08-09 19:30:27 +01:00
parent bff0cc6974
commit a20f378b33
3 changed files with 5 additions and 3 deletions

View File

@@ -101,7 +101,6 @@ class Battle
end
@scene = scene
@peer = Peer.new
@battleAI = AI.new(self)
@field = ActiveField.new # Whole field (gravity/rooms)
@sides = [ActiveSide.new, # Player's side
ActiveSide.new] # Foe's side
@@ -171,6 +170,7 @@ class Battle
end
@mega_rings = []
GameData::Item.each { |item| @mega_rings.push(item.id) if item.has_flag?("MegaRing") }
@battleAI = AI.new(self)
end
#=============================================================================