chore: rev 194
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
@@ -7,393 +8,419 @@ import net.runelite.rs.ScriptOpcodes;
|
||||
@ObfuscatedName("ba")
|
||||
@Implements("ApproximateRouteStrategy")
|
||||
public class ApproximateRouteStrategy extends RouteStrategy {
|
||||
ApproximateRouteStrategy() {
|
||||
} // L: 11273
|
||||
@ObfuscatedName("iv")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1513110219
|
||||
)
|
||||
@Export("oculusOrbFocalPointY")
|
||||
static int oculusOrbFocalPointY;
|
||||
@ObfuscatedName("ls")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 318238525
|
||||
)
|
||||
@Export("menuX")
|
||||
static int menuX;
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIILfo;B)Z",
|
||||
garbageValue = "104"
|
||||
)
|
||||
@Export("hasArrived")
|
||||
public boolean hasArrived(int var1, int var2, int var3, CollisionMap var4) {
|
||||
return var2 == super.approxDestinationX && var3 == super.approxDestinationY; // L: 11276
|
||||
}
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIILfe;I)Z",
|
||||
garbageValue = "1148121553"
|
||||
)
|
||||
@Export("hasArrived")
|
||||
public boolean hasArrived(int var1, int var2, int var3, CollisionMap var4) {
|
||||
return var2 == super.approxDestinationX && var3 == super.approxDestinationY;
|
||||
}
|
||||
|
||||
@ObfuscatedName("au")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcs;ZI)I",
|
||||
garbageValue = "-1846731136"
|
||||
)
|
||||
static int method1302(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.FRIEND_COUNT) { // L: 1971
|
||||
if (MilliClock.friendSystem.field1069 == 0) { // L: 1972
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = -2;
|
||||
} else if (MilliClock.friendSystem.field1069 == 1) { // L: 1973
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = MilliClock.friendSystem.friendsList.getSize(); // L: 1974
|
||||
}
|
||||
@ObfuscatedName("n")
|
||||
@Export("sleepExact")
|
||||
public static final void sleepExact(long var0) {
|
||||
if (var0 > 0L) {
|
||||
if (0L == var0 % 10L) {
|
||||
long var2 = var0 - 1L;
|
||||
|
||||
return 1; // L: 1975
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.FRIEND_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 1978
|
||||
if (MilliClock.friendSystem.method1939() && var3 >= 0 && var3 < MilliClock.friendSystem.friendsList.getSize()) { // L: 1979
|
||||
Friend var8 = (Friend)MilliClock.friendSystem.friendsList.get(var3); // L: 1980
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var8.getName(); // L: 1981
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var8.getPreviousName(); // L: 1982
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 1985
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 1986
|
||||
}
|
||||
try {
|
||||
Thread.sleep(var2);
|
||||
} catch (InterruptedException var8) {
|
||||
;
|
||||
}
|
||||
|
||||
return 1; // L: 1988
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 1991
|
||||
if (MilliClock.friendSystem.method1939() && var3 >= 0 && var3 < MilliClock.friendSystem.friendsList.getSize()) { // L: 1992
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = ((Buddy)MilliClock.friendSystem.friendsList.get(var3)).world; // L: 1993
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 1995
|
||||
}
|
||||
try {
|
||||
Thread.sleep(1L);
|
||||
} catch (InterruptedException var7) {
|
||||
;
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
Thread.sleep(var0);
|
||||
} catch (InterruptedException var6) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
return 1; // L: 1996
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 1999
|
||||
if (MilliClock.friendSystem.method1939() && var3 >= 0 && var3 < MilliClock.friendSystem.friendsList.getSize()) { // L: 2000
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = ((Buddy)MilliClock.friendSystem.friendsList.get(var3)).rank; // L: 2001
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2003
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 1; // L: 2004
|
||||
} else {
|
||||
String var5;
|
||||
if (var0 == ScriptOpcodes.FRIEND_SETRANK) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2007
|
||||
int var6 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2008
|
||||
GrandExchangeOfferOwnWorldComparator.method1359(var5, var6); // L: 2009
|
||||
return 1; // L: 2010
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2013
|
||||
MilliClock.friendSystem.addFriend(var5); // L: 2014
|
||||
return 1; // L: 2015
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2018
|
||||
MilliClock.friendSystem.removeFriend(var5); // L: 2019
|
||||
return 1; // L: 2020
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2023
|
||||
MilliClock.friendSystem.addIgnore(var5); // L: 2024
|
||||
return 1; // L: 2025
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2028
|
||||
MilliClock.friendSystem.removeIgnore(var5); // L: 2029
|
||||
return 1; // L: 2030
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2033
|
||||
var5 = class22.method220(var5); // L: 2034
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = MilliClock.friendSystem.isFriended(new Username(var5, GrandExchangeOfferUnitPriceComparator.loginType), false) ? 1 : 0; // L: 2035
|
||||
return 1; // L: 2036
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATDISPLAYNAME) {
|
||||
if (WorldMapArea.clanChat != null) { // L: 2039
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = WorldMapArea.clanChat.name; // L: 2040
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2042
|
||||
}
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)[Lci;",
|
||||
garbageValue = "-915685508"
|
||||
)
|
||||
static AttackOption[] method1310() {
|
||||
return new AttackOption[]{AttackOption.AttackOption_hidden, AttackOption.AttackOption_alwaysRightClick, AttackOption.AttackOption_leftClickWhereAvailable, AttackOption.AttackOption_dependsOnCombatLevels};
|
||||
}
|
||||
|
||||
return 1; // L: 2043
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATCOUNT) {
|
||||
if (WorldMapArea.clanChat != null) { // L: 2046
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = WorldMapArea.clanChat.getSize(); // L: 2047
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2049
|
||||
}
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lly;",
|
||||
garbageValue = "-1904582422"
|
||||
)
|
||||
public static IndexedSprite method1304() {
|
||||
IndexedSprite var0 = new IndexedSprite();
|
||||
var0.width = class336.SpriteBuffer_spriteWidth;
|
||||
var0.height = class336.SpriteBuffer_spriteHeight;
|
||||
var0.xOffset = class105.SpriteBuffer_xOffsets[0];
|
||||
var0.yOffset = class336.SpriteBuffer_yOffsets[0];
|
||||
var0.subWidth = class336.SpriteBuffer_spriteWidths[0];
|
||||
var0.subHeight = class225.SpriteBuffer_spriteHeights[0];
|
||||
var0.palette = HorizontalAlignment.SpriteBuffer_spritePalette;
|
||||
var0.pixels = class2.SpriteBuffer_pixels[0];
|
||||
class105.SpriteBuffer_xOffsets = null;
|
||||
class336.SpriteBuffer_yOffsets = null;
|
||||
class336.SpriteBuffer_spriteWidths = null;
|
||||
class225.SpriteBuffer_spriteHeights = null;
|
||||
HorizontalAlignment.SpriteBuffer_spritePalette = null;
|
||||
class2.SpriteBuffer_pixels = null;
|
||||
return var0;
|
||||
}
|
||||
|
||||
return 1; // L: 2050
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2053
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize()) { // L: 2054
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = WorldMapArea.clanChat.get(var3).getUsername().getName(); // L: 2055
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2057
|
||||
}
|
||||
@ObfuscatedName("ay")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZB)I",
|
||||
garbageValue = "-109"
|
||||
)
|
||||
static int method1313(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.SOUND_SYNTH) {
|
||||
Interpreter.Interpreter_intStackSize -= 3;
|
||||
class58.queueSoundEffect(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize], Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1], Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 2]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_SONG) {
|
||||
AbstractSocket.playSong(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_JINGLE) {
|
||||
Interpreter.Interpreter_intStackSize -= 2;
|
||||
NPC.method2180(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize], Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
|
||||
return 1;
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == 3203) {
|
||||
var3 = Math.min(Math.max(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize], 0), 100);
|
||||
class194.method3820(Math.round(2.55F * (float)var3));
|
||||
return 1;
|
||||
} else if (var0 == 3204) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Math.round((float)WorldMapSectionType.clientPreferences.musicVolume / 2.55F);
|
||||
return 1;
|
||||
} else if (var0 == 3205) {
|
||||
var3 = Math.min(Math.max(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize], 0), 100);
|
||||
class171.method3641(Math.round(1.27F * (float)var3));
|
||||
return 1;
|
||||
} else if (var0 == 3206) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Math.round((float)WorldMapSectionType.clientPreferences.soundEffectsVolume / 1.27F);
|
||||
return 1;
|
||||
} else if (var0 == 3207) {
|
||||
var3 = Math.min(Math.max(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize], 0), 100);
|
||||
WorldMapData_1.method810(Math.round((float)var3 * 1.27F));
|
||||
return 1;
|
||||
} else if (var0 == 3208) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Math.round((float)WorldMapSectionType.clientPreferences.areaSoundEffectsVolume / 1.27F);
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 1; // L: 2058
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2061
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize()) { // L: 2062
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = ((Buddy)WorldMapArea.clanChat.get(var3)).getWorld(); // L: 2063
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2065
|
||||
}
|
||||
@ObfuscatedName("ah")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZB)I",
|
||||
garbageValue = "-107"
|
||||
)
|
||||
static int method1315(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.VIEWPORT_SETFOV) {
|
||||
Interpreter.Interpreter_intStackSize -= 2;
|
||||
Client.field779 = (short)Canvas.method935(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]);
|
||||
if (Client.field779 <= 0) {
|
||||
Client.field779 = 256;
|
||||
}
|
||||
|
||||
return 1; // L: 2066
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2069
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize()) { // L: 2070
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = ((Buddy)WorldMapArea.clanChat.get(var3)).rank; // L: 2071
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2073
|
||||
}
|
||||
Client.field913 = (short)Canvas.method935(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
|
||||
if (Client.field913 <= 0) {
|
||||
Client.field913 = 256;
|
||||
}
|
||||
|
||||
return 1; // L: 2074
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATMINKICK) {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = WorldMapArea.clanChat != null ? WorldMapArea.clanChat.minKick : 0; // L: 2077
|
||||
return 1; // L: 2078
|
||||
} else if (var0 == ScriptOpcodes.CLAN_KICKUSER) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2081
|
||||
Tiles.clanKickUser(var5); // L: 2082
|
||||
return 1; // L: 2083
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATRANK) {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = WorldMapArea.clanChat != null ? WorldMapArea.clanChat.rank * 120160835 * 1015634539 : 0; // L: 2086
|
||||
return 1; // L: 2087
|
||||
} else if (var0 == ScriptOpcodes.CLAN_JOINCHAT) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2090
|
||||
Varcs.Clan_joinChat(var5); // L: 2091
|
||||
return 1; // L: 2092
|
||||
} else if (var0 == ScriptOpcodes.CLAN_LEAVECHAT) {
|
||||
BZip2State.Clan_leaveChat(); // L: 2095
|
||||
return 1; // L: 2096
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_COUNT) {
|
||||
if (!MilliClock.friendSystem.method1939()) { // L: 2099
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = MilliClock.friendSystem.ignoreList.getSize(); // L: 2100
|
||||
}
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.VIEWPORT_SETZOOM) {
|
||||
Interpreter.Interpreter_intStackSize -= 2;
|
||||
Client.zoomHeight = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
||||
if (Client.zoomHeight <= 0) {
|
||||
Client.zoomHeight = 256;
|
||||
}
|
||||
|
||||
return 1; // L: 2101
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2104
|
||||
if (MilliClock.friendSystem.method1939() && var3 >= 0 && var3 < MilliClock.friendSystem.ignoreList.getSize()) { // L: 2105
|
||||
Ignored var4 = (Ignored)MilliClock.friendSystem.ignoreList.get(var3); // L: 2106
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var4.getName(); // L: 2107
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var4.getPreviousName(); // L: 2108
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2111
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2112
|
||||
}
|
||||
Client.zoomWidth = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
||||
if (Client.zoomWidth <= 0) {
|
||||
Client.zoomWidth = 320;
|
||||
}
|
||||
|
||||
return 1; // L: 2114
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2117
|
||||
var5 = class22.method220(var5); // L: 2118
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = MilliClock.friendSystem.isIgnored(new Username(var5, GrandExchangeOfferUnitPriceComparator.loginType)) ? 1 : 0; // L: 2119
|
||||
return 1; // L: 2120
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISSELF) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2123
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize() && WorldMapArea.clanChat.get(var3).getUsername().equals(PlayerComposition.localPlayer.username)) { // L: 2124
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 1; // L: 2125
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2127
|
||||
}
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.VIEWPORT_CLAMPFOV) {
|
||||
Interpreter.Interpreter_intStackSize -= 4;
|
||||
Client.field916 = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
||||
if (Client.field916 <= 0) {
|
||||
Client.field916 = 1;
|
||||
}
|
||||
|
||||
return 1; // L: 2128
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATOWNERNAME) {
|
||||
if (WorldMapArea.clanChat != null && WorldMapArea.clanChat.owner != null) { // L: 2131
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = WorldMapArea.clanChat.owner; // L: 2132
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2134
|
||||
}
|
||||
Client.field690 = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
||||
if (Client.field690 <= 0) {
|
||||
Client.field690 = 32767;
|
||||
} else if (Client.field690 < Client.field916) {
|
||||
Client.field690 = Client.field916;
|
||||
}
|
||||
|
||||
return 1; // L: 2135
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISFRIEND) {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2138
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize() && ((ClanMate)WorldMapArea.clanChat.get(var3)).isFriend()) { // L: 2139
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 1; // L: 2140
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2142
|
||||
}
|
||||
Client.field918 = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 2];
|
||||
if (Client.field918 <= 0) {
|
||||
Client.field918 = 1;
|
||||
}
|
||||
|
||||
return 1; // L: 2143
|
||||
} else if (var0 != ScriptOpcodes.CLAN_ISIGNORE) {
|
||||
if (var0 == 3628) {
|
||||
MilliClock.friendSystem.friendsList.removeComparator(); // L: 2154
|
||||
return 1; // L: 2155
|
||||
} else {
|
||||
boolean var7;
|
||||
if (var0 == 3629) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2158
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator1(var7)); // L: 2159
|
||||
return 1; // L: 2160
|
||||
} else if (var0 == 3630) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2163
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator2(var7)); // L: 2164
|
||||
return 1; // L: 2165
|
||||
} else if (var0 == 3631) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2168
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator3(var7)); // L: 2169
|
||||
return 1; // L: 2170
|
||||
} else if (var0 == 3632) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2173
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator4(var7)); // L: 2174
|
||||
return 1; // L: 2175
|
||||
} else if (var0 == 3633) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2178
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator5(var7)); // L: 2179
|
||||
return 1; // L: 2180
|
||||
} else if (var0 == 3634) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2183
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator6(var7)); // L: 2184
|
||||
return 1; // L: 2185
|
||||
} else if (var0 == 3635) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2188
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator7(var7)); // L: 2189
|
||||
return 1; // L: 2190
|
||||
} else if (var0 == 3636) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2193
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator8(var7)); // L: 2194
|
||||
return 1; // L: 2195
|
||||
} else if (var0 == 3637) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2198
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator9(var7)); // L: 2199
|
||||
return 1; // L: 2200
|
||||
} else if (var0 == 3638) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2203
|
||||
MilliClock.friendSystem.friendsList.addComparator(new UserComparator10(var7)); // L: 2204
|
||||
return 1; // L: 2205
|
||||
} else if (var0 == 3639) {
|
||||
MilliClock.friendSystem.friendsList.sort(); // L: 2208
|
||||
return 1; // L: 2209
|
||||
} else if (var0 == 3640) {
|
||||
MilliClock.friendSystem.ignoreList.removeComparator(); // L: 2212
|
||||
return 1; // L: 2213
|
||||
} else if (var0 == 3641) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2216
|
||||
MilliClock.friendSystem.ignoreList.addComparator(new UserComparator1(var7)); // L: 2217
|
||||
return 1; // L: 2218
|
||||
} else if (var0 == 3642) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2221
|
||||
MilliClock.friendSystem.ignoreList.addComparator(new UserComparator2(var7)); // L: 2222
|
||||
return 1; // L: 2223
|
||||
} else if (var0 == 3643) {
|
||||
MilliClock.friendSystem.ignoreList.sort(); // L: 2226
|
||||
return 1; // L: 2227
|
||||
} else if (var0 == 3644) {
|
||||
if (WorldMapArea.clanChat != null) { // L: 2230
|
||||
WorldMapArea.clanChat.removeComparator(); // L: 2231
|
||||
}
|
||||
Client.field846 = (short)Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 3];
|
||||
if (Client.field846 <= 0) {
|
||||
Client.field846 = 32767;
|
||||
} else if (Client.field846 < Client.field918) {
|
||||
Client.field846 = Client.field918;
|
||||
}
|
||||
|
||||
return 1; // L: 2233
|
||||
} else if (var0 == 3645) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2236
|
||||
if (WorldMapArea.clanChat != null) { // L: 2237
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator1(var7)); // L: 2238
|
||||
}
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.VIEWPORT_GETEFFECTIVESIZE) {
|
||||
if (Client.viewportWidget != null) {
|
||||
MenuAction.setViewportShape(0, 0, Client.viewportWidget.width, Client.viewportWidget.height, false);
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.viewportWidth;
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.viewportHeight;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
|
||||
}
|
||||
|
||||
return 1; // L: 2240
|
||||
} else if (var0 == 3646) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2243
|
||||
if (WorldMapArea.clanChat != null) { // L: 2244
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator2(var7)); // L: 2245
|
||||
}
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.VIEWPORT_GETZOOM) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.zoomHeight;
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.zoomWidth;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.VIEWPORT_GETFOV) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = FileSystem.method3709(Client.field779);
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = FileSystem.method3709(Client.field913);
|
||||
return 1;
|
||||
} else if (var0 == 6220) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
return 1;
|
||||
} else if (var0 == 6221) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
return 1;
|
||||
} else if (var0 == 6222) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = GrandExchangeOfferTotalQuantityComparator.canvasWidth;
|
||||
return 1;
|
||||
} else if (var0 == 6223) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = class25.canvasHeight;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
return 1; // L: 2247
|
||||
} else if (var0 == 3647) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2250
|
||||
if (WorldMapArea.clanChat != null) { // L: 2251
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator3(var7)); // L: 2252
|
||||
}
|
||||
@ObfuscatedName("bq")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;I)I",
|
||||
garbageValue = "1969316699"
|
||||
)
|
||||
public static int method1314(String var0) {
|
||||
return var0.length() + 2;
|
||||
}
|
||||
|
||||
return 1; // L: 2254
|
||||
} else if (var0 == 3648) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2257
|
||||
if (WorldMapArea.clanChat != null) { // L: 2258
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator4(var7)); // L: 2259
|
||||
}
|
||||
@ObfuscatedName("iz")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIIILjava/lang/String;B)V",
|
||||
garbageValue = "45"
|
||||
)
|
||||
@Export("widgetDefaultMenuAction")
|
||||
static void widgetDefaultMenuAction(int var0, int var1, int var2, int var3, String var4) {
|
||||
Widget var5 = ArchiveLoader.getWidgetChild(var1, var2);
|
||||
if (var5 != null) {
|
||||
if (var5.onOp != null) {
|
||||
ScriptEvent var6 = new ScriptEvent();
|
||||
var6.widget = var5;
|
||||
var6.opIndex = var0;
|
||||
var6.targetName = var4;
|
||||
var6.args = var5.onOp;
|
||||
PacketWriter.runScriptEvent(var6);
|
||||
}
|
||||
|
||||
return 1; // L: 2261
|
||||
} else if (var0 == 3649) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2264
|
||||
if (WorldMapArea.clanChat != null) { // L: 2265
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator5(var7)); // L: 2266
|
||||
}
|
||||
boolean var8 = true;
|
||||
if (var5.contentType > 0) {
|
||||
var8 = WorldMapLabelSize.method254(var5);
|
||||
}
|
||||
|
||||
return 1; // L: 2268
|
||||
} else if (var0 == 3650) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2271
|
||||
if (WorldMapArea.clanChat != null) { // L: 2272
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator6(var7)); // L: 2273
|
||||
}
|
||||
if (var8) {
|
||||
if (MidiPcmStream.method3972(class60.getWidgetFlags(var5), var0 - 1)) {
|
||||
PacketBufferNode var7;
|
||||
if (var0 == 1) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2320, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2275
|
||||
} else if (var0 == 3651) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2278
|
||||
if (WorldMapArea.clanChat != null) { // L: 2279
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator7(var7)); // L: 2280
|
||||
}
|
||||
if (var0 == 2) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2291, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2282
|
||||
} else if (var0 == 3652) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2285
|
||||
if (WorldMapArea.clanChat != null) { // L: 2286
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator8(var7)); // L: 2287
|
||||
}
|
||||
if (var0 == 3) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2326, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2289
|
||||
} else if (var0 == 3653) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2292
|
||||
if (WorldMapArea.clanChat != null) { // L: 2293
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator9(var7)); // L: 2294
|
||||
}
|
||||
if (var0 == 4) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2248, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2296
|
||||
} else if (var0 == 3654) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2299
|
||||
if (WorldMapArea.clanChat != null) { // L: 2300
|
||||
WorldMapArea.clanChat.addComparator(new UserComparator10(var7)); // L: 2301
|
||||
}
|
||||
if (var0 == 5) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2254, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2303
|
||||
} else if (var0 == 3655) {
|
||||
if (WorldMapArea.clanChat != null) { // L: 2306
|
||||
WorldMapArea.clanChat.sort(); // L: 2307
|
||||
}
|
||||
if (var0 == 6) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2280, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2309
|
||||
} else if (var0 == 3656) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2312
|
||||
MilliClock.friendSystem.friendsList.addComparator(new BuddyRankComparator(var7)); // L: 2313
|
||||
return 1; // L: 2314
|
||||
} else if (var0 == 3657) {
|
||||
var7 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize] == 1; // L: 2317
|
||||
if (WorldMapArea.clanChat != null) { // L: 2318
|
||||
WorldMapArea.clanChat.addComparator(new BuddyRankComparator(var7)); // L: 2319
|
||||
}
|
||||
if (var0 == 7) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2258, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2321
|
||||
} else {
|
||||
return 2; // L: 2323
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--VarcInt.Interpreter_intStackSize]; // L: 2146
|
||||
if (WorldMapArea.clanChat != null && var3 < WorldMapArea.clanChat.getSize() && ((ClanMate)WorldMapArea.clanChat.get(var3)).isIgnored()) { // L: 2147
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 1; // L: 2148
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0; // L: 2150
|
||||
}
|
||||
if (var0 == 8) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2328, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
return 1; // L: 2151
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (var0 == 9) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2253, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
@ObfuscatedName("ip")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-1035519670"
|
||||
)
|
||||
@Export("addCancelMenuEntry")
|
||||
static void addCancelMenuEntry() {
|
||||
Client.menuOptionsCount = 0; // L: 7313
|
||||
Client.isMenuOpen = false; // L: 7314
|
||||
Client.menuActions[0] = "Cancel"; // L: 7316
|
||||
Client.menuTargets[0] = ""; // L: 7317
|
||||
Client.menuOpcodes[0] = 1006; // L: 7318
|
||||
Client.menuShiftClick[0] = false; // L: 7319
|
||||
Client.menuOptionsCount = 1; // L: 7320
|
||||
} // L: 7321
|
||||
if (var0 == 10) {
|
||||
var7 = WorldMapSprite.getPacketBufferNode(ClientPacket.field2300, Client.packetWriter.isaacCipher);
|
||||
var7.packetBuffer.writeInt(var1);
|
||||
var7.packetBuffer.writeShort(var2);
|
||||
var7.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.addNode(var7);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("jt")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([Lhz;II)V",
|
||||
garbageValue = "-1753877400"
|
||||
)
|
||||
@Export("drawModelComponents")
|
||||
static final void drawModelComponents(Widget[] var0, int var1) {
|
||||
for(int var2 = 0; var2 < var0.length; ++var2) {
|
||||
Widget var3 = var0[var2];
|
||||
if (var3 != null && var3.parentId == var1 && (!var3.isIf3 || !DevicePcmPlayerProvider.isComponentHidden(var3))) {
|
||||
int var5;
|
||||
if (var3.type == 0) {
|
||||
if (!var3.isIf3 && DevicePcmPlayerProvider.isComponentHidden(var3) && var3 != Canvas.mousedOverWidgetIf1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
drawModelComponents(var0, var3.id);
|
||||
if (var3.children != null) {
|
||||
drawModelComponents(var3.children, var3.id);
|
||||
}
|
||||
|
||||
InterfaceParent var4 = (InterfaceParent)Client.interfaceParents.get((long)var3.id);
|
||||
if (var4 != null) {
|
||||
var5 = var4.group;
|
||||
if (WorldMapCacheName.loadInterface(var5)) {
|
||||
drawModelComponents(DefaultsGroup.Widget_interfaceComponents[var5], -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (var3.type == 6) {
|
||||
if (var3.sequenceId != -1 || var3.sequenceId2 != -1) {
|
||||
boolean var7 = GrandExchangeOfferWorldComparator.runCs1(var3);
|
||||
if (var7) {
|
||||
var5 = var3.sequenceId2;
|
||||
} else {
|
||||
var5 = var3.sequenceId;
|
||||
}
|
||||
|
||||
if (var5 != -1) {
|
||||
SequenceDefinition var6 = InterfaceParent.SequenceDefinition_get(var5);
|
||||
|
||||
for(var3.modelFrameCycle += Client.field808; var3.modelFrameCycle > var6.frameLengths[var3.modelFrame]; IsaacCipher.invalidateWidget(var3)) {
|
||||
var3.modelFrameCycle -= var6.frameLengths[var3.modelFrame];
|
||||
++var3.modelFrame;
|
||||
if (var3.modelFrame >= var6.frameIds.length) {
|
||||
var3.modelFrame -= var6.frameCount;
|
||||
if (var3.modelFrame < 0 || var3.modelFrame >= var6.frameIds.length) {
|
||||
var3.modelFrame = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (var3.field2649 != 0 && !var3.isIf3) {
|
||||
int var8 = var3.field2649 >> 16;
|
||||
var5 = var3.field2649 << 16 >> 16;
|
||||
var8 *= Client.field808;
|
||||
var5 *= Client.field808;
|
||||
var3.modelAngleX = var8 + var3.modelAngleX & 2047;
|
||||
var3.modelAngleY = var5 + var3.modelAngleY & 2047;
|
||||
IsaacCipher.invalidateWidget(var3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user