static final void method1428(byte byte0, int i) {
        if (byte0 != -41) {
            return;
        }
        if (!Class99.aBoolean1680) {
            i = -1;
        }
        if (~i == ~Class105.anInt1733) {
            return;
        }
        if (i != -1) {
            Class116 class116 = Class142_Sub8_Sub31.method1445(i, false);
            Class142_Sub27_Sub12_Sub1 class142_sub27_sub12_sub1 = class116.method1055(false);
            if (class142_sub27_sub12_sub1 != null) {
                Class112.signlink.method178(NPC.gameCanvas, true, new Point(class116.anInt1847, class116.anInt1852), class142_sub27_sub12_sub1.method1857(), ((Class142_Sub27_Sub12) (class142_sub27_sub12_sub1)).anInt4837, ((Class142_Sub27_Sub12) (class142_sub27_sub12_sub1)).anInt4830);
                Class105.anInt1733 = i;
            } else {
                i = -1;
            }
        }
        if (i == -1 && Class105.anInt1733 != -1) {
            Class112.signlink.method178(NPC.gameCanvas, true, new Point(), null, -1, -1);
            Class105.anInt1733 = -1;
        }
    }