The Great Enspacening begins!

This commit is contained in:
Maruno17
2021-12-18 12:20:31 +00:00
parent 2480ab0f9e
commit f7b76ae62e
138 changed files with 567 additions and 567 deletions

View File

@@ -644,7 +644,7 @@ class TriadScreen
return ItemStorageHelper.remove(items, item, 1)
end
def flipBoard(x,y,attackerParam=nil,recurse=false)
def flipBoard(x,y,attackerParam = nil,recurse = false)
panels = [x-1,y,x+1,y,x,y-1,x,y+1]
panels[0] = (@wrapAround ? @width-1 : 0) if panels[0]<0 # left
panels[2] = (@wrapAround ? 0 : @width-1) if panels[2]>@width-1 # right
@@ -697,7 +697,7 @@ class TriadScreen
# If pbStartScreen includes parameters, it should
# pass the parameters to pbStartScene.
def pbStartScreen(opponentName,minLevel,maxLevel,rules=nil,oppdeck=nil,prize=nil)
def pbStartScreen(opponentName,minLevel,maxLevel,rules = nil,oppdeck = nil,prize = nil)
raise _INTL("Minimum level must be 0 through 9.") if minLevel<0 || minLevel>9
raise _INTL("Maximum level must be 0 through 9.") if maxLevel<0 || maxLevel>9
raise _INTL("Maximum level shouldn't be less than the minimum level.") if maxLevel<minLevel
@@ -967,7 +967,7 @@ end
#===============================================================================
# Start duel
#===============================================================================
def pbTriadDuel(name,minLevel,maxLevel,rules=nil,oppdeck=nil,prize=nil)
def pbTriadDuel(name,minLevel,maxLevel,rules = nil,oppdeck = nil,prize = nil)
ret = 0
pbFadeOutInWithMusic {
scene = TriadScene.new