Example #1
0
 static final void method1033(int i, int i_0_, int i_1_, boolean bool, int i_2_) {
   try {
     if (Class378.method4671(i, null, -1346924535))
       Class372.method4591(
           (Class389.aClass119Array4165[i].aClass105Array1405),
           -1,
           i_0_,
           i_1_,
           bool,
           (short) -10580);
   } catch (RuntimeException runtimeexception) {
     throw Class346.method4175(
         runtimeexception, new StringBuilder().append("dw.kv(").append(')').toString());
   }
 }
Example #2
0
 static final void method2375(boolean bool, byte b, Actor actor) {
   anInt11059++;
   int i = -1;
   if (b != -49) {
     aClass192_11056 = null;
   }
   int i_22_ = 0;
   if ((actor.toFirstTileTicketDelay ^ 0xffffffff) < (Class174.clientCycle ^ 0xffffffff)) {
     Class238.method3020(b + 49, actor);
   } else if ((Class174.clientCycle ^ 0xffffffff) < (actor.toSecondTileTicketDelay ^ 0xffffffff)) {
     Node_Sub20.method2614(true, actor, bool);
     i = Class275.anInt5412;
     i_22_ = Class320_Sub23.anInt8431;
   } else {
     Class186.method1870((byte) 69, actor);
   }
   if ((actor.anInt5934 ^ 0xffffffff) > -513
       || (actor.anInt5940 ^ 0xffffffff) > -513
       || (Node_Sub54.GAME_SCENE_WDITH * 512 + -512 ^ 0xffffffff) >= (actor.anInt5934 ^ 0xffffffff)
       || (actor.anInt5940 ^ 0xffffffff)
           <= (Class377_Sub1.GAME_SCENE_HEIGHT * 512 - 512 ^ 0xffffffff)) {
     actor.anAnimator10876.method249(true, -1);
     for (int i_23_ = 0; i_23_ < actor.aClass165Array10886.length; i_23_++) {
       actor.aClass165Array10886[i_23_].graphicsId = -1;
       actor.aClass165Array10886[i_23_].anAnimator2026.method249(true, -1);
     }
     actor.toFirstTileTicketDelay = 0;
     i = -1;
     actor.toSecondTileTicketDelay = 0;
     actor.anIntArray10817 = null;
     i_22_ = 0;
     actor.anInt5934 = actor.scenePositionXQueue[0] * 512 - -(actor.getSize((byte) 97) * 256);
     actor.anInt5940 = actor.scenePositionYQueue[0] * 512 - -(actor.getSize((byte) 113) * 256);
     actor.method867(536);
   }
   if (actor == Class295.myPlayer
       && ((actor.anInt5934 ^ 0xffffffff) > -6145
           || actor.anInt5940 < 6144
           || (actor.anInt5934 ^ 0xffffffff)
               <= (-6144 + 512 * Node_Sub54.GAME_SCENE_WDITH ^ 0xffffffff)
           || (-6144 + Class377_Sub1.GAME_SCENE_HEIGHT * 512 ^ 0xffffffff)
               >= (actor.anInt5940 ^ 0xffffffff))) {
     actor.anAnimator10876.method249(true, -1);
     for (int i_24_ = 0; i_24_ < actor.aClass165Array10886.length; i_24_++) {
       actor.aClass165Array10886[i_24_].graphicsId = -1;
       actor.aClass165Array10886[i_24_].anAnimator2026.method249(true, -1);
     }
     actor.toFirstTileTicketDelay = 0;
     actor.toSecondTileTicketDelay = 0;
     actor.anIntArray10817 = null;
     i_22_ = 0;
     i = -1;
     actor.anInt5934 = 512 * actor.scenePositionXQueue[0] + 256 * actor.getSize((byte) 69);
     actor.anInt5940 = actor.scenePositionYQueue[0] * 512 + 256 * actor.getSize((byte) 49);
     actor.method867(536);
   }
   int i_25_ = Class59.method586(-32769, actor);
   Class76.method769(actor, true);
   Class352.method4009(i, i_25_, i_22_, -1, actor);
   Class372.method4103(65, actor, i);
   Class34.method370(actor, (byte) 38);
 }