Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void method265(boolean flag, StreamBuffer class30_sub2_sub2)
- {
- try {
- stream = new FileOutputStream("./gfxs/gfx"+gfxId+".txt");
- if(!flag)
- throw new NullPointerException();
- do
- {
- int i = class30_sub2_sub2.readUnsignedByte();
- String opstr = "Opcode: "+i+"\r\n";
- stream.write(opstr.getBytes());
- if(i == 0)
- return;
- if(i == 1) {
- anInt405 = class30_sub2_sub2.readShort();
- opstr = "anInt405: "+anInt405+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 2)
- {
- anInt406 = class30_sub2_sub2.readShort();
- if(Class20.aClass20Array351 != null)
- aClass20_407 = Class20.aClass20Array351[anInt406];
- opstr = "anInt406: "+anInt406+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 4) {
- anInt410 = class30_sub2_sub2.readShort();
- opstr = "anInt410: "+anInt410+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 5) {
- anInt411 = class30_sub2_sub2.readShort();
- opstr = "anInt411: "+anInt411+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 6) {
- anInt412 = class30_sub2_sub2.readShort();
- opstr = "anInt412: "+anInt412+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 7) {
- anInt413 = class30_sub2_sub2.readUnsignedByte();
- opstr = "anInt413: "+anInt413+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i == 8) {
- anInt414 = class30_sub2_sub2.readUnsignedByte();
- opstr = "anInt414: "+anInt414+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i >= 40 && i < 50) {
- anIntArray408[i - 40] = class30_sub2_sub2.readShort();
- opstr = "anIntArray408: "+anIntArray408[i - 40]+"\r\n";
- stream.write(opstr.getBytes());
- } else
- if(i >= 50 && i < 60) {
- anIntArray409[i - 50] = class30_sub2_sub2.readShort();
- opstr = "anIntArray408: "+anIntArray409[i - 50]+"\r\n";
- stream.write(opstr.getBytes());
- } else
- System.out.println("Error unrecognised spotanim config code: " + i);
- } while(true);
- } catch(Exception ex) {
- }
- }
Add Comment
Please, Sign In to add comment