What my topic means is that I am thinking to have some monsters be able to evolve into almost-double-of-its-amount (let's say, 5 basic monsters could able to evolve into 10 evolved monsters) while 1/4 of those evolved monsters are able to be evolved by more than one basic monster.
Let's say with this example... From A to E are Basic and F to O are Evolved and from my topic title, they all have stats to check to see if the current Basic monster's stat is enough higher than the required stats in the Evolved monster's stat if that Evolved monster is able to be evolved from this current monster... or otherwise that Evolved monster would be ignored (let's say, cat monster don't evolve into dragon monster). Anyway, here the example is... I am just pretending the monsters as animals though, for easy to understand the chart.
Basic:
A = Cat
B = Dog
C = Bird
D = Cub
E = BabyDragon
Evolved:
F = Lion
G = Cebereus
H = Hawk
I = Bear
J = AdultDragon
K = Cheetah
L = Pegasus
M = Phoenix
N = PolarBear
O = UltimaDragon (Fake, i know)
Since A to E are Basic and can evolve into F-to-O monsters, I am charting this way...
A can evolve into either F, G, or K
B can evolve into either G, I, or N
C can evolve into either H, L, or M
D can evolve into either I, N, or G
E can evolve into either J, O, or M
That's where my problem come in... I feel like I want to write the commands / function to check the whole stats of "current monster" (in this case, Basic) to each possible Evolved monsters that the current monster can evolve into. If my monster is Cat ( A ), it can evolve into either Lion or Cheetah or Cebereus but only one of them will be evolved by passing all requirements... I am including all stats as well as the hunger and weight and care-mistakes; which it would be more likely this way... Look at Lion and Cheetah... Lion is focused on ATK / STR (Attack / Strength) and some big Weight while Cheetah is focused on SPD (Speed) with less Weight... If I would like to evolve Cat into Cheetah instead Lion, I would watch out for its weight to be overfed (more weight to feed) while watch out for Lion's required ATK (which means Cat's ATK must be less than Lion's ATK to make Lion be skipped to check)
In other word, I would like to write like this...
each-current-stat >= each-evolved-stat
but I used the stats as "TYPE" things (Monster.Current.STR, Monster.Current.SPD, Monster.Current.Weight, etc), so it would be very tough to check each evolved monster that is possible to be evolved from less-than-Evolved-numbers (5 < 10) Basic.
I don't want to write too many "IF" commands (equal to all needed stats to check) in each evolved monster (trust me, it might be OVER 100 monsters, so... that's the problem I encounter)... Is there any narrower function to check all multiple stats at once for EACH evolved monster before confirming to evolve into?
Or do I have to suffer to write million "IF" commands for all monsters to check each stat? =/
By the way, I already tried to test the DATA, RESTORE, and READ command, it didn't work this way.
Thank you for your help in either way, to find a possible solution or not.
Edited: I guess multiple spaces between ABC won't work in posts, so I edited them from one row instead 3 x 5