mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Added consts for icon sizes for status and category
This commit is contained in:
@@ -328,7 +328,8 @@ class PokemonSummary_Scene
|
||||
status = GameData::Status.count
|
||||
end
|
||||
if status >= 0
|
||||
imagepos.push([_INTL("Graphics/UI/statuses"), 124, 100, 0, 16 * status, 44, 16])
|
||||
imagepos.push([_INTL("Graphics/UI/statuses"), 124, 100,
|
||||
0, status * GameData::Status::ICON_SIZE[1], *GameData::Status::ICON_SIZE])
|
||||
end
|
||||
# Show Pokérus cured icon
|
||||
if @pokemon.pokerusStage == 2
|
||||
@@ -837,7 +838,8 @@ class PokemonSummary_Scene
|
||||
# Draw all text
|
||||
pbDrawTextPositions(overlay, textpos)
|
||||
# Draw selected move's damage category icon
|
||||
imagepos = [["Graphics/UI/category", 166, 124, 0, selected_move.display_category(@pokemon) * 28, 64, 28]]
|
||||
imagepos = [["Graphics/UI/category", 166, 124,
|
||||
0, selected_move.display_category(@pokemon) * CATEGORY_ICON_SIZE[1], *CATEGORY_ICON_SIZE]]
|
||||
pbDrawImagePositions(overlay, imagepos)
|
||||
# Draw selected move's description
|
||||
drawTextEx(overlay, 4, 224, 230, 5, selected_move.description, base, shadow)
|
||||
|
||||
Reference in New Issue
Block a user