Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opcode 6503 changed between 550 and 634 #7

Open
Displee opened this issue May 24, 2021 · 0 comments
Open

Opcode 6503 changed between 550 and 634 #7

Displee opened this issue May 24, 2021 · 0 comments

Comments

@Displee
Copy link
Owner

Displee commented May 24, 2021

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;
                                }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant