mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Finalised input names, added some more save file conversion code
This commit is contained in:
@@ -272,7 +272,7 @@ class FightMenuDisplay < BattleMenuBase
|
||||
# Create Mega Evolution button
|
||||
@megaButton = SpriteWrapper.new(viewport)
|
||||
@megaButton.bitmap = @megaEvoBitmap.bitmap
|
||||
@megaButton.x = self.x+146
|
||||
@megaButton.x = self.x+120
|
||||
@megaButton.y = self.y-@megaEvoBitmap.height/2
|
||||
@megaButton.src_rect.height = @megaEvoBitmap.height/2
|
||||
addSprite("megaButton",@megaButton)
|
||||
@@ -415,6 +415,7 @@ class FightMenuDisplay < BattleMenuBase
|
||||
def refreshMegaEvolutionButton
|
||||
return if !USE_GRAPHICS
|
||||
@megaButton.src_rect.y = (@mode - 1) * @megaEvoBitmap.height / 2
|
||||
@megaButton.x = self.x + ((@shiftMode > 0) ? 204 : 120)
|
||||
@megaButton.z = self.z - 1
|
||||
@visibility["megaButton"] = (@mode > 0)
|
||||
end
|
||||
|
||||
@@ -119,13 +119,13 @@ class PokeBattle_Scene
|
||||
pbPlayCancelSE
|
||||
break if yield -1
|
||||
needRefresh = true
|
||||
elsif Input.trigger?(Input::SPECIAL) # Toggle Mega Evolution
|
||||
elsif Input.trigger?(Input::ACTION) # Toggle Mega Evolution
|
||||
if megaEvoPossible
|
||||
pbPlayDecisionSE
|
||||
break if yield -2
|
||||
needRefresh = true
|
||||
end
|
||||
elsif Input.trigger?(Input::Z) # Shift
|
||||
elsif Input.trigger?(Input::SPECIAL) # Shift
|
||||
if cw.shiftMode>0
|
||||
pbPlayDecisionSE
|
||||
break if yield -3
|
||||
|
||||
Reference in New Issue
Block a user