Incorrect behavior for "self" #1735
Labels
bug
Something isn't working
waiting for new compiler test
This needs to be tested with the new Underanalyzer compiler
Describe the bug
Attempting to use "self" as an argument in collision_point will compile as the integer value -1 instead of the assembly code call.i @@this@@(argc=0) like it should, resulting in it always returning false.
Reproducing steps
Create a script of any kind.
Attempt to run a collision check with self as the object (for example, "collision_point(60, 60, self, 0, 0)")
Testing reveals it will always return false.
Setup Details
UndertaleModTool 0.5.1.0
Windows 10
GIMMIKO Demo https://store.steampowered.com/app/2101420/GIMMIKO (should not be relevant to issue, but is where i found the problem when editing a script)
The text was updated successfully, but these errors were encountered: