Hi,
This happened only with FFTPatcher or you use some ASM Hack too ?
This happened only with FFTPatcher or you use some ASM Hack too ?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
0018130c: 27bdffe8 addiu r29,r29,0xffe8
00181310: afb00010 sw r16,0x0010(r29)
00181314: 00808021 addu r16,r4,r0 r16 = Target's Data Pointer
00181318: afbf0014 sw r31,0x0014(r29)
0018131c: 9202005c lbu r2,0x005c(r16) Load 5th set of statuses
00181320: 00000000 nop
00181324: 30420004 andi r2,r2,0x0004
00181328: 14400020 bne r2,r0,0x001813ac Branch if Target has Don't Act
0018132c: 34020001 ori r2,r0,0x0001 r2 = 1
00181330: 92020182 lbu r2,0x0182(r16) Load Mount Info
00181334: 00000000 nop
00181338: 30420040 andi r2,r2,0x0040
0018133c: 1440001b bne r2,r0,0x001813ac Branch if Target is Being Ridden
00181340: 34020001 ori r2,r0,0x0001 r2 = 1
00181344: 0c060428 jal 0x001810a0 Map Location Calculation - (requires r4 = Target Data Pointer)
00181348: 02002021 addu r4,r16,r0
0018134c: 000210c0 sll r2,r2,0x03 Tile ID * 8
00181350: 3c018019 lui r1,0x8019
00181354: 00220821 addu r1,r1,r2
00181358: 9022f8cf lbu r2,-0x0731(r1) Load Height (halves) + Water Depth Flags
0018135c: 00000000 nop
00181360: 00021142 srl r2,r2,0x05 Remove Height aspect (leave Depth)
00181364: 28420002 slti r2,r2,0x0002
00181368: 14400010 bne r2,r0,0x001813ac Branch if Depth is less than 2
0018136c: 00001021 addu r2,r0,r0 r2 = 0
00181370: 9202005a lbu r2,0x005a(r16) Load Target's 3rd set of statuses
00181374: 00000000 nop
00181378: 30420046 andi r2,r2,0x0046
0018137c: 1440000b bne r2,r0,0x001813ac Branch if Target has Chicken/Frog/Float
00181380: 00001021 addu r2,r0,r0 r2 = 0
00181384: 92020095 lbu r2,0x0095(r16) Load Target's 3rd set of Movements
00181388: 00000000 nop
0018138c: 304200c8 andi r2,r2,0x00c8
00181390: 14400006 bne r2,r0,0x001813ac Branch if Target has Move in/Walk on Water/Float
00181394: 00001021 addu r2,r0,r0 r2 = 0
00181398: 92020182 lbu r2,0x0182(r16) Load Target's Chocobo/? Flags
0018139c: 00000000 nop
001813a0: 30420080 andi r2,r2,0x0080 Check for Riding Chocobo Flag
001813a4: 2c420001 sltiu r2,r2,0x0001 r2 = 1 if not riding a chocobo
001813a8: 00021040 sll r2,r2,0x01 r2 * 2
001813ac: 8fbf0014 lw r31,0x0014(r29)
001813b0: 8fb00010 lw r16,0x0010(r29)
001813b4: 27bd0018 addiu r29,r29,0x0018
001813b8: 03e00008 jr r31
001813bc: 00000000 nop
The routine returns r2 = 1 if you can't use weapon gaurd and r2 = 0 if you can0018bfa8: 8c422d98 lw r2,0x2d98(r2) Load Defender's Data
0018bfac: 34100001 ori r16,r0,0x0001
0018bfb0: 90430005 lbu r3,0x0005(r2) Load Defender's Team
0018bfb4: 9442002a lhu r2,0x002a(r2) Load Defender's Max HP
0018bfb8: 30630030 andi r3,r3,0x0030 enemy team check
0018bfbc: 000318c2 srl r3,r3,0x03
0018bfc0: 3c018019 lui r1,0x8019
0018bfc4: 00230821 addu r1,r1,r3
0018bfc8: a422f5f4 sh r2,-0x0a0c(r1) Store Team's Golem Amount?
001891d0: 3402007f ori r2,r0,0x007f
001891d4: 3c038019 lui r3,0x8019
001891d8: 8c632d90 lw r3,0x2d90(r3) r3 = target current action data pointer
001891dc: 00000000 nop
001891e0: a0620013 sb r2,0x0013(r3) Set target CT to -127.
001891e4: 3c038019 lui r3,0x8019
001891e8: 8c632d90 lw r3,0x2d90(r3)
001891ec: 34020001 ori r2,r0,0x0001
001891f0: a0620025 sb r2,0x0025(r3)
Page created in 0.018 seconds with 20 queries.