First address
[spoiler]8050000C 000a0101[/spoiler]
And I'm writing at 8005000e the 8 bytes value of a0 skipping 32 bytes then writing the same value at the next address at the same place
I think this is how I write it.
[spoiler]08______ XXXXXXXX
TNNNZZZZ VVVVVVVV
______ +
ba
= Initial Address
X = Initial value for the RAM write
T = Value Size (0 =
byte
, 1 =
halfword
, 2 =
word
)
N = Amount of additional addresses to write to (the first is assumed)
Z = Address Increment; in bytes (How many To skip By)
V = Value Increment (How much to add to the value after each additional RAM write)
To use
po
instead of
ba
, change the codetype from 08 to 18.
For values of ______ >= 0x01000000, add one to the codetype.[/spoiler]
[spoiler]0850000C
x= 000000a0
t=0
N= 9x 12 - initial(1) = 108 decimal (6c hex)
z= ?? one whole adress so 32 bytes
V= 0, no extra addition[/spoiler]
[spoiler]0850000C 000000a0
01080032 00000000[/spoiler]
Something's wrong... I can't make it work
[spoiler]804FFF70 00000000 00000000 00000000 00000000
804FFF80 00000000 00000000 00000000 00000000
804FFF90 00000000 00000000 00000000 00000000
804FFFA0 00000000 00000000 00000000 00000000
804FFFB0 00000000 00000000 00000000 00000000
804FFFC0 00000000 00000000 00000002 0101FFFF
804FFFD0 00000002 030AFFFF 00000002 0505FFFF
804FFFE0 00000002 080AFFFF 00000002 000AFFFF
804FFFF0 00000002 060AFFFF FFFFFFFF FFFFFFFF
80500000 FFFFFFFF FFFFFFFF 00000000 000A0101
80500010 00000000 010A0101 00000000 020A0101
80500020 00000000 030A0101 00000000 10050101
80500030 00000001 2D0A0101 00000001 2F050101
80500040 00000003 3E0A0100 00000002 530A0100
80500050 00000000 040A0101 00000005 15010100
80500060 00000001 310A0101 00000001 380A0101
There are 32 bytes of data covering one skills state option.first byte of the first address (00) represents the skill option. We have to keep that safe. the A in the first address is = 10 skill points for that option. The hypothesis is that the slider multi option will allow all of the skill points to all be 10 while leaving the skill option in tact.
[/spoiler]
I played around and this is what I think will do it [spoiler]
0850000D 00000063
006C0008 00000000
[/spoiler]
This works perfectly! O0