cs2-editor
cs2-editor copied to clipboard
Opcode 6503 changed between 550 and 634
634:
if (opcode == 6503) {
int i_168_ = intStack[--instStackCount];
String string = stringStack[--stringStackCount];
if (Class240.anInt4674 != 7 || RenderAnimationDefinition.anInt2955 != 0 || Class367_Sub2.anInt7297 != 0) {
intStack[instStackCount++] = 0;
} else {
intStack[instStackCount++] = (Class348_Sub23_Sub1.method2972(string, i_168_, -42) ? 1 : 0);
return;
}
return;
}
550:
if (opcode == 6503) {
@Pc(7880) int isp2 = isp - 1;
@Pc(7883) int id = intStack[isp2];
if (Static4.state == 10 && LoginManager.autoStep == 0 && LoginManager.step == 0 && CreateManager.step == 0) {
isp = isp2 + 1;
intStack[isp2] = WorldList.switchWorld(id) ? 1 : 0;
continue;
}
isp = isp2 + 1;
intStack[isp2] = 0;
continue;
}