由于楼主电脑炸了
我来代发
.thumb
.align 2
initialization:
push {r2-r7, lr}
mov r4, #0
mov r2, #0
species_loop:
ldr r0, =0x20244ec @party_loc
add r0, r0, r2
mov r1, #0xb
ldr r3, =0x0806A519 @decrypter
bl call_viar3
ldr r2, =0x十六进制普通洛托姆编号
cmp r0, r2
beq form_change1
ldr r2, =0x十六进制烤箱编号
cmp r0, r2
beq form_change2
ldr r2, =0x十六进制洗衣机编号
cmp r0, r2
beq form_change3
ldr r2, =0x十六进制冰箱编号
cmp r0, r2
beq form_change4
ldr r2, =0x十六进制风扇编号
cmp r0, r2
beq form_change5
ldr r2, =0x十六进制除草机编号
cmp r0, r2
beq form_change6
cmp r4, #0x5
beq no_deoxys
add r4, r4, #1
mov r0, #0x64
mul r0, r4
add r2, r0, #0
b species_loop
form_change1:
ldr r0, =0x十六进制烤箱编号
mov r1, #1
b form_share
form_change2:
ldr r0, =0x十六进制洗衣机编号
mov r1, #2
b form_share
form_change3:
ldr r0, =0x十六进制冰箱编号
mov r1, #3
b form_share
form_change4:
ldr r0, =0x十六进制风扇编号
mov r1, #4
b form_share
form_change5:
ldr r0, =0x十六进制除草机编号
mov r1, #5
b form_share
form_change6:
ldr r0, =0x十六进制普通洛托姆编号
mov r1, #6
form_share:
mov r2, #0x64
mul r4, r2
ldr r2, =0x020375E0 @var_addr
strh r0, [r2]
strh r1, [r2, #0x2]
mov r1, #0xb
ldr r0, =0x20244ec
add r0, r0, r4
add r4, r0, #0
ldr r3, =0x0806ACAD @encrypter
bl call_viar3
add r0, r4, #0
ldr r3, =0x08068D0D @stat_recalculate
bl call_viar3
b finish
no_deoxys:
ldr r2, =0x020375E0
mov r1, #0
strh r1, [r2, #2]
finish:
pop {r2-r7, pc}
call_viar3:
bx r3
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f25.png?t=20140803)
.thumb
.align 2
initialization:
push {r2-r7, lr}
mov r4, #0
mov r2, #0
species_loop:
ldr r0, =0x20244ec @party_loc
add r0, r0, r2
mov r1, #0xb
ldr r3, =0x0806A519 @decrypter
bl call_viar3
ldr r2, =0x十六进制普通洛托姆编号
cmp r0, r2
beq form_change1
ldr r2, =0x十六进制烤箱编号
cmp r0, r2
beq form_change2
ldr r2, =0x十六进制洗衣机编号
cmp r0, r2
beq form_change3
ldr r2, =0x十六进制冰箱编号
cmp r0, r2
beq form_change4
ldr r2, =0x十六进制风扇编号
cmp r0, r2
beq form_change5
ldr r2, =0x十六进制除草机编号
cmp r0, r2
beq form_change6
cmp r4, #0x5
beq no_deoxys
add r4, r4, #1
mov r0, #0x64
mul r0, r4
add r2, r0, #0
b species_loop
form_change1:
ldr r0, =0x十六进制烤箱编号
mov r1, #1
b form_share
form_change2:
ldr r0, =0x十六进制洗衣机编号
mov r1, #2
b form_share
form_change3:
ldr r0, =0x十六进制冰箱编号
mov r1, #3
b form_share
form_change4:
ldr r0, =0x十六进制风扇编号
mov r1, #4
b form_share
form_change5:
ldr r0, =0x十六进制除草机编号
mov r1, #5
b form_share
form_change6:
ldr r0, =0x十六进制普通洛托姆编号
mov r1, #6
form_share:
mov r2, #0x64
mul r4, r2
ldr r2, =0x020375E0 @var_addr
strh r0, [r2]
strh r1, [r2, #0x2]
mov r1, #0xb
ldr r0, =0x20244ec
add r0, r0, r4
add r4, r0, #0
ldr r3, =0x0806ACAD @encrypter
bl call_viar3
add r0, r4, #0
ldr r3, =0x08068D0D @stat_recalculate
bl call_viar3
b finish
no_deoxys:
ldr r2, =0x020375E0
mov r1, #0
strh r1, [r2, #2]
finish:
pop {r2-r7, pc}
call_viar3:
bx r3
![](http://imgsrc.baidu.com/forum/pic/item/6b75ab096b63f624fc54f5ea8d44ebf81b4ca3bd.jpg?v=tbs)