QUOTE (elfprince13 @ Feb 7 2006, 01:32 PM) | ||
SetUpEditor will automatically create the list and/or unarchive it. then if you add one slot to the beginning of the list as a flag with a value like 3.979 you can tell if you had already created it and had data saved, or if its a blank list with no data in it. for pokemon stats, have a variable length list that stores all the data, then use a routine based on the length of the stats. another trick you can use to save space is instead of using different slots for each stat, you can use one complex number to store all the stats for a single pokemon, and have the flag item be the starting pokemon. here is some pseudo code to extract a stat from a complex number assuming that all stats other than HP max out at 100. note that I am using (L) to represent the little L c1-->
ec2 |