Hmm... I never tried using game variables. But I guess it will work, but the position of the buttons can only be changed when the scene changes. I don't think it will change the location in the same scene. Unless you can script call a sort of refresh or update function right after you change the value of variables. I guess you will have to try.
Thank you so much for the help! I tried using Scene_Manager.goto(Scene_Map) to refresh the scene, and it allows the buttons to move according to the variables!! The only issue I'm having is that refreshing the scene is also causing all the buttons that were hidden to reappear, but I can use the 'hide all' function straight after refreshing the scene to stop them showing up.