- Joined
- Jun 17, 2008
- Messages
- 324
- Trophies
- 1
- Location
- The Netherlands
- Website
- twitter.com
- XP
- 853
- Country
Change the last line to bne @@sunwrite, it should work then.So i was checking the source and found out how to change the buttons on the boktai 1 but on boktai 2 and 3 works wrong, the sun changes when i press left or right and stops changing when i hold A+R, so is reversed
this is what im using in boktai 2
ldr r0,=30044E0h
ldrh r2,[r0] // r2 = BUTTON_HELD
ldrh r0,[r0,2h] // r0 = BUTTON_DOWN
mov r3,080h
lsl r3,r3,1h
add r3,r3,1h
and r2,r3
cmp r2,r3 // if R+A held
ldrh r2,[r1,2h]
beq @@sunwrite
what i wrote wrong?
thanks