mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fixes issue when putting on clothes
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -31,14 +31,14 @@ def pbStorePokemon(pkmn)
|
|||||||
if creator
|
if creator
|
||||||
pbMessage(_INTL("Box \"{1}\" on {2}'s PC was full.\1", curboxname, creator))
|
pbMessage(_INTL("Box \"{1}\" on {2}'s PC was full.\1", curboxname, creator))
|
||||||
else
|
else
|
||||||
pbMessage(_INTL("Box \"{1}\" on someone's PC was full.\1", curboxname))
|
pbMessage(_INTL("Box \"{1}\" on the PC was full.\1", curboxname))
|
||||||
end
|
end
|
||||||
pbMessage(_INTL("{1} was transferred to box \"{2}.\"", pkmn.name, boxname))
|
pbMessage(_INTL("{1} was transferred to box \"{2}.\"", pkmn.name, boxname))
|
||||||
else
|
else
|
||||||
if creator
|
if creator
|
||||||
pbMessage(_INTL("{1} was transferred to {2}'s PC.\1", pkmn.name, creator))
|
pbMessage(_INTL("{1} was transferred to {2}'s PC.\1", pkmn.name, creator))
|
||||||
else
|
else
|
||||||
pbMessage(_INTL("{1} was transferred to someone's PC.\1", pkmn.name))
|
pbMessage(_INTL("{1} was transferred to the PC.\1", pkmn.name))
|
||||||
end
|
end
|
||||||
pbMessage(_INTL("It was stored in box \"{1}.\"", boxname))
|
pbMessage(_INTL("It was stored in box \"{1}.\"", boxname))
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -78,8 +78,8 @@ class ClothesMartAdapter < OutfitsMartAdapter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def putOnOutfit(item)
|
def putOnOutfit(item)
|
||||||
putOnClothes(item.id)
|
putOnClothes(item.id) if item
|
||||||
@worn_clothes = item.id
|
@worn_clothes = item.id if item
|
||||||
end
|
end
|
||||||
|
|
||||||
def reset_player_clothes()
|
def reset_player_clothes()
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class ClothesShopPresenter < PokemonMartScreen
|
|||||||
end
|
end
|
||||||
|
|
||||||
def putOnClothes(item)
|
def putOnClothes(item)
|
||||||
@adapter.putOnOutfit(item)
|
@adapter.putOnOutfit(item) if item
|
||||||
@scene.pbEndBuyScene
|
@scene.pbEndBuyScene
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,3 +1,3 @@
|
|||||||
1741570082
|
1741573772
|
||||||
1741570082
|
1741573773
|
||||||
1741570083
|
1741573773
|
||||||
@@ -2,3 +2,6 @@ Graphics/CustomBattlers/spritesheets/spritesheets_base/4.png
|
|||||||
Graphics/CustomBattlers/spritesheets/spritesheets_base/72.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/72.png
|
||||||
Graphics/CustomBattlers/spritesheets/spritesheets_base/192.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/192.png
|
||||||
Graphics/CustomBattlers/spritesheets/spritesheets_custom/192/192.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/192/192.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/157.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/170.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/170/170.png
|
||||||
|
|||||||
Reference in New Issue
Block a user