Difference between revisions of "000e72a0 - 000e7678"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 000e72a0: 34020047 ori r2,r0,0x0047 000e72a4: 108200d2 beq r4,r2,0x000e75f0 000e72a8: 27bdffc0 addiu r29,r29,0xffc0 000e72ac: 28820048 slti r2,r4,0x0048 000e72b0: 1040000...")
 
m
 
Line 1: Line 1:
 
  000e72a0: 34020047 ori r2,r0,0x0047
 
  000e72a0: 34020047 ori r2,r0,0x0047
  000e72a4: 108200d2 beq r4,r2,0x000e75f0
+
  000e72a4: 108200d2 beq r4,r2,0x000e75f0 #branch if ability ID = 0x47 (silf)
 
  000e72a8: 27bdffc0 addiu r29,r29,0xffc0
 
  000e72a8: 27bdffc0 addiu r29,r29,0xffc0
 
  000e72ac: 28820048 slti r2,r4,0x0048
 
  000e72ac: 28820048 slti r2,r4,0x0048
  000e72b0: 10400005 beq r2,r0,0x000e72c8
+
  000e72b0: 10400005 beq r2,r0,0x000e72c8 #branch if ability ID > 0x48 (fairy)
 
  000e72b4: 34020046 ori r2,r0,0x0046
 
  000e72b4: 34020046 ori r2,r0,0x0046
  000e72b8: 108200a1 beq r4,r2,0x000e7540
+
  000e72b8: 108200a1 beq r4,r2,0x000e7540 #branch if ability ID = 0x46 (salamander)
 
  000e72bc: 00000000 nop
 
  000e72bc: 00000000 nop
 
  000e72c0: 08039d9c j 0x000e7670
 
  000e72c0: 08039d9c j 0x000e7670
 
  000e72c4: 00000000 nop
 
  000e72c4: 00000000 nop
  000e72c8: 34020094 ori r2,r0,0x0094
+
  000e72c8: 34020094 ori r2,r0,0x0094 #throw stone
  000e72cc: 148200e8 bne r4,r2,0x000e7670
+
  000e72cc: 148200e8 bne r4,r2,0x000e7670 #branch if not throw stone (holy shit, that's a lot of hardcoding)
 
  000e72d0: 00000000 nop
 
  000e72d0: 00000000 nop
 
  000e72d4: 3c02800f lui r2,0x800f
 
  000e72d4: 3c02800f lui r2,0x800f
Line 167: Line 167:
 
  000e7538: 08039d9c j 0x000e7670
 
  000e7538: 08039d9c j 0x000e7670
 
  000e753c: 00000000 nop
 
  000e753c: 00000000 nop
  000e7540: 3c02800f lui r2,0x800f
+
  000e7540: 3c02800f lui r2,0x800f #if ability ID = silf or salamander
 
  000e7544: 8c425b64 lw r2,0x5b64(r2)
 
  000e7544: 8c425b64 lw r2,0x5b64(r2)
 
  000e7548: 00000000 nop
 
  000e7548: 00000000 nop

Latest revision as of 06:47, 26 September 2022

