-
Notifications
You must be signed in to change notification settings - Fork 239
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
Using 'self' Throws Error "Expected token kind ProcVariable, got ProcFunction" #1133
Comments
Has any workaround been found for this? |
You should be able to edit it in the disassembly bytecode. Maybe the following steps:
to
|
Any way to do this through the CLI? Using Linux. |
Try Wine or a Windows VM if you can. It might be possible to script, but the assembler isn't as open as the compiler. |
Does the workaround still work? While this solution does make the code compile, in-game, it's just causing a "Variable not set before reading it." error. |
The only reason I could guess that happening is if you also edited the function's definition and it broke as a result. At that point I might just recommend using a user event or global script. |
Describe the bug
When using self it throws an error when it should work (I tested in actual gamemaker and it works there)
![image](https://user-images.githubusercontent.com/54488066/205795593-960e0a06-0489-431d-8fc8-108b7fdc8bac.png)
Image:
Reproducing steps
self.<insert any local function here>
Setup Details
UndertaleModTool Version: bleeding-edge c897860
OS: Windows 10
Game: Benbo Quest 2: BenboWars https://thumbtack.itch.io/benbowars
The text was updated successfully, but these errors were encountered: