after datamining some more on the battlefield I came across an interesting discovery. Using the {highlight unit code} and adding 0x4B to it put me at the class byte, upon changing this byte reflected a change to that class. however, I also discovered that unless the unit has the right mounts, the battle animations stay the same as the previous class(ie if you're Barbarossa and you switch to the king of liberation, you and your dragon becomes a little bigger(because that class is not a mounted united and therefore the scale is off) and still uses that battle animation). oh, and if you use retreat on easy to retain experience, the class also reverts.
so, for those who want to test this:
Code:
Hint: To save time, I copied and modified the move again code.
[Highlight unit Class change]
400C0000 00000000 0000004B
80000014 <- setting up the keypress check this way allow multiple class changes (1 per button combo)
610B01C0 00000000 0000003B
20000000
This code will use X+(left stick click) to switch any unit to the death knight class.
Also:
enlightened one = 2a
King of Liberation = 2d
Barbarossa = 11
Replace the 0000003B with the values above for that class. (Value were calculated from the save editor under class(flags))
and I have used this code to have multiple kings of Liberation, but I am still testing the code to see if something breaks (which now I hope I didn't jink myself)
it's also important to note, (I believe that just like the magic rewrite code) the change is only temporary,
so if you finish the battle, the class may also revert as well...
I still trying to datamine the enemy death knight to find out if I can figure out what bytes are missing to stop him from glitching out...
(I've screen captured about 0x1C0 bytes of data from the enemy death knight(if anyone is interested)