- Aug 3, 2012
- Reaction score
- First Language
- Primarily Uses
This seems to be the issue.If not, do some error-checking on the value stored in variable 13
I had the sprite face left (direction 4) before using the item which effects the transfer. The variable is set on the transfer in to the map. However, when I opened F9 on that map to see what value it had, it had 6 (direction right) which is what is then applied for the transfer back.
Variable (13) is only ever used for this set of commands. It is in use nowhere else, so I'm at a loss as to where that 6 has come from.
I tried setting v(13) to zero before setting all the variables for the transfer. After the transfer in F9 still showed 6.
The game's Search function shows that this variable is used nowhere else, so it's not carrying forward a value from elsewhere.
I tried changing the variable to v(301) in case somehow (13) was in use in a plugin. Made no difference, still set to 6 (right)
I suspect this is now not a JS question.