Started identifying CS2 opcodes

This commit is contained in:
Pazaz 2022-05-11 04:59:13 -04:00
parent b57d5a0031
commit 3531b1c57c
27 changed files with 422 additions and 346 deletions

View file

@ -2607,8 +2607,8 @@ public class Protocol {
component = InterfaceList.getComponent(i);
x = change.intArg1;
if (component != null && component.type == 0) {
if (x > component.anInt491 - component.height) {
x = component.anInt491 - component.height;
if (x > component.scrollMaxV - component.height) {
x = component.scrollMaxV - component.height;
}
if (x < 0) {
x = 0;