|
我想要达到的效果是:如果是此特性,则无克制效果,且造成伤害提升至原来的10倍,但没能达成此效果,并且似乎被克制自己的技能攻击会卡死?
.gba
.thumb
.create "test.gba",0x8000000
.close
.open "绿宝石.gba","test.gba",0x8000000
.org 0x082E9808
.func new
mov r1,#0x58
ldr r5,=0x0202420B
ldrb r5,[r5]
mul r1,r5
ldr r0,=0x020240A4
add r0,r1
ldrb r0,[r0]
cmp r0,#78 ;特性编号
bne no
mov r0,#0xA
mov r1,#0x1
end:
bl 0x082E7540
mov r5,r0
ldr r0,=(0x08046F70|1)
bx r0
no:
ldr r5,=0x020241F0
ldr r0,[r5,#0x0]
mul r0,r4
mov r1,#0xA
b end
.endfunc
.pool
.org 0x08046F68
bx r5
.pool
.org 0x08046F70
mov r0,r5
.pool
.org 0x08046F90
.word (new|1)
.pool
.close |
|