então .. quando eu coloco o Ratata no chão ele ainda continua no pokebar ..
Alquem pode resolve esse erro na script para min
script
InventoryItem < Item
HeadSlot < InventoryItem
id: slot1
image-source: /images/game/slots/head
&position: {x=65535, y=1, z=0}
BodySlot < InventoryItem
id: slot4
image-source: /images/game/slots/body
&position: {x=65535, y=4, z=0}
LegSlot < InventoryItem
id: slot7
image-source: /images/game/slots/legs
&position: {x=65535, y=7, z=0}
FeetSlot < InventoryItem
id: slot8
image-source: /images/game/slots/feet
&position: {x=65535, y=8, z=0}
NeckSlot < InventoryItem
id: slot2
image-source: /images/game/slots/neck
&position: {x=65535, y=2, z=0}
LeftSlot < InventoryItem
id: slot6
image-source: /images/game/slots/left-hand
&position: {x=65535, y=6, z=0}
FingerSlot < InventoryItem
id: slot9
image-source: /images/game/slots/finger
&position: {x=65535, y=9, z=0}
BackSlot < InventoryItem
id: slot3
image-source: /images/game/slots/back
&position: {x=65535, y=3, z=0}
RightSlot < InventoryItem
id: slot5
image-source: /images/game/slots/right-hand
&position: {x=65535, y=5, z=0}
AmmoSlot < InventoryItem
id: slot10
image-source: /images/game/slots/ammo
&position: {x=65535, y=10, z=0}
PurseButton < Button
id: purseButton
size: 26 26
!tooltip: tr('Open purse')
icon-source: /images/game/slots/purse
icon-size: 24 24
icon-offset: 1 1
PokeHealthBar < ProgressBar
id: pokeHealthBar
width: 120
height: 16
!text: '0 / 0'
font: verdana-11px-rounded
color: #FFFFFF
background-color: #053878
anchors.top: parent.top
anchors.right: parent.right
margin-top: 5
margin-right: 12
opacity: 0.9
PokeHealthIcon < UIButton
id: pokeHealthIcon
width: 130
height: 16
image-source: img/progressBar_blue
image-color: white
focusable: false
margin-top: 5
anchors.top: parent.top
anchors.right: parent.right
margin-right: 7
portraitButton < UIButton
id: portraitButton
size: 34 34
image-source: img/2
focusable: false
phantom: true
OrderIcon < Item
size: 36 34
image-source: img/Order
anchors.top: parent.top
anchors.right: parent.right
margin-top: 40
margin-right: 3
phantom: true
focusable: false
Pokemonbar < UIButton
id: pokemonbar
!tooltip: ('Pokemon Bar')
image-source: img/pokebar.png
size: 32 32
anchors.top: parent.top
anchors.right: parent.right
margin-top: 42
margin-right: 39
@onClick: togglePokeBar()
pbButtonIni < UIButton
id: playericon
image-source: img/pb_apagada
size: 10 9
anchors.top: parent.top
anchors.left: parent.left
margin-top: 47
margin-left: 80
pbButton < pbButtonIni
anchors.left: prev.right
margin-left: 2
MiniWindow
id: inventoryWindow
!text: tr('POKE INFO')
icon: /images/topbuttons/inventory
height: 105
@onClose: modules.game_inventory.onMiniWindowClose()
&save: true
MiniWindowContents
PokeHealthBar
PokeHealthIcon
HeadSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 125
visible: false
BodySlot
anchors.top: parent.top
anchors.right: parent.right
margin-top: 40
margin-right: 3
LegSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 5
portraitButton
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 5
FeetSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 5
NeckSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
visible: false
LeftSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 3
visible: false
FingerSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 45
BackSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 85
visible: false
RightSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 45
visible: false
AmmoSlot
anchors.top: parent.top
anchors.left: parent.left
margin-top: 40
margin-left: 45
visible: false
PurseButton
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
visible: false
OrderIcon
Pokemonbar
scirpt 2
UIWindow
id: pokebar
size: 218 40
focusable: false
&save: true
image-source: /images/ui/cdbar
UIButton
id:poke1
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 2
UIButton
id:poke2
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 38
UIButton
id:poke3
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 74
UIButton
id:poke4
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 110
UIButton
id:poke5
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 146
UIButton
id:poke6
image-source: img/null
size: 34 34
anchors.top: parent.top
anchors.left: parent.left
margin-top: 3
margin-left: 182