Help with tilemap system

I am having issues with my project. I’m using lists to store information on tilemaps (ex. when to teleport a player, where to teleport a player, which tilemap to teleport them to, ect.) and I believe I have the system mostly functioning, except the line of code in the MapTriggerCheck function (far middle left of the code) that checks if the players position is equal to the position encoded in the list (second if statement in the MapTriggerCheck function.) Using a few test variables and debug mode, I figured out that it is decoding the numbers correctly (its checking for 15 column 7 row), but the code still does not work. (the case I am testing for is the path at the end of the area you are teleported to after the introductory section [sorry that the introduction still puts you into the cutscene, I just removed the cutscene dialogue block for testing.]) Any ideas on how I can fix my code/what I am doing wrong?
(note: the key for what commands do what is in the forever loop to the left of the MapTriggerCheck function in a comment)

1 Like