📄 j.java
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 27/1/2005 16:13:52
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
class J
{
J()
{
z = -1;
}
final void I()
{
z = z + 1 & 3;
GameCanvas.f.I();
for(int j = 0; j < children2.length; j++)
children2[j].I();
for(int k = 0; k < children7.length; k++)
children7[k].I();
for(int l = 0; l < children3.length; l++)
children3[l].I();
for(int i1 = 0; i1 < children4.length; i1++)
children4[i1].I();
for(int j1 = 0; j1 < children5.length; j1++)
children5[j1].I();
if(GameCanvas.f.X != 11 && GameCanvas.f.T > M - 8 && GameCanvas.f.T < M + 8 && GameCanvas.f.U > N - 8 && GameCanvas.f.U < N + 8)
{
GameCanvas.f.I(40, -1);
GameCanvas.e = System.currentTimeMillis() - J.timeCounter;
GameCanvas.GAME_STATE = 7;
return;
}
for(int k1 = 0; k1 < children1.length; k1++)
children1[k1].I();
if(z != 0)
return;
W = false;
for(int l1 = 0; l1 < X.length; l1++)
if(GameCanvas.f.T > Y[l1] - 25 && GameCanvas.f.T < Y[l1] + 25 && GameCanvas.f.U > i[l1] - 10 && GameCanvas.f.U < i[l1] + 10)
{
W = true;
if(V == X[l1])
return;
V = X[l1];
int i2 = 0;
int k2 = 0;
boolean flag = false;
buffer_128x5_graphics.setColor(0);
buffer_128x5_graphics.setClip(0, 0, 128, 5);
buffer_128x5_graphics.fillRect(0, 0, 128, 5);
int j2 = 128 - V.length() * 4 >> 1;
for(l1 = 0; l1 < V.length(); l1++)
if(V.charAt(l1) == '\\')
{
k2 += 6;
i2 = l1 + 1;
j2 = ((flag) ? 1 : 0);
} else
{
buffer_128x5_graphics.setClip(j2 + (l1 - i2) * 4, k2, 4, 5);
buffer_128x5_graphics.drawImage(GameCanvas.buffer_236x5, (j2 + (l1 - i2) * 4) - (V.charAt(l1) - 32) * 4, k2, 20);
}
}
}
private final void charAt()
{
int j = S / 16;
int k = JJ / 16;
int l = E / 24;
int i1 = A / 24;
int j1 = j - k >= 0 ? j - k : -(j - k);
int k1 = l - i1 >= 0 ? l - i1 : -(l - i1);
for(int l1 = 0; l1 < j1; l1++)
{
int j2;
int l2;
if(JJ > S)
{
j2 = short2 * 16;
l2 = (S + 128) / 16 + (l1 + 1);
short2++;
} else
{
j2 = (((short2 - 1) + 9) % 9) * 16;
l2 = S / 16 - (l1 + 1);
short2--;
}
short2 = (short)((short2 + 9) % 9);
int j3 = short1 * 24;
int l3 = l;
for(int k4 = 0; k4 < 6; k4++)
{
byte byte0 = byteArray1[l2 + l3 * int2];
buffer_144x144_graphics.setClip(j2, j3, 16, 24);
//Graphics _tmp = GameCanvas.g;
//Graphics _tmp1 = GameCanvas.g;
buffer_144x144_graphics.drawImage(GameCanvas.buffer_224x96, j2 - (byte0 % 14) * 16, j3 - (byte0 / 14) * 24, 0x10 | 4);
j3 = (j3 += 24) % 144;
l3++;
}
}
short4 -= JJ - S;
short4 %= 144;
for(int i2 = 0; i2 < k1; i2++)
{
int k2;
int i3;
if(A > E)
{
k2 = short1 * 24;
i3 = (E + 120) / 24 + (i2 + 1);
short1++;
} else
{
k2 = (((short1 - 1) + 6) % 6) * 24;
i3 = E / 24 - (i2 + 1);
short1--;
}
short1 = (short)((short1 + 6) % 6);
int k3 = short2 * 16;
int i4 = k;
for(int j4 = 0; j4 < 9; j4++)
{
byte byte1 = byteArray1[i4 + i3 * int2];
buffer_144x144_graphics.setClip(k3, k2, 16, 24);
//Graphics _tmp2 = GameCanvas.g;
//Graphics _tmp3 = GameCanvas.g;
buffer_144x144_graphics.drawImage(GameCanvas.buffer_224x96, k3 - (byte1 % 14) * 16, k2 - (byte1 / 14) * 24, 0x10 | 4);
k3 = (k3 += 16) % 144;
i4++;
}
}
short3 -= A - E;
short3 %= 144;
}
final void paint()
{
charAt();
int j = short3 + 10;
GameCanvas.g.setClip(0, 10, 128, 117);
Graphics _tmp = buffer_144x144_graphics;
Graphics _tmp1 = buffer_144x144_graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j, 0x10 | 4);
if(short4 < 0)
{
Graphics _tmp2 = buffer_144x144_graphics;
Graphics _tmp3 = buffer_144x144_graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 + 144, j, 0x10 | 4);
if(short3 > 0)
{
//Graphics _tmp4 = image1Graphics;
//Graphics _tmp5 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 + 144, j - 144, 0x10 | 4);
//Graphics _tmp6 = image1Graphics;
//Graphics _tmp7 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j - 144, 0x10 | 4);
} else
if(short3 < 0)
{
//Graphics _tmp8 = image1Graphics;
//Graphics _tmp9 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 + 144, j + 144, 0x10 | 4);
//Graphics _tmp10 = image1Graphics;
//Graphics _tmp11 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j + 144, 0x10 | 4);
}
} else
if(short4 > 0)
{
Graphics _tmp12 = buffer_144x144_graphics;
Graphics _tmp13 = buffer_144x144_graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 - 144, j, 0x10 | 4);
if(short3 > 0)
{
//Graphics _tmp14 = image1Graphics;
//Graphics _tmp15 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 - 144, j - 144, 0x10 | 4);
//Graphics _tmp16 = image1Graphics;
//Graphics _tmp17 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j - 144, 0x10 | 4);
} else
if(short3 < 0)
{
//Graphics _tmp18 = image1Graphics;
//Graphics _tmp19 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4 - 144, j + 144, 0x10 | 4);
//Graphics _tmp20 = image1Graphics;
//Graphics _tmp21 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j + 144, 0x10 | 4);
}
} else
if(short3 > 0)
{
//Graphics _tmp22 = image1Graphics;
//Graphics _tmp23 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j - 144, 0x10 | 4);
} else
if(short3 < 0)
{
//Graphics _tmp24 = image1Graphics;
//Graphics _tmp25 = image1Graphics;
GameCanvas.g.drawImage(buffer_144x144, short4, j + 144, 0x10 | 4);
}
for(int k = 0; k < 2; k++)
F[k].paint(0, 2);
for(int l = 0; l < children7.length; l++)
children7[l].paint(0, 6);
for(int i1 = 0; i1 < children3.length; i1++)
children3[i1].I(0);
for(int j1 = 0; j1 < children5.length; j1++)
children5[j1].paint(0, 4);
for(int k1 = 0; k1 < children1.length; k1++)
children1[k1].paint(0, 4);
for(int l1 = 0; l1 < children4.length; l1++)
children4[l1].paint(0, 4);
for(int i2 = 0; i2 < children2.length; i2++)
children2[i2].paint(0, 2);
}
final void C()
{
for(int j = 0; j < children7.length; j++)
children7[j].paint(1, 6);
for(int k = 0; k < children3.length; k++)
children3[k].I(1);
for(int l = 0; l < base1.length; l++)
base1[l].paint(1, 5);
}
final void I(int j)
{
try
{
GameCanvas.is = GameCanvas.c.getClass().getResourceAsStream("/l");
GameCanvas.is.skip(1 + 2 * GameCanvas.b.length);
for(int k = 0; k < j; k++)
GameCanvas.is.skip(GameCanvas.b[k]);
}
catch(Exception exception) { }
int2 = GameCanvas.readbyte();
int1 = GameCanvas.readbyte();
byteArray1 = new byte[int2 * int1];
GameCanvas.readbytes(byteArray1);
G = int2 * 16 - 128;
H = int1 * 24 - 127;
GameCanvas.D();
GameCanvas.D();
short word0 = GameCanvas.D();
base1 = new Base[word0];
for(int l = 0; l < word0; l++)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -