📄 z.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
import java.io.*;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
public class z
{
private Image a_javax_microedition_lcdui_Image;
public int a_int_array2d[][];
public int b_int_array2d[][];
public int c_int_array2d[][];
private byte a_byte_array2d[][];
private int a_int_array1d[];
private int g_int_array2d[][];
public int a_int;
public int b_int;
public int c_int;
public int d_int;
public int e_int;
public int f_int;
private int i;
private int j;
private int k;
public int g_int;
private int l;
private int m;
public boolean a_boolean;
public int h_int;
public static final int d_int_array2d_static[][] = {
{
11, 4, 2
}, {
11, 5, 2
}, {
7, 6, 3
}, {
8, 6, 3
}, {
7, 7, 3
}, {
8, 7, 3
}, {
16, 1, 6
}, {
12, 11, 7
}, {
13, 11, 9
}, {
15, 11, 10
}, {
16, 11, 12
}, {
18, 12, 13
}, {
21, 11, 15
}, {
22, 12, 16
}, {
24, 12, 17
}, {
25, 12, 18
}, {
27, 13, 19
}, {
28, 13, 19
}, {
27, 14, 19
}, {
28, 14, 19
}
};
public static final int e_int_array2d_static[][] = {
{
-1, -1, -1, 0, 0, 0, 0, 0, 0
}, {
-1, -1, -1, 0, 0, 0, 0, 0, 0
}, {
-1, -1, -1, 0, 0, 0, 1, 0, 0
}, {
1, 0, 1, 1, 2, 4, 1, 0, 0
}, {
0, 1, 0, 2, 3, 0, 3, 5, 0
}, {
-1, -1, -1, 0, 0, 0, 0, 1, 4
}, {
-1, -1, -1, 0, 0, 0, 1, 0, 0
}, {
2, 2, 3, 3, 4, 0, 0, 1, 8
}, {
2, 2, 3, 3, 4, 0, 0, 7, 9
}, {
2, 3, 3, 4, 5, 0, 0, 8, 1
}, {
4, 3, 2, 6, 7, 0, 0, 1, 11
}, {
-1, -1, -1, 0, 0, 0, 0, 10, 12
}, {
4, 4, 3, 5, 6, 0, 0, 11, 1
}, {
5, 6, 5, 7, 8, 0, 0, 1, 14
}, {
6, 6, 5, 8, 9, 0, 0, 13, 15
}, {
-1, -1, -1, 0, 0, 0, 0, 14, 1
}, {
-1, -1, -1, 0, 0, 0, 0, 1, 1
}, {
7, 9, 9, 9, 10, 18, 18, 1, 18
}, {
7, 9, 7, 9, 10, 17, 17, 17, 1
}, {
7, 8, 7, 10, 11, 20, 1, 0, 0
}, {
7, 8, 8, 11, 12, 21, 19, 0, 0
}, {
-1, -1, -1, 0, 0, 0, 0, 20, 0
}
};
public static final int f_int_array2d_static[][] = {
{
2, 0, 24, 19, 1, 1
}, {
2, 1, 20, 20, 1, 1
}, {
2, 2, 34, 16, 1, 1
}, {
2, 4, 30, 14, 0, 1
}, {
2, 4, 30, 19, 0, 1
}, {
2, 3, 15, 22, 0, 1
}, {
2, 3, 15, 25, 0, 1
}, {
5, 5, 8, 9, 1, 1
}, {
6, 3, 24, 10, 0, 1
}, {
6, 4, 29, 10, 0, 1
}, {
7, 4, 50, 1, 0, 1
}, {
7, 4, 50, 5, 1, 1
}, {
8, 3, 12, 2, 0, 1
}, {
8, 3, 12, 6, 0, 1
}, {
11, 6, 20, 18, 1, 1
}, {
11, 7, 37, 6, 1, 1
}, {
11, 3, 29, 18, 0, 1
}, {
11, 4, 34, 18, 0, 1
}, {
11, 3, 1, 22, 0, 1
}, {
11, 4, 43, 19, 0, 1
}, {
15, 10, 24, 10, 1, 1
}, {
16, 8, 15, 18, 1, 1
}, {
16, 9, 28, 4, 1, 1
}, {
16, 3, 1, 16, 0, 1
}, {
16, 4, 43, 19, 0, 1
}, {
21, 11, 8, 4, 1, 1
}
};
public u a_u;
private int h_int_array2d[][] = {
{
121, 122, 123, 124
}, {
123, 124, 125, 126
}, {
35, 36, 37, 38
}
};
private int n;
public static int _DD18 = 50884;
public static int _DD19 = 31867;
public z()
{
}
public void a(int i1, int j1, int k1, int l1, int i2, int j2)
{
if (_DD19 != _B_B._BB[19])
return;
h_int = i1;
String s1;
String s2;
String s3;
String s4;
String s5;
String s6;
String s = s1 = s2 = s3 = s4 = s5 = s6 = null;
switch (i1)
{
case 22: // '\026'
default:
break;
case 1: // '\001'
s2 = "/tile_World_Para.map";
s3 = "/map_World_0.map";
s4 = "/map_World_1.map";
s6 = "/tile_World.png";
n = 0;
break;
case 2: // '\002'
s2 = "/tile_Room_Para.map";
s3 = "/map_ChengXiangFu_0.map";
s4 = "/map_ChengXiangFu_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 3: // '\003'
s2 = "/tile_Room_Para.map";
s3 = "/map_Huanggong_1_0.map";
s4 = "/map_Huanggong_1_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 4: // '\004'
s2 = "/tile_Room_Para.map";
s3 = "/map_Huanggong_2_0.map";
s4 = "/map_Huanggong_2_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 5: // '\005'
s2 = "/tile_Room_Para.map";
s3 = "/map_Huanggong_3_0.map";
s4 = "/map_Huanggong_3_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 6: // '\006'
s2 = "/tile_Out_Para.map";
s3 = "/map_WuGuan_0.map";
s4 = "/map_WuGuan_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 7: // '\007'
s2 = "/tile_Out_Para.map";
s3 = "/map_TongGuan_1_0.map";
s4 = "/map_TongGuan_1_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 8: // '\b'
s2 = "/tile_Out_Para.map";
s3 = "/map_TongGuan_2_0.map";
s4 = "/map_TongGuan_2_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 9: // '\t'
s2 = "/tile_Out_Para.map";
s3 = "/map_TongGuan_3_0.map";
s4 = "/map_TongGuan_3_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 10: // '\n'
s2 = "/tile_Out_Para.map";
s3 = "/map_XiLinShui_1_0.map";
s4 = "/map_XiLinShui_1_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 11: // '\013'
s2 = "/tile_Out_Para.map";
s3 = "/map_XiLinShui_2_0.map";
s4 = "/map_XiLinShui_2_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 12: // '\f'
s2 = "/tile_Out_Para.map";
s3 = "/map_XiLinShui_3_0.map";
s4 = "/map_XiLinShui_3_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 13: // '\r'
s2 = "/tile_Cave_Para.map";
s3 = "/map_DiDao_1_0.map";
s4 = "/map_DiDao_1_1.map";
s6 = "/tile_Cave.png";
s = "/tile_Cave_Ani_Seq.map";
s1 = "/tile_Cave_Ani_Data.map";
n = 2;
break;
case 14: // '\016'
s2 = "/tile_Cave_Para.map";
s3 = "/map_DiDao_2_0.map";
s4 = "/map_DiDao_2_1.map";
s6 = "/tile_Cave.png";
s = "/tile_Cave_Ani_Seq.map";
s1 = "/tile_Cave_Ani_Data.map";
n = 2;
break;
case 15: // '\017'
s2 = "/tile_Cave_Para.map";
s3 = "/map_DiDao_3_0.map";
s4 = "/map_DiDao_3_1.map";
s6 = "/tile_Cave.png";
s = "/tile_Cave_Ani_Seq.map";
s1 = "/tile_Cave_Ani_Data.map";
n = 2;
break;
case 16: // '\020'
s2 = "/tile_Out_Para.map";
s3 = "/map_DongLinShui_0.map";
s4 = "/map_DongLinShui_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 17: // '\021'
s2 = "/tile_Out_Para.map";
s3 = "/map_ShuLin_1_0.map";
s4 = "/map_ShuLin_1_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 18: // '\022'
s2 = "/tile_Out_Para.map";
s3 = "/map_ShuLin_2_0.map";
s4 = "/map_ShuLin_2_1.map";
s6 = "/tile_Out.png";
s = "/tile_Out_Ani_Seq.map";
s1 = "/tile_Out_Ani_Data.map";
n = 1;
break;
case 19: // '\023'
s2 = "/tile_Room_Para.map";
s3 = "/map_PengLaiGe_1_0.map";
s4 = "/map_PengLaiGe_1_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 20: // '\024'
s2 = "/tile_Room_Para.map";
s3 = "/map_PengLaiGe_2_0.map";
s4 = "/map_PengLaiGe_2_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 21: // '\025'
s2 = "/tile_Room_Para.map";
s3 = "/map_PengLaiGe_3_0.map";
s4 = "/map_PengLaiGe_3_1.map";
s6 = "/tile_Room.png";
s = "/tile_Room_Ani_Seq.map";
s1 = "/tile_Room_Ani_Data.map";
n = 0;
break;
case 23: // '\027'
switch (n.a_z_static.h_int)
{
case 3: // '\003'
case 19: // '\023'
s3 = "/map_Battle_Stone_0.map";
s6 = "/tile_Battle_Stone.png";
break;
case 4: // '\004'
case 5: // '\005'
case 20: // '\024'
case 21: // '\025'
s3 = "/map_Battle_Wood_0.map";
s6 = "/tile_Battle_Wood.png";
break;
case 13: // '\r'
case 14: // '\016'
case 15: // '\017'
s3 = "/map_Battle_Cave_0.map";
s6 = "/tile_Battle_Cave.png";
break;
case 6: // '\006'
case 7: // '\007'
case 8: // '\b'
case 9: // '\t'
case 10: // '\n'
case 11: // '\013'
case 12: // '\f'
case 16: // '\020'
case 17: // '\021'
case 18: // '\022'
default:
s3 = "/map_Battle_Out_0.map";
s6 = "/tile_Battle_Out.png";
break;
}
break;
}
a_javax_microedition_lcdui_Image = t.a(s6);
o.d();
c(s2);
o.d();
a(s3, 0);
o.d();
a(s4, 1);
o.d();
a(s5, 2);
o.d();
a(s);
b(s1);
c_int = j1;
d_int = k1;
e_int = l1;
f_int = i2;
k = j2;
o.d();
if (i1 != 1 && i1 != 23 && a_u == null)
a_u = new u("/npc_Tactic.ani");
j = -e.d;
i = 1;
}
private void a(String s)
{
if (_DD19 != _B_B._BB[19])
return;
if (s != null)
{
InputStream inputstream = getClass().getResourceAsStream(s);
DataInputStream datainputstream = new DataInputStream(inputstream);
try
{
byte byte0 = datainputstream.readByte();
a_int_array1d = new int[byte0];
for (int i1 = 0; i1 < byte0; i1++)
a_int_array1d[i1] = datainputstream.readByte() + 127;
}
catch (Exception exception)
{
System.out.println("ani_Seq load error: " + s);
}
}
}
private void b(String s)
{
if (_DD18 != _B_B._BB[18])
return;
if (s != null)
{
InputStream inputstream = getClass().getResourceAsStream(s);
DataInputStream datainputstream = new DataInputStream(inputstream);
try
{
byte byte0 = datainputstream.readByte();
byte byte1 = datainputstream.readByte();
g_int_array2d = new int[byte0][byte1 + 2];
for (int i1 = 0; i1 < byte0; i1++)
{
for (int j1 = 0; j1 < byte1; j1++)
g_int_array2d[i1][j1] = datainputstream.readByte() + 127;
g_int_array2d[i1][8] = g_int_array2d[i1][5];
}
}
catch (Exception exception)
{
System.out.println("ani_Data load error: " + s);
}
}
}
private void c(String s)
{
if (_DD19 != _B_B._BB[19])
return;
if (s != null)
{
InputStream inputstream = getClass().getResourceAsStream(s);
DataInputStream datainputstream = new DataInputStream(inputstream);
try
{
int i1 = datainputstream.readByte() + 127;
byte byte0 = 2;
a_byte_array2d = new byte[i1][byte0];
for (int j1 = 0; j1 < i1; j1++)
{
for (int k1 = 0; k1 < byte0; k1++)
a_byte_array2d[j1][k1] = (byte)(datainputstream.readByte() + 127);
}
}
catch (Exception exception)
{
System.out.println("tile_Para load error: " + s);
}
}
}
private void a(String s, int i1)
{
if (_DD19 != _B_B._BB[19])
return;
if (s != null)
{
InputStream inputstream = getClass().getResourceAsStream(s);
DataInputStream datainputstream = new DataInputStream(inputstream);
try
{
byte byte0 = datainputstream.readByte();
byte byte1 = datainputstream.readByte();
a_int = byte1 * 16;
b_int = byte0 * 16;
int ai[][] = new int[byte0][byte1];
for (int j1 = 0; j1 < byte0; j1++)
{
for (int k1 = 0; k1 < byte1; k1++)
ai[j1][k1] = datainputstream.readByte() + 127;
}
switch (i1)
{
case 0: // '\0'
a_int_array2d = ai;
ai = (int[][])null;
break;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -