View Single Post
Old 01-29-2012, 12:05 PM   #92
VarsityPuppet
Master of Puppets
 
VarsityPuppet's Avatar
 
Join Date: May 2009
Location: MN
Posts: 1,226
Current Game: Chrono Trigger
Contest winner - Modding Forum Veteran Veteran Modder Helpful! 
It can be tedious, but if you declare your variables outside the switch, then initialize/assign values in the switch statement, it oftentimes works waaay better, if not all the time.

If yoou're using some of the same variables in subroutines, I've declared varialbes outside of void main and it worked, although it didn't seem to want to work with integers..

VarsityPuppet is offline   you may: quote & reply,