-
Notifications
You must be signed in to change notification settings - Fork 548
Description
Describe the bug
VM_ACTOR_REPLACE_TILE cannot find the reference correctly even tho it is listed on the references. While compiling the game, it shows an "undefined global problem". This does not happen in old versions of GB Studio. The problem happened when migrating my game to 4.2.1, but even when restarting the project from zero on 4.2.1 as well, it happened again.
Also, it doesnt happen with all my sprite tilesets. Strangely, some tilesets give out this error and some of them don't, and I couldn't find any discernible reason for it: not naming convention, not sprite size, tile number, etc.
To Reproduce
Steps to reproduce the behavior:
- Create a GBVM event
- Use the VM_ACTOR_REPLACE_TILE inside the GBVM event to replace the tiles of the Player sprite
Expected behavior
VM_ACTOR_REPLACE_TILE should replace the indicated tiles in it's parameters with the reference sprite tileset.
Screenshots
With this sprite tileset doesn't compile.
But with this other sprite tileset that I picked for the sake of demonstration, it does compile. This happens with some tilesets, and not with others.
Platform:
- Windows 10
- App version 4.2.1