aaa132536
级别: 火花会员
编号: 81600
精华: 0
发帖: 88
威望: 0 点
配偶: 单身
火 花 币: 10353 HHB
注册时间:2007-07-08
最后登陆:2012-08-05
|
Lawliet兄,下面是我从圣魔光石girl版里查出的狙击手射程+1的代码,我感觉没漏掉什么代码,可是进游戏发现狙击手拿短弓攻击时在地图上有出现3格的攻击范围,不过他只能在原先2格的攻击范围移动选择目标,无法攻击3格的目标。Lawliet兄能不能帮我修改下,谢谢。
08016944 4A00 ldr r2, [pc, 0h] ;[00016948]=0x08E4F2B0(149222064) 08016946 4697 mov pc, r2 08016948 F2B0 [???] 0801694A 08E4 lsr r4, r4, 3h 0801694C 0000 lsl r0, r0, 0 0801694E 4299 cmp r1, r3
08E4F2B0 1809 add r1, r1, r0 08E4F2B2 7E48 ldrb r0, [r1, 19h] 08E4F2B4 2822 cmp r0, 22h 08E4F2B6 D108 bne 8E4F2CAh 08E4F2B8 6868 ldr r0, [r5, 4h] 08E4F2BA 7900 ldrb r0, [r0, 4h] 08E4F2BC 281B cmp r0, 1Bh 08E4F2BE D001 beq 8E4F2C4h 08E4F2C0 281C cmp r0, 1Ch 08E4F2C2 D101 bne 8E4F2C8h 08E4F2C4 2023 mov r0, 23h 08E4F2C6 E000 b 8E4F2CAh 08E4F2C8 2022 mov r0, 22h 08E4F2CA 0901 lsr r1, r0, 4h 08E4F2CC 220F mov r2, Fh 08E4F2CE 4002 and r2, r0 08E4F2D0 4803 ldr r0, [pc, Ch] ;[00E4F2E0]=0x0801694E(134310222) 08E4F2D2 4687 mov pc, r0 08E4F2D4 FFFFFFFF bl 8F4F2DAh 08E4F2D8 FFFFF0FF bl 8F4F2DAh 08E4F2DC FFFFFFFF bl 8F4F2DAh 08E4F2E0 694E ldr r6, [r1, 14h] 08E4F2E2 0801 lsr r1, r0, 0 08E4F2E4 FFFFFFFF bl 8F4F2DAh 08E4F2E8 FFFFFFFF bl 8F4F2DAh
0802AAF2 F8ADF34D bl 8377C50h 0802AAF6 1C00 mov r0, r0
08377C50 2014 mov r0, 14h 08377C52 5620 ldrsb r0, [r4, r0] 08377C54 0880 lsr r0, r0, 2h 08377C56 1A09 sub r1, r1, r0 08377C58 2015 mov r0, 15h 08377C5A 5620 ldrsb r0, [r4, r0] 08377C5C 0880 lsr r0, r0, 2h 08377C5E 1A09 sub r1, r1, r0 08377C60 FF49F4B2 bl 802AAF6h 08377C64 0000 lsl r0, r0, 0 08377C66 7A0B ldrb r3, [r1, 8h] 08377C68 0221 lsl r1, r4, 8h 08377C6A 185B add r3, r3, r1 08377C6C 2182 mov r1, 82h 08377C6E 0049 lsl r1, r1, 1h 08377C70 400B and r3, r1 08377C72 4299 cmp r1, r3 08377C74 D102 bne 8377C7Ch 08377C76 2100 mov r1, 0h 08377C78 2300 mov r3, 0h 08377C7A 4770 bx lr 08377C7C 21FF mov r1, FFh 08377C7E 4008 and r0, r1 08377C80 00C1 lsl r1, r0, 3h 08377C82 1809 add r1, r1, r0 08377C84 2300 mov r3, 0h 08377C86 4770 bx lr 08377C88 4B00 ldr r3, [pc, 0h] ;[00377C8C]=0x08E4F300(149222144) 08377C8A 469F mov pc, r3 08377C8C F300 [???] 08377C8E 08E4 lsr r4, r4, 3h 08377C90 0000 lsl r0, r0, 0 08377C92 200F mov r0, Fh 08377C94 2B04 cmp r3, 4h 08377C96 D100 bne 8377C9Ah 08377C98 2000 mov r0, 0h 08377C9A 4008 and r0, r1 08377C9C 4770 bx lr
08E4F300 1809 add r1, r1, r0 08E4F302 7A0B ldrb r3, [r1, 8h] 08E4F304 7E49 ldrb r1, [r1, 19h] 08E4F306 2922 cmp r1, 22h 08E4F308 D10A bne 8E4F320h 08E4F30A B408 push r3 08E4F30C 4B0C ldr r3, [pc, 30h] ;[00E4F340]=0x03004DF0(50351600) 08E4F30E 681B ldr r3, [r3, 0h] 08E4F310 685B ldr r3, [r3, 4h] 08E4F312 791B ldrb r3, [r3, 4h] 08E4F314 2B1B cmp r3, 1Bh 08E4F316 D001 beq 8E4F31Ch 08E4F318 2B1C cmp r3, 1Ch 08E4F31A D100 bne 8E4F31Eh 08E4F31C 2123 mov r1, 23h 08E4F31E BC08 pop r3 08E4F320 2004 mov r0, 4h 08E4F322 4003 and r3, r0 08E4F324 4807 ldr r0, [pc, 1Ch] ;[00E4F344]=0x08377C92(137854098) 08E4F326 4687 mov pc, r0 08E4F328 FFFFFFFF bl 8F4F2DAh 08E4F32C FFFFFFFF bl 8F4F2DAh 08E4F330 FFFFFFFF bl 8F4F2DAh 08E4F334 FFFFFFFF bl 8F4F2DAh 08E4F338 FFFFFFFF bl 8F4F2DAh 08E4F33C FFFFFFFF bl 8F4F2DAh 08E4F340 4DF0 ldr r5, [pc, 3C0h] ;[00E4F704]=0x0F3F073F(255788863) 08E4F342 0300 lsl r0, r0, Ch 08E4F344 7C92 ldrb r2, [r2, 12h] 08E4F346 0837 lsr r7, r6, 0 08E4F348 FFFFFFFF bl 8F4F2DAh 08E4F34C FFFFFFFF bl 8F4F2DAh
08016E88 4800 ldr r0, [pc, 0h] ;[00016E8C]=0x08E4F350(149222224) 08016E8A 4687 mov pc, r0 08016E8C F350 [???] 08016E8E 08E4 lsr r4, r4, 3h 08016E90 282E cmp r0, 2Eh
08E4F350 480B ldr r0, [pc, 2Ch] ;[00E4F380]=0x0885E068(142991464) 08E4F352 1809 add r1, r1, r0 08E4F354 7E48 ldrb r0, [r1, 19h] 08E4F356 2822 cmp r0, 22h 08E4F358 D108 bne 8E4F36Ch 08E4F35A B480 push r7 08E4F35C 6877 ldr r7, [r6, 4h] 08E4F35E 793F ldrb r7, [r7, 4h] 08E4F360 2F1B cmp r7, 1Bh 08E4F362 D001 beq 8E4F368h 08E4F364 2F1C cmp r7, 1Ch 08E4F366 D100 bne 8E4F36Ah 08E4F368 2023 mov r0, 23h 08E4F36A BC80 pop r7 08E4F36C 3811 sub r0, 11h 08E4F36E 4905 ldr r1, [pc, 14h] ;[00E4F384]=0x08016E90(134311568) 08E4F370 468F mov pc, r1 08E4F372 FFFFFFFF bl 8F4F2DAh 08E4F376 FFFFFFFF bl 8F4F2DAh 08E4F37A FFFFFFFF bl 8F4F2DAh 08E4F37E FFFF [???] 08E4F380 E068 b 8E4F454h 08E4F382 0885 lsr r5, r0, 2h 08E4F384 6E90 ldr r0, [r2, 68h] 08E4F386 0801 lsr r1, r0, 0 08E4F388 FFFFFFFF bl 8F4F2DAh 08E4F38C FFFFFFFF bl 8F4F2DAh 08E4F390 FFFFFFFF bl 8F4F2DAh
|
|
[135 楼]
|
Posted:2009-07-20 20:26| |
顶端
| |