mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Fixed error in battle fight menu when not using graphics for it
This commit is contained in:
@@ -388,6 +388,7 @@ class Battle::Scene::FightMenu < Battle::Scene::MenuBase
|
|||||||
def refreshMoveData(move)
|
def refreshMoveData(move)
|
||||||
# Write PP and type of the selected move
|
# Write PP and type of the selected move
|
||||||
if !USE_GRAPHICS
|
if !USE_GRAPHICS
|
||||||
|
return if !move
|
||||||
moveType = GameData::Type.get(move.display_type(@battler)).name
|
moveType = GameData::Type.get(move.display_type(@battler)).name
|
||||||
if move.total_pp <= 0
|
if move.total_pp <= 0
|
||||||
@msgBox.text = _INTL("PP: ---<br>TYPE/{1}", moveType)
|
@msgBox.text = _INTL("PP: ---<br>TYPE/{1}", moveType)
|
||||||
|
|||||||
Reference in New Issue
Block a user