Can someone please explain to me what all of this data means and how it is read? The reason i'm asking is because I think it might be worthwhile to learn about this stuff.
Feel free to say no (like u need my permission anyway...) it's just something i'd hope to understand
I think I'm ok to post... it hasn't been 30 days...?
I'll try, but there's more to this than just understanding programming logic, which is all I can explain for you.
switch (V0)
This looks up the value stored in V0
{
case 0x01 0x06 0x0A:
{
If V0 is hexadecimal number 1, 6, or A...
upper_function_00; // add physical hit
upper_function_02; // add critical hit
}
do these two operations and then...
break;
Stop processing this Switch. (until it is called again by another function)
case 0x02 0x07:
{
upper_function_01; // add magical hit
}
break;
case 0x03 0x4 0x5:
{
upper_function_03; // do nothing
}
break;
case 0x08:
{
upper_function_07; // hit by hit % target level
}
break;
case 0x09:
{
upper_function_06;// hit if can be manipulated
}
break;
case 0x0B:
{
upper_function_00; // add physical hit
}
break;
}
These are the same basic process, but checking for different values and doing different operations as a result.
Imagine this...
Switch (YourName)
{
case "Bob":
{
print "Hello Bob.";
}
break;
case "George":
{
print "I don't like the name George."
}
break;
}
That is the same type of code, and it tells the computer to say one thing or another based on what YourName is. (Sorry if that's more basic than you intended me to answer...) But for further info on programming you should look into something like Beginner's C++ or Python tutorials... (for just learning the logic, you can pick it up fairly quickly with something simple like Game Maker, but don't expect to program the next FF game in that...)
Good luck... and I hope I didn't break thread too much...