- 242
- Posts
- 6
- Years
- Seen Apr 3, 2023
Code:
clearflag 0x159
setvar 0x4059 0x0
warp 0x1 0x6F 0xFF 0x3 0x11
end
This bit of code (it's a long script so I just post the most relevant stuff) is supposed to unhide a person
in the current map, however when I come back to the map, the person is still hidden.
Edit: I solved the issue, was just a case of forgetting to put checkflag in the part of my script that checks for gender...
But now I have a new problem; right before the warp happens, if the player spams start button + a, they can get into the menu before the warp completes, and this will glitch the game out. The music stops playing, scripts in the level bugs out..
Any idea how I can write the code to make it not possible to do this glitch?
Last edited: