well I took toenailed's RTWE source and I tried to use the text to item part to set something in emotion slot one.

it sort of worked, but it didn't :P

it stores some no emotion thing in slot one

here's the source:

Code:
ldr r1,=0x022AF136
mov r5,#0x0
mov r0,#0x8
mov r2,#0xF
loop:
ldrb r3,[r1]
add r1,#1
cmp r3,#0x3A
blt number
add r3,#9
number:
and r3,r2
lsl r3,r0
add r5,r3
sub r0,#0x4
bpl loop

ldr r2,=0x021D8FC8
strb r5,[r2]
bx lr
sorry if I did something really stupid in it, please help fix it though :P


I was also wondering what the address holding the value for the current player (0-3 I think?) so I could make it work for any player