|
1
|
function scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (arg0)
|
|
2
|
{
|
|
3
|
scr_healallscr_healall
function scr_healall(arg0)
{
for (i = 0; i < 3; i += 1)
{
if (global.char[i] != 0)
scr_heal(i, arg0);
}
} (arg0);
|
|
4
|
for (i = 0; i < chartotal; i += 1)
|
|
5
|
{
|
|
6
|
healx = scr_charbox_xscr_charbox_x
function scr_charbox_x(arg0)
{
if (arg0 == 0 && chartotal == 3)
return 0;
if (arg0 == 1 && chartotal == 3)
return 212;
if (arg0 == 2 && chartotal == 3)
return 424;
if (arg0 == 0 && chartotal == 2)
return 106;
if (arg0 == 1 && chartotal == 2)
return 326;
if (arg0 == 0 && chartotal == 1)
return 212;
} (i);
|
|
7
|
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
|
|
8
|
healtext.healamt = arg0;
|
|
9
|
}
|
|
10
|
}
|