000e72a0: 34020047 ori r2,r0,0x0047
000e72a4: 108200d2 beq r4,r2,0x000e75f0			#branch if ability ID = 0x47 (silf)
000e72a8: 27bdffc0 addiu r29,r29,0xffc0
000e72ac: 28820048 slti r2,r4,0x0048
000e72b0: 10400005 beq r2,r0,0x000e72c8			#branch if ability ID > 0x48 (fairy)
000e72b4: 34020046 ori r2,r0,0x0046
000e72b8: 108200a1 beq r4,r2,0x000e7540			#branch if ability ID = 0x46 (salamander)
000e72bc: 00000000 nop
000e72c0: 08039d9c j 0x000e7670
000e72c4: 00000000 nop
000e72c8: 34020094 ori r2,r0,0x0094				#throw stone
000e72cc: 148200e8 bne r4,r2,0x000e7670			#branch if not throw stone (holy shit, that's a lot of hardcoding)
000e72d0: 00000000 nop
000e72d4: 3c02800f lui r2,0x800f
000e72d8: 8c425b64 lw r2,0x5b64(r2)
000e72dc: 00000000 nop
000e72e0: 1840003f blez r2,0x000e73e0
000e72e4: 00002821 addu r5,r0,r0
000e72e8: 3c06800f lui r6,0x800f
000e72ec: 24c66854 addiu r6,r6,0x6854
000e72f0: 00002021 addu r4,r0,r0
000e72f4: 00003821 addu r7,r0,r0
000e72f8: 3c018012 lui r1,0x8012
000e72fc: 00270821 addu r1,r1,r7
000e7300: 8422a2e6 lh r2,-0x5d1a(r1)
000e7304: 00000000 nop
000e7308: 30428000 andi r2,r2,0x8000
000e730c: 1440002e bne r2,r0,0x000e73c8
000e7310: 24e70018 addiu r7,r7,0x0018
000e7314: 3c028012 lui r2,0x8012
000e7318: 8c42a2d4 lw r2,-0x5d2c(r2)
000e731c: 90c30000 lbu r3,0x0000(r6)
000e7320: 00821021 addu r2,r4,r2
000e7324: a0430004 sb r3,0x0004(r2)
000e7328: 3c028012 lui r2,0x8012
000e732c: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7330: 90c30001 lbu r3,0x0001(r6)
000e7334: 00821021 addu r2,r4,r2
000e7338: a0430005 sb r3,0x0005(r2)
000e733c: 3c028012 lui r2,0x8012
000e7340: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7344: 90c30002 lbu r3,0x0002(r6)
000e7348: 00821021 addu r2,r4,r2
000e734c: a0430006 sb r3,0x0006(r2)
000e7350: 3c028012 lui r2,0x8012
000e7354: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7358: 90c30000 lbu r3,0x0000(r6)
000e735c: 00821021 addu r2,r4,r2
000e7360: a0430010 sb r3,0x0010(r2)
000e7364: 3c028012 lui r2,0x8012
000e7368: 8c42a2d4 lw r2,-0x5d2c(r2)
000e736c: 90c30001 lbu r3,0x0001(r6)
000e7370: 00821021 addu r2,r4,r2
000e7374: a0430011 sb r3,0x0011(r2)
000e7378: 3c028012 lui r2,0x8012
000e737c: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7380: 90c30002 lbu r3,0x0002(r6)
000e7384: 00821021 addu r2,r4,r2
000e7388: a0430012 sb r3,0x0012(r2)
000e738c: 3c028012 lui r2,0x8012
000e7390: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7394: 90c30000 lbu r3,0x0000(r6)
000e7398: 00821021 addu r2,r4,r2
000e739c: a043001c sb r3,0x001c(r2)
000e73a0: 3c028012 lui r2,0x8012
000e73a4: 8c42a2d4 lw r2,-0x5d2c(r2)
000e73a8: 90c30001 lbu r3,0x0001(r6)
000e73ac: 00821021 addu r2,r4,r2
000e73b0: a043001d sb r3,0x001d(r2)
000e73b4: 3c028012 lui r2,0x8012
000e73b8: 8c42a2d4 lw r2,-0x5d2c(r2)
000e73bc: 90c30002 lbu r3,0x0002(r6)
000e73c0: 00821021 addu r2,r4,r2
000e73c4: a043001e sb r3,0x001e(r2)
000e73c8: 3c02800f lui r2,0x800f
000e73cc: 8c425b64 lw r2,0x5b64(r2)
000e73d0: 24a50001 addiu r5,r5,0x0001
000e73d4: 00a2102a slt r2,r5,r2
000e73d8: 1440ffc7 bne r2,r0,0x000e72f8
000e73dc: 24840028 addiu r4,r4,0x0028
000e73e0: 3c02800f lui r2,0x800f
000e73e4: 8c425b68 lw r2,0x5b68(r2)
000e73e8: 00000000 nop
000e73ec: 1840004e blez r2,0x000e7528
000e73f0: 00002821 addu r5,r0,r0
000e73f4: 3c06800f lui r6,0x800f
000e73f8: 24c66854 addiu r6,r6,0x6854
000e73fc: 00002021 addu r4,r0,r0
000e7400: 00003821 addu r7,r0,r0
000e7404: 3c018012 lui r1,0x8012
000e7408: 00270821 addu r1,r1,r7
000e740c: 8422c4a6 lh r2,-0x3b5a(r1)
000e7410: 00000000 nop
000e7414: 30428000 andi r2,r2,0x8000
000e7418: 1440003d bne r2,r0,0x000e7510
000e741c: 24e70020 addiu r7,r7,0x0020
000e7420: 3c028012 lui r2,0x8012
000e7424: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7428: 90c30000 lbu r3,0x0000(r6)
000e742c: 00821021 addu r2,r4,r2
000e7430: a0433844 sb r3,0x3844(r2)
000e7434: 3c028012 lui r2,0x8012
000e7438: 8c42a2d4 lw r2,-0x5d2c(r2)
000e743c: 90c30001 lbu r3,0x0001(r6)
000e7440: 00821021 addu r2,r4,r2
000e7444: a0433845 sb r3,0x3845(r2)
000e7448: 3c028012 lui r2,0x8012
000e744c: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7450: 90c30002 lbu r3,0x0002(r6)
000e7454: 00821021 addu r2,r4,r2
000e7458: a0433846 sb r3,0x3846(r2)
000e745c: 3c028012 lui r2,0x8012
000e7460: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7464: 90c30000 lbu r3,0x0000(r6)
000e7468: 00821021 addu r2,r4,r2
000e746c: a0433850 sb r3,0x3850(r2)
000e7470: 3c028012 lui r2,0x8012
000e7474: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7478: 90c30001 lbu r3,0x0001(r6)
000e747c: 00821021 addu r2,r4,r2
000e7480: a0433851 sb r3,0x3851(r2)
000e7484: 3c028012 lui r2,0x8012
000e7488: 8c42a2d4 lw r2,-0x5d2c(r2)
000e748c: 90c30002 lbu r3,0x0002(r6)
000e7490: 00821021 addu r2,r4,r2
000e7494: a0433852 sb r3,0x3852(r2)
000e7498: 3c028012 lui r2,0x8012 
000e749c: 8c42a2d4 lw r2,-0x5d2c(r2)
000e74a0: 90c30000 lbu r3,0x0000(r6)
000e74a4: 00821021 addu r2,r4,r2
000e74a8: a043385c sb r3,0x385c(r2)
000e74ac: 3c028012 lui r2,0x8012
000e74b0: 8c42a2d4 lw r2,-0x5d2c(r2)
000e74b4: 90c30001 lbu r3,0x0001(r6)
000e74b8: 00821021 addu r2,r4,r2
000e74bc: a043385d sb r3,0x385d(r2)
000e74c0: 3c028012 lui r2,0x8012
000e74c4: 8c42a2d4 lw r2,-0x5d2c(r2)
000e74c8: 90c30002 lbu r3,0x0002(r6)
000e74cc: 00821021 addu r2,r4,r2
000e74d0: a043385e sb r3,0x385e(r2)
000e74d4: 3c028012 lui r2,0x8012
000e74d8: 8c42a2d4 lw r2,-0x5d2c(r2)
000e74dc: 90c30000 lbu r3,0x0000(r6)
000e74e0: 00821021 addu r2,r4,r2
000e74e4: a0433868 sb r3,0x3868(r2)
000e74e8: 3c028012 lui r2,0x8012
000e74ec: 8c42a2d4 lw r2,-0x5d2c(r2)
000e74f0: 90c30001 lbu r3,0x0001(r6)
000e74f4: 00821021 addu r2,r4,r2
000e74f8: a0433869 sb r3,0x3869(r2)
000e74fc: 3c028012 lui r2,0x8012
000e7500: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7504: 90c30002 lbu r3,0x0002(r6)
000e7508: 00821021 addu r2,r4,r2
000e750c: a043386a sb r3,0x386a(r2)
000e7510: 3c02800f lui r2,0x800f
000e7514: 8c425b68 lw r2,0x5b68(r2)
000e7518: 24a50001 addiu r5,r5,0x0001
000e751c: 00a2102a slt r2,r5,r2
000e7520: 1440ffb8 bne r2,r0,0x000e7404
000e7524: 24840034 addiu r4,r4,0x0034
000e7528: 3c028012 lui r2,0x8012
000e752c: 8c42a2d4 lw r2,-0x5d2c(r2)
000e7530: 3c01800f lui r1,0x800f
000e7534: ac225b5c sw r2,0x5b5c(r1)
000e7538: 08039d9c j 0x000e7670
000e753c: 00000000 nop
000e7540: 3c02800f lui r2,0x800f			#if ability ID = silf or salamander
000e7544: 8c425b64 lw r2,0x5b64(r2)
000e7548: 00000000 nop
000e754c: 18400011 blez r2,0x000e7594
000e7550: 00002821 addu r5,r0,r0
000e7554: 2407fffe addiu r7,r0,0xfffe
000e7558: 00403021 addu r6,r2,r0
000e755c: 3c048012 lui r4,0x8012
000e7560: 2484a2e6 addiu r4,r4,0xa2e6
000e7564: 84820000 lh r2,0x0000(r4)
000e7568: 00000000 nop
000e756c: 00401821 addu r3,r2,r0
000e7570: 30428000 andi r2,r2,0x8000
000e7574: 14400002 bne r2,r0,0x000e7580
000e7578: 34620001 ori r2,r3,0x0001
000e757c: 00671024 and r2,r3,r7
000e7580: a4820000 sh r2,0x0000(r4)
000e7584: 24a50001 addiu r5,r5,0x0001
000e7588: 00a6102a slt r2,r5,r6
000e758c: 1440fff5 bne r2,r0,0x000e7564
000e7590: 24840018 addiu r4,r4,0x0018
000e7594: 3c02800f lui r2,0x800f
000e7598: 8c425b68 lw r2,0x5b68(r2)
000e759c: 00000000 nop
000e75a0: 18400033 blez r2,0x000e7670
000e75a4: 00002821 addu r5,r0,r0
000e75a8: 2407fffe addiu r7,r0,0xfffe
000e75ac: 00403021 addu r6,r2,r0
000e75b0: 3c048012 lui r4,0x8012
000e75b4: 2484c4a6 addiu r4,r4,0xc4a6
000e75b8: 84820000 lh r2,0x0000(r4)
000e75bc: 00000000 nop
000e75c0: 00401821 addu r3,r2,r0
000e75c4: 30428000 andi r2,r2,0x8000
000e75c8: 14400002 bne r2,r0,0x000e75d4
000e75cc: 34620001 ori r2,r3,0x0001
000e75d0: 00671024 and r2,r3,r7
000e75d4: a4820000 sh r2,0x0000(r4)
000e75d8: 24a50001 addiu r5,r5,0x0001
000e75dc: 00a6102a slt r2,r5,r6
000e75e0: 1440fff5 bne r2,r0,0x000e75b8
000e75e4: 24840020 addiu r4,r4,0x0020
000e75e8: 08039d9c j 0x000e7670
000e75ec: 00000000 nop
000e75f0: 3c04800f lui r4,0x800f
000e75f4: 8c845b64 lw r4,0x5b64(r4)
000e75f8: 00000000 nop
000e75fc: 1880000b blez r4,0x000e762c
000e7600: 00002821 addu r5,r0,r0
000e7604: 2406fffe addiu r6,r0,0xfffe
000e7608: 3c038012 lui r3,0x8012
000e760c: 2463a2e6 addiu r3,r3,0xa2e6
000e7610: 94620000 lhu r2,0x0000(r3)
000e7614: 24a50001 addiu r5,r5,0x0001
000e7618: 00461024 and r2,r2,r6
000e761c: a4620000 sh r2,0x0000(r3)
000e7620: 00a4102a slt r2,r5,r4
000e7624: 1440fffa bne r2,r0,0x000e7610
000e7628: 24630018 addiu r3,r3,0x0018
000e762c: 3c04800f lui r4,0x800f
000e7630: 8c845b68 lw r4,0x5b68(r4)
000e7634: 00000000 nop
000e7638: 1880000b blez r4,0x000e7668
000e763c: 00002821 addu r5,r0,r0
000e7640: 2406fffe addiu r6,r0,0xfffe
000e7644: 3c038012 lui r3,0x8012
000e7648: 2463c4a6 addiu r3,r3,0xc4a6
000e764c: 94620000 lhu r2,0x0000(r3)
000e7650: 24a50001 addiu r5,r5,0x0001
000e7654: 00461024 and r2,r2,r6
000e7658: a4620000 sh r2,0x0000(r3)
000e765c: 00a4102a slt r2,r5,r4
000e7660: 1440fffa bne r2,r0,0x000e764c
000e7664: 24630020 addiu r3,r3,0x0020
000e7668: 3c01800f lui r1,0x800f
000e766c: a0205c50 sb r0,0x5c50(r1)
000e7670: 27bd0040 addiu r29,r29,0x0040
000e7674: 03e00008 jr r31
000e7678: 00000000 nop