00069744 - 000699f0

From Final Fantasy Hacktics Wiki
Revision as of 13:26, 8 April 2023 by WKW (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
00069744: 27bdffa0 addiu r29,r29,0xffa0
00069748: afb20040 sw r18,0x0040(r29)
0006974c: 00809021 addu r18,r4,r0
00069750: afb70054 sw r23,0x0054(r29)
00069754: 00a0b821 addu r23,r5,r0
00069758: afbf005c sw r31,0x005c(r29)
0006975c: afbe0058 sw r30,0x0058(r29)
00069760: afb60050 sw r22,0x0050(r29)
00069764: afb5004c sw r21,0x004c(r29)
00069768: afb40048 sw r20,0x0048(r29)
0006976c: afb30044 sw r19,0x0044(r29)
00069770: afb1003c sw r17,0x003c(r29)
00069774: afb00038 sw r16,0x0038(r29)
00069778: afa60020 sw r6,0x0020(r29)
0006977c: 9244007c lbu r4,0x007c(r18)
00069780: 9245007d lbu r5,0x007d(r18)
00069784: 9246007e lbu r6,0x007e(r18)
00069788: 0c060fed jal 0x00183fb4		Get Tile Data Pointer | Deals with map coordinates 1
0006978c: 00000000 nop
00069790: 9251007c lbu r17,0x007c(r18)
00069794: 9250007d lbu r16,0x007d(r18)
00069798: 8e430098 lw r3,0x0098(r18)
0006979c: 92e20000 lbu r2,0x0000(r23)
000697a0: 86480040 lh r8,0x0040(r18)
000697a4: 2476ffff addiu r22,r3,0xffff
000697a8: afa80028 sw r8,0x0028(r29)
000697ac: 86480044 lh r8,0x0044(r18)
000697b0: 02c2102a slt r2,r22,r2
000697b4: afa80030 sw r8,0x0030(r29)
000697b8: 865e0042 lh r30,0x0042(r18)
000697bc: 10400064 beq r2,r0,0x00069950
000697c0: 26c20001 addiu r2,r22,0x0001
000697c4: 02e22821 addu r5,r23,r2
000697c8: 8fa80020 lw r8,0x0020(r29)
000697cc: 90a30000 lbu r3,0x0000(r5)
000697d0: 91020000 lbu r2,0x0000(r8)
000697d4: 306300c0 andi r3,r3,0x00c0
000697d8: 304200c0 andi r2,r2,0x00c0
000697dc: 1462005c bne r3,r2,0x00069950
000697e0: 34020001 ori r2,r0,0x0001
000697e4: 90a40000 lbu r4,0x0000(r5)
000697e8: 00000000 nop
000697ec: 00041982 srl r3,r4,0x06
000697f0: 10620015 beq r3,r2,0x00069848
000697f4: 28620002 slti r2,r3,0x0002
000697f8: 10400005 beq r2,r0,0x00069810
000697fc: 00000000 nop
00069800: 1060000a beq r3,r0,0x0006982c
00069804: 26230001 addiu r3,r17,0x0001
00069808: 0801a632 j 0x000698c8
0006980c: 00000000 nop
00069810: 34020002 ori r2,r0,0x0002
00069814: 10620017 beq r3,r2,0x00069874
00069818: 34020003 ori r2,r0,0x0003
0006981c: 10620020 beq r3,r2,0x000698a0
00069820: 26030001 addiu r3,r16,0x0001
00069824: 0801a632 j 0x000698c8
00069828: 00000000 nop
0006982c: 30820003 andi r2,r4,0x0003
00069830: 00628821 addu r17,r3,r2
00069834: 001110c0 sll r2,r17,0x03
00069838: 00511023 subu r2,r2,r17
0006983c: 00021080 sll r2,r2,0x02
00069840: 0801a618 j 0x00069860
00069844: 2455001c addiu r21,r2,0x001c
00069848: 2623ffff addiu r3,r17,0xffff
0006984c: 30820003 andi r2,r4,0x0003
00069850: 00628823 subu r17,r3,r2
00069854: 001110c0 sll r2,r17,0x03
00069858: 00511023 subu r2,r2,r17
0006985c: 0002a880 sll r21,r2,0x02
00069860: 001010c0 sll r2,r16,0x03
00069864: 00501023 subu r2,r2,r16
00069868: 00021080 sll r2,r2,0x02
0006986c: 0801a632 j 0x000698c8
00069870: 2454000e addiu r20,r2,0x000e
00069874: 2603ffff addiu r3,r16,0xffff
00069878: 30820003 andi r2,r4,0x0003
0006987c: 00628023 subu r16,r3,r2
00069880: 001110c0 sll r2,r17,0x03
00069884: 00511023 subu r2,r2,r17
00069888: 00021080 sll r2,r2,0x02
0006988c: 2455000e addiu r21,r2,0x000e
00069890: 001010c0 sll r2,r16,0x03
00069894: 00501023 subu r2,r2,r16
00069898: 0801a632 j 0x000698c8
0006989c: 0002a080 sll r20,r2,0x02
000698a0: 30820003 andi r2,r4,0x0003
000698a4: 00628021 addu r16,r3,r2
000698a8: 001110c0 sll r2,r17,0x03
000698ac: 00511023 subu r2,r2,r17
000698b0: 00021080 sll r2,r2,0x02
000698b4: 2455000e addiu r21,r2,0x000e
000698b8: 001010c0 sll r2,r16,0x03
000698bc: 00501023 subu r2,r2,r16
000698c0: 00021080 sll r2,r2,0x02
000698c4: 2454001c addiu r20,r2,0x001c
000698c8: 90a20000 lbu r2,0x0000(r5)
000698cc: 92e40000 lbu r4,0x0000(r23)
000698d0: 8e430098 lw r3,0x0098(r18)
000698d4: 00021142 srl r2,r2,0x05
000698d8: 14640011 bne r3,r4,0x00069920
000698dc: 30470001 andi r7,r2,0x0001
000698e0: 02202021 addu r4,r17,r0
000698e4: 02002821 addu r5,r16,r0
000698e8: 0c060fed jal 0x00183fb4		Get Tile Data Pointer | Deals with map coordinates 1
000698ec: 00e03021 addu r6,r7,r0
000698f0: 90440003 lbu r4,0x0003(r2)
000698f4: 90430002 lbu r3,0x0002(r2)
000698f8: 00041142 srl r2,r4,0x05
000698fc: 00621821 addu r3,r3,r2
00069900: 00031840 sll r3,r3,0x01
00069904: 3084001f andi r4,r4,0x001f
00069908: 00641821 addu r3,r3,r4
0006990c: 00031823 subu r3,r0,r3
00069910: 00031040 sll r2,r3,0x01
00069914: 00431021 addu r2,r2,r3
00069918: 0801a64d j 0x00069934
0006991c: 00029840 sll r19,r2,0x01
00069920: 03c02021 addu r4,r30,r0
00069924: 02202821 addu r5,r17,r0
00069928: 0c01a4fd jal 0x000693f4		000693f4 - 000694d4
0006992c: 02003021 addu r6,r16,r0
00069930: 00409821 addu r19,r2,r0
00069934: 167e0006 bne r19,r30,0x00069950
00069938: 00000000 nop
0006993c: 92e20000 lbu r2,0x0000(r23)
00069940: 26d60001 addiu r22,r22,0x0001
00069944: 02c2102a slt r2,r22,r2
00069948: 1440ff9e bne r2,r0,0x000697c4
0006994c: 26c20001 addiu r2,r22,0x0001
00069950: 8fa80028 lw r8,0x0028(r29)
00069954: 27a40010 addiu r4,r29,0x0010
00069958: 02a81023 subu r2,r21,r8
0006995c: 8fa80030 lw r8,0x0030(r29)
00069960: 26450028 addiu r5,r18,0x0028
00069964: afa20010 sw r2,0x0010(r29)
00069968: 02881023 subu r2,r20,r8
0006996c: afa20018 sw r2,0x0018(r29)
00069970: 027e1023 subu r2,r19,r30
00069974: 0c00701a jal 0x0001c068		0x1c068 in SCUS_942.21 ?
00069978: afa20014 sw r2,0x0014(r29)
0006997c: 8e420028 lw r2,0x0028(r18)
00069980: 3c038004 lui r3,0x8004
00069984: 8c635980 lw r3,0x5980(r3)
00069988: 00000000 nop
0006998c: 00430018 mult r2,r3
00069990: 00002812 mflo r5
00069994: 8e42002c lw r2,0x002c(r18)
00069998: 00000000 nop
0006999c: 00430018 mult r2,r3
000699a0: 00002012 mflo r4
000699a4: 8e420030 lw r2,0x0030(r18)
000699a8: 00000000 nop
000699ac: 00430018 mult r2,r3
000699b0: ae450028 sw r5,0x0028(r18)
000699b4: ae44002c sw r4,0x002c(r18)
000699b8: 00001012 mflo r2
000699bc: ae420030 sw r2,0x0030(r18)
000699c0: 8fbf005c lw r31,0x005c(r29)
000699c4: 8fbe0058 lw r30,0x0058(r29)
000699c8: 8fb70054 lw r23,0x0054(r29)
000699cc: 8fb60050 lw r22,0x0050(r29)
000699d0: 8fb5004c lw r21,0x004c(r29)
000699d4: 8fb40048 lw r20,0x0048(r29)
000699d8: 8fb30044 lw r19,0x0044(r29)
000699dc: 8fb20040 lw r18,0x0040(r29)
000699e0: 8fb1003c lw r17,0x003c(r29)
000699e4: 8fb00038 lw r16,0x0038(r29)
000699e8: 27bd0060 addiu r29,r29,0x0060
000699ec: 03e00008 jr r31
000699f0: 00000000 nop

Return locations

Battle.bin
0006b88c: 0006af7c - 0006b95c
0006d400: 0006d344 - 0006d430

< BATTLE.BIN Routines

< 000694d8 - 00069740
000699f4 - 00069af4 >