?? p.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 com.nokia.mid.ui.DirectGraphics;
import com.nokia.mid.ui.DirectUtils;
import java.io.*;
import java.util.Random;
import java.util.Vector;
import javax.microedition.lcdui.*;
public class p
implements f
{
static p cG = null;
static l cI = null;
static j bl = null;
static boolean bR = false;
static boolean bg = true;
static int cB;
int G;
long cz;
byte ay[][];
byte c2[][];
int af;
int ad;
byte a6[];
Image aa;
Image aq;
Image cR;
static int f = 16;
static int b9 = 16;
static int bu = 16;
static int cX = 24;
int cm;
boolean bL;
u cp;
static int S = 0xffffff;
static int aO = 0;
static Vector v = null;
static String cW = null;
static int c5 = -1;
static int bc = -1;
static int p = -1;
static int aK = -1;
boolean bq;
int dd;
static String if[] = null;
static Vector cD = null;
static String cL = null;
boolean ax;
static String c4[] = null;
int K;
boolean bf;
int Q;
int P;
int ci;
int cb;
boolean cN;
int b2;
int aW;
static Random cn = new Random();
int bd;
int bb;
static int bH = 8;
static int bF = 9;
int ch;
int ce;
int da;
int c7;
static int cK = 0;
int bO;
int bN;
int b4;
int c8;
int F;
int E;
int Y;
int X;
int bv;
int bt;
int n;
int aF;
int bS;
int cO;
int D;
int bA;
int bK;
static int ac = 0;
int ca;
String a0;
int a7;
int V;
static String I[] = null;
static int cA = 0;
int de;
c aX;
static Image bZ = null;
static Image ba = null;
static Image C = null;
static Image r = null;
Image bi;
static Image t = null;
static Image x = null;
static Image bs = null;
Image b7;
Image be;
Image g;
Image w;
Image aP;
Image e;
Image cj;
static Image cd = null;
Image b5;
static Image bm = null;
Image bp;
Image else;
Image bo;
static Image bk = null;
Image aG;
Image o;
Image by;
Image bz;
Image byte;
Image bX;
Image cC;
Image cE;
Image cs;
Image cJ;
Image aw;
Image bh;
Image a;
Image b1;
Image q;
Image aH;
Image cY;
Image dh;
Image bV;
Image c0;
Image m;
Image c9;
Image A;
Image R;
Image ah;
Image at;
Image long;
Image for;
Image aM;
Image b6;
Image goto;
Image cr;
Image dc;
Image cM;
Image s;
Image aN;
Image z;
Image M;
Image co;
Vector cT;
c U[];
Vector bW;
Vector h;
k c1;
Vector c;
an d;
Vector bj;
int void;
int T;
a aQ;
Image case;
int cv[][];
Image B;
int ab[][];
Image aY;
int L[][];
Image ap;
int cy[][];
Image an;
int cx[][];
Image am;
int cw[][];
Image al;
int cu[][];
Image ak;
int ct[][];
Image ai;
int cq[][];
Image cg;
int df[][];
Image cU;
int av[][];
Image aI;
int bG[][];
Image cQ;
int ao[][];
Image N;
int a5[][];
Image aE;
int aT[][];
Image a4;
int cP[][];
Image a9;
int bE[][];
Image cS;
int as[][];
Image O;
int char[][];
Image bx;
int aV[][];
Image br;
int bJ[][];
Image J;
int new[][];
Image null;
int H[][];
Image dj;
int cV[][];
Image do;
int a8[][];
Image W;
int aS[][];
Image di;
int a2[][];
Image aj;
int bM[][];
Image aJ;
int k[][];
Image bY;
int bC[][];
Image cl;
int bU[][];
Image aL;
int c6[][];
Image b8;
Image bw;
int u[][];
Image ck;
int cf[][];
Image bQ;
int aD[][];
int db[][];
int y;
static int b3 = 0;
static int cc = 0;
static int bI = 0;
String aB;
int aZ;
Vector cH;
Vector int;
Vector c3;
Vector ar;
Vector cZ;
Vector a1;
Vector b;
String aC[];
int bP;
int cF;
int j;
ai aR;
Vector bT;
int Z;
int aA;
m a3;
af au;
Vector bD;
Vector az;
Vector ae;
Vector i;
Vector bB;
Vector try;
Vector l;
Vector ag;
Vector dg;
Vector aU;
boolean bn;
static boolean b0 = false;
public static p a(l l1)
{
if (cG == null)
cG = new p(l1);
return cG;
}
public p(l l1)
{
G = 0;
cz = 0L;
aa = null;
aq = null;
cR = null;
cm = 0;
bL = false;
cp = null;
bq = false;
dd = 0;
ax = false;
K = 999;
bf = false;
Q = 0;
P = 0;
ci = 0;
cb = 0;
cN = true;
b2 = 16;
aW = 16;
bd = 10;
bb = 11;
ch = 0;
ce = 0;
da = 0;
c7 = 0;
bO = 10;
bN = 10;
Y = 0;
X = 0;
bv = 0;
bt = 0;
n = 0;
aF = 6;
bS = 0;
cO = 0;
bK = 0;
ca = -99;
a0 = "";
a7 = 0;
de = 0;
aX = null;
bi = null;
b7 = null;
be = null;
g = null;
w = null;
aP = null;
e = null;
cj = null;
b5 = null;
bp = null;
else = null;
bo = null;
aG = null;
o = null;
by = null;
bz = null;
byte = null;
bX = null;
cC = null;
cE = null;
cs = null;
cJ = null;
aw = null;
bh = null;
a = null;
b1 = null;
q = null;
aH = null;
cY = null;
dh = null;
bV = null;
c0 = null;
m = null;
c9 = null;
A = null;
R = null;
ah = null;
at = null;
long = null;
for = null;
aM = null;
b6 = null;
goto = null;
cr = null;
dc = null;
cM = null;
s = null;
aN = null;
z = null;
M = null;
co = null;
cT = new Vector();
bW = new Vector();
h = new Vector();
c1 = null;
c = null;
d = null;
bj = null;
void = 0;
T = 0;
aQ = null;
case = null;
cv = (int[][])null;
B = null;
ab = (int[][])null;
aY = null;
L = (int[][])null;
ap = null;
cy = (int[][])null;
an = null;
cx = (int[][])null;
am = null;
cw = (int[][])null;
al = null;
cu = (int[][])null;
ak = null;
ct = (int[][])null;
ai = null;
cq = (int[][])null;
cg = null;
df = (int[][])null;
cU = null;
av = (int[][])null;
aI = null;
bG = (int[][])null;
cQ = null;
ao = (int[][])null;
N = null;
a5 = (int[][])null;
aE = null;
aT = (int[][])null;
a4 = null;
cP = (int[][])null;
a9 = null;
bE = (int[][])null;
cS = null;
as = (int[][])null;
O = null;
char = (int[][])null;
bx = null;
aV = (int[][])null;
br = null;
bJ = (int[][])null;
J = null;
new = (int[][])null;
null = null;
H = (int[][])null;
dj = null;
cV = (int[][])null;
do = null;
a8 = (int[][])null;
W = null;
aS = (int[][])null;
di = null;
a2 = (int[][])null;
aj = null;
bM = (int[][])null;
aJ = null;
k = (int[][])null;
bY = null;
bC = (int[][])null;
cl = null;
bU = (int[][])null;
aL = null;
c6 = (int[][])null;
b8 = null;
bw = null;
u = (int[][])null;
ck = null;
cf = (int[][])null;
bQ = null;
aD = (int[][])null;
db = (int[][])null;
y = 0;
aB = "";
aZ = 0;
cH = new Vector();
int = new Vector();
c3 = new Vector();
ar = new Vector();
cZ = new Vector();
a1 = null;
b = null;
aC = null;
bP = 0;
cF = 0;
j = -1;
aR = null;
bT = new Vector();
Z = -1;
aA = 0;
a3 = null;
au = null;
bD = new Vector();
az = new Vector();
ae = new Vector();
i = new Vector();
bB = new Vector();
try = new Vector();
l = new Vector();
ag = new Vector();
dg = new Vector();
aU = new Vector();
bn = false;
cI = l1;
}
public void do()
{
}
u a(int i1, int j1)
{
int k1 = u.a(i1, j1, cn, this);
u u1 = new u(this, k1, u.char(k1, this));
return u1;
}
static void goto()
{
t = GameMidlet.a(t, "/updown.png");
bm = GameMidlet.a(bm, "/lrarrow.png");
x = GameMidlet.a(x, "/upArrow.png");
bs = GameMidlet.a(bs, "/downArrow.png");
}
void M()
{
T();
e = GameMidlet.a(e, "/keypress.png");
cj = GameMidlet.a(cj, "/bhead.png");
bp = GameMidlet.a(bp, "/emotion.png");
else = GameMidlet.a(else, "/lchars.png");
bo = GameMidlet.a(bo, "/money.png");
aG = GameMidlet.a(aG, "/state.png");
o = GameMidlet.a(o, "/power.png");
by = GameMidlet.a(by, "/magicicon.png");
dh = GameMidlet.a(dh, "/select.png");
aP = GameMidlet.a(aP, "/monsterover.png");
g = GameMidlet.a(g, "/weaponicon.png");
b5 = GameMidlet.a(b5, "/box.png");
bz = GameMidlet.a(bz, "/yun.png");
byte = GameMidlet.a(byte, "/zz.png");
w = GameMidlet.a(w, "/frame.png");
b7 = GameMidlet.a(b7, "/e.png");
}
void I()
{
ca = -99;
M();
for(aZ, bO, bN, aQ.A);
aQ.for = bO;
aQ.do = bN;
am();
try(aB);
}
public void int()
{
ca = -99;
aQ = new a(this, bO, bN, 0, 2, 1, 1, 100, 50, 50, 2);
aQ.j();
M();
aZ = 10;
cm = 0;
cH.removeAllElements();
ar.removeAllElements();
c3.addElement("0");
int.removeAllElements();
int i1 = 10 * f;
int j1 = 3 * b9;
for(aZ, i1, j1, 2);
aQ.for = bO;
aQ.do = bN;
am();
try(aB);
}
void O()
{
if (bR)
switch (cm)
{
case 0: // '\0'
case 10: // '\n'
bl.a(0);
break;
default:
bl.a(2);
break;
}
}
void for(int i1, int j1, int k1, int l1)
{
aa = null;
aq = null;
cR = null;
W();
cN = true;
aZ = i1;
p = this;
if (cD != null)
{
cD.removeAllElements();
p 1 = this;
cL = null;
cD = null;
cL = null;
p 2 = this;
c4 = null;
ax = false;
K = 999;
}
a(5, false);
if (bT == null)
bT = new Vector();
else
bT.removeAllElements();
U = null;
U = a(U, aQ);
a(5, false);
bW.removeAllElements();
a(5, false);
System.gc();
i(i1);
a(5, false);
case(i1);
a(5, false);
a("/script/map" + i1 + ".dat", i1, j1, k1);
a(5, false);
cT.removeAllElements();
a(5, true);
aQ.A = l1;
O();
}
void case(int i1)
{
String s1 = a("/script/scene" + i1 + "Event.txt");
case(s1);
s1 = null;
}
void i(int i1)
{
String s1 = a("/script/scene" + i1 + "Role.txt");
case(s1);
s1 = null;
}
void a(an an1, an aan[], Vector vector)
{
Vector vector1 = new Vector();
if (an1 != null && aan == null)
{
vector1.addElement(an1);
} else
{
for (int i1 = 0; i1 < aan.length; i1++)
vector1.addElement(aan[i1]);
}
vector.addElement(vector1);
vector1 = null;
}
public void if(int i1)
{
ca = i1;
}
void try(int i1)
{
switch (i1)
{
default:
break;
case -1:
case 50: // '2'
bP--;
if (bP < 0)
bP = aC.length - 1;
break;
case -2:
case 56: // '8'
bP++;
if (bP >= aC.length)
bP = 0;
break;
case -7:
if (d == null)
{
N();
} else
{
c c10 = ((ap)(ap)d).j;
int j1 = ((ap)(ap)d).h[bP];
Vector vector = c10.a(j1);
l(d);
l();
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -