void drawNewLoadingText(int i, String s)
{
anInt1079 = i;
aString1049 = s;
resetImageProducers();
if(titleStreamLoader == null) {
super.drawLoadingText(i, s);
return;
}
aRSImageProducer_1109.initDrawingArea();
loadingBarEmpty = new Sprite("Interfaces/Login/empty");
loadingBarFull = new Sprite("Interfaces/Login/full");
loadingBarEmpty.drawSprite(221, 253);
loadingBarFull.drawSprite(232, 287);
DrawingArea.drawPixels(35, 287, (232 + i), 0x302e2c, (250 - i));
if (i == 250) {
smallText.drawText(0xffffff, s + " - 100%", 275, 360);// the i = 250 is the loading bar Amount

in %

} else {
smallText.drawText(0xffffff, s + " - " + (i/2.5) + "%", 275, 360);
}
aRSImageProducer_1109.drawGraphics(0, super.graphics, 0);
if(welcomeScreenRaised) {
welcomeScreenRaised = false;
if(!aBoolean831) {
aRSImageProducer_1110.drawGraphics(0, super.graphics, 0);
aRSImageProducer_1111.drawGraphics(0, super.graphics, 637);
}
aRSImageProducer_1107.drawGraphics(0, super.graphics, 128);
aRSImageProducer_1108.drawGraphics(371, super.graphics, 202);
aRSImageProducer_1112.drawGraphics(265, super.graphics, 0);
aRSImageProducer_1113.drawGraphics(265, super.graphics, 562);
aRSImageProducer_1114.drawGraphics(171, super.graphics, 128);
aRSImageProducer_1115.drawGraphics(171, super.graphics, 562);
}
}