55 lines
No EOL
573 B
Text
55 lines
No EOL
573 B
Text
if (global.statenergy) = 0
|
|
{
|
|
image_index = 10
|
|
}
|
|
|
|
if (global.statenergy) = 1
|
|
{
|
|
image_index = 9
|
|
}
|
|
|
|
if (global.statenergy) = 2
|
|
{
|
|
image_index = 8
|
|
}
|
|
|
|
if (global.statenergy) = 3
|
|
{
|
|
image_index = 7
|
|
}
|
|
|
|
if (global.statenergy) = 4
|
|
{
|
|
image_index = 6
|
|
}
|
|
|
|
if (global.statenergy) = 5
|
|
{
|
|
image_index = 5
|
|
}
|
|
|
|
if (global.statenergy) = 6
|
|
{
|
|
image_index = 4
|
|
}
|
|
|
|
if (global.statenergy) = 7
|
|
{
|
|
image_index = 3
|
|
}
|
|
|
|
if (global.statenergy) = 8
|
|
{
|
|
image_index = 2
|
|
}
|
|
|
|
if (global.statenergy) = 9
|
|
{
|
|
image_index = 1
|
|
}
|
|
|
|
if (global.statenergy) = 10
|
|
{
|
|
image_index = 0
|
|
}
|
|
|