mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +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
|
||||
pbMessage(_INTL("Box \"{1}\" on {2}'s PC was full.\1", curboxname, creator))
|
||||
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
|
||||
pbMessage(_INTL("{1} was transferred to box \"{2}.\"", pkmn.name, boxname))
|
||||
else
|
||||
if creator
|
||||
pbMessage(_INTL("{1} was transferred to {2}'s PC.\1", pkmn.name, creator))
|
||||
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
|
||||
pbMessage(_INTL("It was stored in box \"{1}.\"", boxname))
|
||||
end
|
||||
|
||||
@@ -78,8 +78,8 @@ class ClothesMartAdapter < OutfitsMartAdapter
|
||||
end
|
||||
|
||||
def putOnOutfit(item)
|
||||
putOnClothes(item.id)
|
||||
@worn_clothes = item.id
|
||||
putOnClothes(item.id) if item
|
||||
@worn_clothes = item.id if item
|
||||
end
|
||||
|
||||
def reset_player_clothes()
|
||||
|
||||
@@ -9,7 +9,7 @@ class ClothesShopPresenter < PokemonMartScreen
|
||||
end
|
||||
|
||||
def putOnClothes(item)
|
||||
@adapter.putOnOutfit(item)
|
||||
@adapter.putOnOutfit(item) if item
|
||||
@scene.pbEndBuyScene
|
||||
end
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
1741570082
|
||||
1741570082
|
||||
1741570083
|
||||
1741573772
|
||||
1741573773
|
||||
1741573773
|
||||
@@ -2,3 +2,6 @@ Graphics/CustomBattlers/spritesheets/spritesheets_base/4.png
|
||||
Graphics/CustomBattlers/spritesheets/spritesheets_base/72.png
|
||||
Graphics/CustomBattlers/spritesheets/spritesheets_base/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