Board Thread:Program Announcements/@comment-24908197-20140506170816/@comment-68.34.116.22-20140812081527

Discostew wrote: @sgm_darkcon

I think I found your problem. It's an attempt to use one variable for more than one purpose. With your map coordinates, you use PX and PY, right? Well, aren't you using PY to also determine if your entire party is paralyzed in battle? I noticed this when after running from a battle (I had to set CD to 30 because waiting between actions for 6 seconds in battle was not worth sitting around for) and attempted to move, I'd find myself at the top of the map, but at the same X coordinate. Prior to re-entering map mode, you reset the stats for all characters and party variables to FALSE, including PY. FALSE as a number is equal to 0, which so happens to be the vertical position you end up at.

Hope that helps.

edit: After changing the variable PY within your battle section to PY1 (starting on the line where it checks all party members), everything seemed to work correctly when returning back to the map. (Yes I see the error of my ways, At least it human error by me by reusing PY again for something else which it happens to be the case, LOL! I note that in my notebook and made list of all my var and what they do, to try to keep it from happening again so when I go to work. I try to work on it 45 mins, a day before work starts or free time on weekend if I get a weekend now a days. so yes I skiming my code for errors, which means I'm overlooking, because trying to get as much done in the lot of time.

I thank you Discostew and hope you had a good vacation!), SGM DarkCon