Users browsing this thread: 2 Guest(s)
Battlescript variables...
I can't recall where I obtained this info from or who provided it, I would guess it is from Mnrogar's Den and probably Imzogelmo but I'm not sure since I can't check do to both it and Slick Productions being down...
This more or less catalogs what the normally used ones are for (except for the ??? ones...):
That should answer some of what you are wondering at least. I'm not sure about using any past this like if they would work, or the consequences of doing so, but I'd imagine that using the important ones in other applications, if you were stubborn like you say, wouldn't be a good idea - if they are anything like memory bits that get set, telling the game various important battle infos and probably messing up your script etc., but I'm not sure what's really going on behind the scenes with these variables. All I know is you can set 7 bits on 1 var so there shouldn't be a need to go up to 255 or reuse ones that are used for important things like this list says, unless you go psychotic making a boss lol.
Besides that, you could always try testing ones past this list and see if they behave as normal, it kind of is uncharted territory you could say and you would be like a pioneer in the field, figuring stuff out and sharing the info with the world!
This more or less catalogs what the normally used ones are for (except for the ??? ones...):
Code:
Variable Use
00 - 03 Unused
04 - 08 ???
09 ???
0A Used to change SrBehemoth to Undead SrBehemoth (If bit 7 is set)
0B If bit 1 set, Morph lasts half as long, If bit 2 set, Morph is unusable, Other bits ???
0C ???
0D Number of battles fought with Cursed Shield
0E - 0F Doom Gaze's HP
10 - 17 ???
18 Elements nullified by forcefield
19 Number of targets for last attack
1A Number of types of monsters active in combat
1B - 23 ???
24 Battle formation (low byte)
Variables 04 - 17 retain their values at end of combat.
That should answer some of what you are wondering at least. I'm not sure about using any past this like if they would work, or the consequences of doing so, but I'd imagine that using the important ones in other applications, if you were stubborn like you say, wouldn't be a good idea - if they are anything like memory bits that get set, telling the game various important battle infos and probably messing up your script etc., but I'm not sure what's really going on behind the scenes with these variables. All I know is you can set 7 bits on 1 var so there shouldn't be a need to go up to 255 or reuse ones that are used for important things like this list says, unless you go psychotic making a boss lol.
Besides that, you could always try testing ones past this list and see if they behave as normal, it kind of is uncharted territory you could say and you would be like a pioneer in the field, figuring stuff out and sharing the info with the world!
We are born, live, die and then do the same thing over again.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)