⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 k.java

📁 j2me 武林传之刀剑江湖录[前篇]反编译源代码
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
// 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.*;
import javax.microedition.io.Connector;
import javax.microedition.lcdui.*;
import javax.microedition.media.Player;
import javax.microedition.midlet.MIDlet;
import javax.microedition.rms.RecordStore;
import javax.wireless.messaging.MessageConnection;
import javax.wireless.messaging.TextMessage;

public final class k extends Canvas
	implements Runnable
{

	public static long a = 70L;
	public static long b = 70L;
	public static int c;
	public static long d;
	public static byte e;
	public static int f[];
	public static byte g;
	public static byte h;
	public static long i[];
	public static byte j[];
	public static byte k[];
	public static byte l[];
	public static String m[];
	public static String n[];
	public static short o;
	private static short bQ;
	public static long p[];
	public static f q[] = new f[1];
	public static short r[][] = new short[1][];
	public static f s;
	public static short t;
	public static y u[];
	public static short v;
	public static short w[] = new short[120];
	public static short x;
	public static short y[] = new short[120];
	private static int bR;
	private static short bS[] = new short[120];
	public static boolean z;
	public static byte A;
	public static byte B;
	public static byte C;
	public static int D;
	public static int E;
	public static int F;
	public static int G;
	public static Image H;
	public static Image I;
	public static Image J;
	public static boolean K;
	public static boolean L;
	public static boolean M;
	public static Player N;
	public static int O = -1;
	public static int P = -1;
	public static final String Q[] = {
		"start.mid", "start1.mid", "battle1.mid", "battle2.mid", "defeat1.mid", "kongju.mid", "fail.mid", "environs.mid", "hole.mid", "hole2.mid", 
		"suzhou.mid", "village1.mid", "village2.mid", "xiyu.mid", "shaolin.mid", "end.mid"
	};
	public static int R;
	public static boolean S;
	public static Hashtable T = new Hashtable();
	public static byte U;
	public static boolean V;
	public static boolean W;
	public static int X;
	public static int Y;
	public static boolean Z = false;
	public static boolean aa = false;
	public static boolean ab;
	private static int bT;
	private static int bU;
	private static int bV;
	private static boolean bW;
	private static boolean bX;
	private static boolean bY;
	private static Image bZ;
	private static int ca;
	private static int cb;
	private static int cc;
	private static int cd;
	private static int ce;
	private static final String cf[] = {
		"天杀是江湖上最神秘的一个杀手组织。", "他们以极高的代价去为别人杀人。", "近几年来,已经连续刺死众多知名武林人士。", "一时间,江湖上又掀起了一阵血雨腥风。", "......."
	};
	public static byte ac;
	public static final String ad[] = {
		"苏州东郊", "苏州西郊", "吴村", "渔村民居", "渔村杂货店", "渔场", "苏州", "苏州民居", "苏州杂货店", "苏州客栈", 
		"苏州民居2", "苏州府衙", "龙门镇", "戈壁", "戈壁2", "山洞", "山洞2", "秘牢", "秘牢2", "少林地道", 
		"少林地道2", "少林禅房", "少林寺大门", "慕容山庄前院", "慕容山庄后院", "拜火教", "炼血堂", "荷花阵"
	};
	public static final byte ae[][] = {
		{
			0
		}, {
			1
		}, {
			2, 3, 4
		}, {
			2, 3, 4
		}, {
			2, 3, 4
		}, {
			5
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			6, 7, 8, 9, 10, 11
		}, {
			12
		}, {
			13
		}, {
			14
		}, {
			15, 16
		}, {
			15, 16
		}, {
			17, 18
		}, {
			17, 18
		}, {
			19, 20
		}, {
			19, 20
		}, {
			21
		}, {
			22
		}, {
			23
		}, {
			24
		}, {
			25, 26
		}, {
			25, 26
		}, {
			27
		}
	};
	private static byte cg;
	private static int ch;
	private static boolean ci;
	private static boolean cj;
	private static final String ck[] = {
		"胜败乃兵家常事", "大侠请重新来过"
	};
	private static int cl;
	private static int cm;
	private static final String cn[] = {
		"聂凡杀了玄空后隐居躲避江湖通缉,", "他是否能逃过此节,证明自己的清白?", "敬请期待&《武林传之刀剑江湖录》&(中篇)&......"
	};
	private static int co;
	private static int cp;
	private static int cq;
	private static final int cr[] = {
		0xffffff, 65331, 52479, 0xcc9900, 0xffcc00, 0xfafd02
	};
	private static final Font cs[];
	private static final int ct[] = {
		0, 1, 2
	};
	private static short cu;
	private static short cv;
	private static short cw;
	private static short cx;
	private static short cy;
	public static y af;
	private static String cz;
	private static int cA;
	private static short cB[];
	private static int cC;
	private static int cD;
	private static int cE;
	private static int cF;
	private static int cG[][];
	private static int cH;
	private static int cI;
	private static int cJ;
	private static int cK[];
	private static boolean cL;
	private static short cM[][];
	private static byte cN;
	private static int cO;
	private static int cP;
	private static int cQ;
	private static int cR;
	private static int cS;
	private static int cT;
	private static int cU;
	private static int cV = 5;
	private static int cW = 0;
	private static boolean cX = false;
	public static boolean ag;
	public static int ah[];
	private static int cY;
	private static final byte cZ[][] = {
		{
			0
		}, {
			0
		}, {
			0
		}, {
			0
		}, {
			0
		}, {
			2, 1, 2
		}, {
			2, 1, 2
		}, {
			2, 1, 2
		}, {
			2, 1, 2
		}, {
			2
		}, {
			1, 1
		}
	};
	private static final byte da[][] = {
		{
			2, 1, 1
		}, {
			2, 2, 2, 1
		}, {
			1, 2, 2, 1
		}, {
			2, 2, 2, 1
		}, {
			2
		}, {
			2, 1
		}, {
			2, 2, 1
		}, {
			1, 2, 2
		}, {
			1, 2, 2
		}, {
			1, 2, 2
		}, {
			1, 2, 1, 2, 2
		}, {
			2, 2, 1, 2
		}, {
			2, 2, 1
		}, {
			2, 1
		}, {
			1
		}, {
			2, 1, 2
		}, {
			2, 1, 2
		}, {
			1
		}, {
			1
		}, {
			1
		}, {
			2, 2
		}, {
			2, 2, 2
		}, {
			1, 2
		}, {
			2, 2, 2
		}, {
			2
		}, {
			2, 2
		}, {
			2
		}
	};
	public static short ai[] = new short[60];
	public static short aj[] = new short[24];
	public static short ak[] = new short[24];
	public static short al[] = new short[10];
	private static short db;
	private static byte dc[][][];
	private static byte dd[][][];
	private static String de[];
	private static short df[][];
	private static byte dg[][][];
	private static byte dh[][][];
	private static String di[];
	private static short dj[][];
	private static byte dk[];
	private static int dl;
	private static byte dm;
	private static y dn;
	private static byte do[];
	private static Vector dp = new Vector();
	private static Vector dq = new Vector();
	private static int dr;
	private static int ds;
	private static int dt;
	private static int du;
	private static int dv;
	public static byte am[][];
	public static byte an[][];
	public static int ao;
	public static int ap;
	public static short aq[] = new short[4];
	public static short ar[] = new short[4];
	public static short as[] = new short[4];
	public static y at;
	public static boolean au = false;
	public static short av;
	public static short aw;
	public static short ax;
	public static int ay;
	public static int az;
	public static int aA;
	public static int aB;
	public static short aC[];
	public static byte aD[];
	public static short aE[][];
	public static byte aF[][][];
	public static y aG;
	private static boolean dw = false;
	private static int dx = -1;
	private static Hashtable dy = new Hashtable();
	public static byte aH[][] = new byte[2][16];
	public static boolean aI[] = new boolean[2];
	private static f dz;
	public static int aJ[][] = new int[10][5];
	public static i aK[];
	public static int aL[];
	public static boolean aM = false;
	public static int aN;
	public static int aO;
	public static int aP = 0;
	public static int aQ = 0;
	public static int aR = 0;
	public static boolean aS = true;
	private static boolean dA;
	public static boolean aT;
	public static int aU;
	public static int aV;
	public static int aW = 0;
	public static int aX = 0;
	public static Image aY;
	public static byte aZ[][] = {
		{
			-1, -1, -1, -1
		}, {
			-1, -1, -1, -1
		}, {
			-1, -1, -1, -1
		}, {
			-1, -1, -1, -1
		}
	};
	public static byte ba;
	public static short bb[][];
	private static short dB;
	private static short dC;
	private static short dD;
	private static short dE;
	public static short bc[][];
	private static short dF;
	private static short dG;
	private static short dH;
	private static short dI;
	private static long dJ;
	private static boolean dK;
	private static boolean dL;
	private static Image dM;
	private static byte dN[];
	public static short bd[][];
	public static final String be[] = {
		"一生纠葛,十年练剑。", "纵横江湖身未醉,", "情断江南夜已寒。", "叫人怎辨酒浓淡?", "一朝梦醒,心死关畔。", "春风不扰散花眠。", "落寞孤冢人已去,", "星魂忘返影流连。"
	};
	public static int bf = 250;
	public static MessageConnection bg = null;
	public static String bh[];
	public static boolean bi[];
	public static String bj[];
	public static int bk[];
	public static int bl[];
	public static String bm[];
	public static int bn;
	public static int bo;
	public static int bp;
	public static int bq;
	public static int br;
	public static int bs;
	public static final String bt[] = {
		"1.购买装备", "2.购买道具", "3.金币充值"
	};
	public static int bu;
	public static final int bv[] = {
		24, 25, 26, 27
	};
	public static final int bw[] = {
		380, 220, 300, 200
	};
	public static int bx;
	public static boolean by;
	public static boolean bz;
	public static boolean bA;
	public static boolean bB;
	public static String bC[];
	public static final int bD[] = {
		1, 2, 3, 4, 5, 7
	};
	public static final int bE[] = {
		150, 80, 250, 80, 80, 150
	};
	public static String bF[];
	public static int bG;
	public static boolean bH;
	public static boolean bI;
	public static boolean bJ;
	private static int dO;
	private static int dP = 3;
	private static boolean dQ;
	private static boolean dR;
	public static boolean bK;
	public static boolean bL;
	private static boolean dS;
	private static boolean dT;
	private static boolean dU;
	private static int dV;
	public static boolean bM;
	public static boolean bN;
	public static final int bO[] = {
		300, 200, 300
	};
	public static int bP;

	public k()
	{
		z = true;
		A = B = C = -1;
		ar();
		o.a();
		a((byte)0);
		n();
		setFullScreenMode(true);
		(new Thread(this)).start();
	}

	public final void run()
	{
		long l1 = 0L;
		while (z) 
		{
			long l2 = System.currentTimeMillis() + a;
			a.b();
			repaint();
			serviceRepaints();
			while (l2 > System.currentTimeMillis()) 
				Thread.yield();
		}
	}

	public final void paint(Graphics g1)
	{
		Graphics g2;
		(g2 = g1).setFont(g.a);
		if (B == 4 || B == 41 || B == 5 || B == 8 || B == 9 || B == 10)
			R++;
		switch (B)
		{
		case 21: // '\025'
		case 22: // '\026'
		case 23: // '\027'
		case 24: // '\030'
		case 25: // '\031'
		case 26: // '\032'
		case 27: // '\033'
		case 28: // '\034'
		case 29: // '\035'
		case 30: // '\036'
		case 31: // '\037'
		case 32: // ' '
		case 33: // '!'
		case 34: // '"'
		case 35: // '#'
		case 36: // '$'
		case 37: // '%'
		case 38: // '&'
		case 39: // '\''
		case 40: // '('
		default:
			break;

		case 0: // '\0'
			K();
			if (0 == B)
				m(g2);
			break;

		case 1: // '\001'
			N();
			if (1 == B)
				n(g2);
			break;

		case 2: // '\002'
			Q();
			if (2 == B)
				o(g2);
			break;

		case 3: // '\003'
			T();
			if (3 == B)
				p(g2);
			break;

		case 4: // '\004'
			W();
			if (4 == B)
				q(g2);
			break;

		case 41: // ')'
			Z();
			if (41 == B)
				r(g2);
			break;

		case 5: // '\005'
			ac();
			if (5 == B)
				s(g2);
			break;

		case 6: // '\006'
			ae();
			if (6 == B)
				t(g2);
			break;

		case 7: // '\007'
			ag();
			if (7 == B)
				u(g2);
			break;

		case 8: // '\b'
			ao();
			if (8 == B)
				y(g2);
			break;

		case 9: // '\t'
			aj();
			if (9 == B)
				v(g2);
			break;

		case 10: // '\n'
			al();
			if (10 == B)
				w(g2);
			break;

		case 11: // '\013'
			an();
			if (11 == B)
				x(g2);
			break;

		case 12: // '\f'
			aA();
			if (12 == B)
				z(g2);
			break;

		case 13: // '\r'
			aD();
			if (13 == B)
				A(g2);
			break;

		case 14: // '\016'
			r();
			if (14 == B)
				f(g2);
			break;

		case 15: // '\017'
			t();
			if (15 == B)
				g(g2);
			break;

		case 16: // '\020'
			v();
			if (16 == B)
				h(g2);
			break;

		case 17: // '\021'
			x();
			if (17 == B)
				i(g2);
			break;

		case 18: // '\022'
			z();
			if (18 == B)
				j(g2);
			break;

		case 19: // '\023'
			B();
			if (19 == B)
				k(g2);
			break;

		case 20: // '\024'
			D();
			if (20 == B)
				l(g2);
			break;
		}
		c++;
		if (System.currentTimeMillis() - d > 1000L)
		{
			c = 0;
			d = System.currentTimeMillis();
		}
		return;
		JVM INSTR dup ;
		Exception exception;
		exception;
		printStackTrace();
	}

	public final void hideNotify()
	{
		if (K && N != null && N.getState() == 400)
			ab = true;
		else
			ab = false;
		if (B == 2)
		{
			Z = true;
			return;
		}
		if (B == 4)
		{
			aa = true;
			a((byte)7);
		}
	}

	public final void showNotify()
	{
		if (K && N != null && ab)
			N = u.b(Q[O]);
		if (Z)
		{
			Z = false;
			return;
		}
		if (aa)
			aa = false;
	}

	public final void keyPressed(int i1)
	{
		int j1 = a.d(i1 = Math.abs(i1));
		a.a |= j1;
	}

	public final void keyReleased(int i1)
	{
		i1 = Math.abs(i1);
		a.a &= ~a.d(i1);
	}

	public final void pointerPressed(int i1, int j1)
	{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -