Difference between revisions of "000694d8 - 00069740"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 000694d8: 27bdffa0 addiu r29,r29,0xffa0 000694dc: afb20040 sw r18,0x0040(r29) 000694e0: 00809021 addu r18,r4,r0 000694e4: afbe0058 sw r30,0x005...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<font face='Courier New'>
 
 
 
  000694d8: 27bdffa0 addiu r29,r29,0xffa0
 
  000694d8: 27bdffa0 addiu r29,r29,0xffa0
 
  000694dc: afb20040 sw r18,0x0040(r29)
 
  000694dc: afb20040 sw r18,0x0040(r29)
Line 18: Line 16:
 
  00069514: 9245007d lbu r5,0x007d(r18)
 
  00069514: 9245007d lbu r5,0x007d(r18)
 
  00069518: 9246007e lbu r6,0x007e(r18)
 
  00069518: 9246007e lbu r6,0x007e(r18)
  0006951c: 0c060fed jal 0x00183fb4
+
  0006951c: 0c060fed jal 0x00183fb4 [[Get Tile Data Pointer]] | [[Deals with map coordinates 1]]
 
  00069520: 00000000 nop
 
  00069520: 00000000 nop
 
  00069524: 9251007c lbu r17,0x007c(r18)
 
  00069524: 9251007c lbu r17,0x007c(r18)
Line 105: Line 103:
 
  00069670: 02003021 addu r6,r16,r0
 
  00069670: 02003021 addu r6,r16,r0
 
  00069674: 00073942 srl r7,r7,0x05
 
  00069674: 00073942 srl r7,r7,0x05
  00069678: 0c01a4fd jal 0x000693f4
+
  00069678: 0c01a4fd jal 0x000693f4 000693f4 - 000694d4
 
  0006967c: 30e70001 andi r7,r7,0x0001
 
  0006967c: 30e70001 andi r7,r7,0x0001
 
  00069680: 0040b021 addu r22,r2,r0
 
  00069680: 0040b021 addu r22,r2,r0
Line 124: Line 122:
 
  000696bc: afa20018 sw r2,0x0018(r29)
 
  000696bc: afa20018 sw r2,0x0018(r29)
 
  000696c0: 02d71023 subu r2,r22,r23
 
  000696c0: 02d71023 subu r2,r22,r23
  000696c4: 0c00701a jal 0x0001c068
+
  000696c4: 0c00701a jal 0x0001c068 0001c04c - 0001c090 ???
 
  000696c8: afa20014 sw r2,0x0014(r29)
 
  000696c8: afa20014 sw r2,0x0014(r29)
 
  000696cc: 8e420028 lw r2,0x0028(r18)
 
  000696cc: 8e420028 lw r2,0x0028(r18)
Line 156: Line 154:
 
  0006973c: 03e00008 jr r31
 
  0006973c: 03e00008 jr r31
 
  00069740: 00000000 nop
 
  00069740: 00000000 nop
</font>
+
 
 +
==Return locations==
 +
'''Battle.bin'''
 +
0006a1c8: [[0006a080 - 0006a208]]
 +
0006b818: [[0006af7c - 0006b95c]]
 +
 
 +
==< [[BATTLE.BIN Routines]]==
 +
<div style="float:left;">< [[000693f4 - 000694d4]]</div><div style="float:right;">[[00069744 - 000699f0]] ></div>

Latest revision as of 13:26, 8 April 2023

000694d8: 27bdffa0 addiu r29,r29,0xffa0
000694dc: afb20040 sw r18,0x0040(r29)
000694e0: 00809021 addu r18,r4,r0
000694e4: afbe0058 sw r30,0x0058(r29)
000694e8: 00a0f021 addu r30,r5,r0
000694ec: afbf005c sw r31,0x005c(r29)
000694f0: afb70054 sw r23,0x0054(r29)
000694f4: afb60050 sw r22,0x0050(r29)
000694f8: afb5004c sw r21,0x004c(r29)
000694fc: afb40048 sw r20,0x0048(r29)
00069500: afb30044 sw r19,0x0044(r29)
00069504: afb1003c sw r17,0x003c(r29)
00069508: afb00038 sw r16,0x0038(r29)
0006950c: afa60020 sw r6,0x0020(r29)
00069510: 9244007c lbu r4,0x007c(r18)
00069514: 9245007d lbu r5,0x007d(r18)
00069518: 9246007e lbu r6,0x007e(r18)
0006951c: 0c060fed jal 0x00183fb4		Get Tile Data Pointer | Deals with map coordinates 1
00069520: 00000000 nop
00069524: 9251007c lbu r17,0x007c(r18)
00069528: 9250007d lbu r16,0x007d(r18)
0006952c: 8e430098 lw r3,0x0098(r18)
00069530: 93c20000 lbu r2,0x0000(r30)
00069534: 86480040 lh r8,0x0040(r18)
00069538: 2475ffff addiu r21,r3,0xffff
0006953c: afa80028 sw r8,0x0028(r29)
00069540: 86480044 lh r8,0x0044(r18)
00069544: 02a2102a slt r2,r21,r2
00069548: afa80030 sw r8,0x0030(r29)
0006954c: 86570042 lh r23,0x0042(r18)
00069550: 10400053 beq r2,r0,0x000696a0
00069554: 26a20001 addiu r2,r21,0x0001
00069558: 03c23021 addu r6,r30,r2
0006955c: 8fa80020 lw r8,0x0020(r29)
00069560: 90c30000 lbu r3,0x0000(r6)
00069564: 91020000 lbu r2,0x0000(r8)
00069568: 306300c0 andi r3,r3,0x00c0
0006956c: 304200c0 andi r2,r2,0x00c0
00069570: 1462004b bne r3,r2,0x000696a0
00069574: 34020001 ori r2,r0,0x0001
00069578: 90c40000 lbu r4,0x0000(r6)
0006957c: 00000000 nop
00069580: 00041982 srl r3,r4,0x06
00069584: 10620015 beq r3,r2,0x000695dc
00069588: 28620002 slti r2,r3,0x0002
0006958c: 10400005 beq r2,r0,0x000695a4
00069590: 00000000 nop
00069594: 1060000a beq r3,r0,0x000695c0
00069598: 26230001 addiu r3,r17,0x0001
0006959c: 0801a59a j 0x00069668
000695a0: 02e02021 addu r4,r23,r0
000695a4: 34020002 ori r2,r0,0x0002
000695a8: 10620018 beq r3,r2,0x0006960c
000695ac: 34020003 ori r2,r0,0x0003
000695b0: 10620022 beq r3,r2,0x0006963c
000695b4: 26030001 addiu r3,r16,0x0001
000695b8: 0801a59a j 0x00069668
000695bc: 02e02021 addu r4,r23,r0
000695c0: 30820003 andi r2,r4,0x0003
000695c4: 00628821 addu r17,r3,r2
000695c8: 001110c0 sll r2,r17,0x03
000695cc: 00511023 subu r2,r2,r17
000695d0: 00021080 sll r2,r2,0x02
000695d4: 0801a57e j 0x000695f8
000695d8: 2454fff9 addiu r20,r2,0xfff9
000695dc: 2623ffff addiu r3,r17,0xffff
000695e0: 30820003 andi r2,r4,0x0003
000695e4: 00628823 subu r17,r3,r2
000695e8: 001110c0 sll r2,r17,0x03
000695ec: 00511023 subu r2,r2,r17
000695f0: 00021080 sll r2,r2,0x02
000695f4: 24540023 addiu r20,r2,0x0023
000695f8: 001010c0 sll r2,r16,0x03
000695fc: 00501023 subu r2,r2,r16
00069600: 00021080 sll r2,r2,0x02
00069604: 0801a599 j 0x00069664
00069608: 2453000e addiu r19,r2,0x000e
0006960c: 2603ffff addiu r3,r16,0xffff
00069610: 30820003 andi r2,r4,0x0003
00069614: 00628023 subu r16,r3,r2
00069618: 001110c0 sll r2,r17,0x03
0006961c: 00511023 subu r2,r2,r17
00069620: 00021080 sll r2,r2,0x02
00069624: 2454000e addiu r20,r2,0x000e
00069628: 001010c0 sll r2,r16,0x03
0006962c: 00501023 subu r2,r2,r16
00069630: 00021080 sll r2,r2,0x02
00069634: 0801a599 j 0x00069664
00069638: 24530023 addiu r19,r2,0x0023
0006963c: 30820003 andi r2,r4,0x0003
00069640: 00628021 addu r16,r3,r2
00069644: 001110c0 sll r2,r17,0x03
00069648: 00511023 subu r2,r2,r17
0006964c: 00021080 sll r2,r2,0x02
00069650: 2454000e addiu r20,r2,0x000e
00069654: 001010c0 sll r2,r16,0x03
00069658: 00501023 subu r2,r2,r16
0006965c: 00021080 sll r2,r2,0x02
00069660: 2453fff9 addiu r19,r2,0xfff9
00069664: 02e02021 addu r4,r23,r0
00069668: 02202821 addu r5,r17,r0
0006966c: 90c70000 lbu r7,0x0000(r6)
00069670: 02003021 addu r6,r16,r0
00069674: 00073942 srl r7,r7,0x05
00069678: 0c01a4fd jal 0x000693f4		000693f4 - 000694d4
0006967c: 30e70001 andi r7,r7,0x0001
00069680: 0040b021 addu r22,r2,r0
00069684: 16d70006 bne r22,r23,0x000696a0
00069688: 00000000 nop
0006968c: 93c20000 lbu r2,0x0000(r30)
00069690: 26b50001 addiu r21,r21,0x0001
00069694: 02a2102a slt r2,r21,r2
00069698: 1440ffaf bne r2,r0,0x00069558
0006969c: 26a20001 addiu r2,r21,0x0001
000696a0: 8fa80028 lw r8,0x0028(r29)
000696a4: 27a40010 addiu r4,r29,0x0010
000696a8: 02881023 subu r2,r20,r8
000696ac: 8fa80030 lw r8,0x0030(r29)
000696b0: 26450028 addiu r5,r18,0x0028
000696b4: afa20010 sw r2,0x0010(r29)
000696b8: 02681023 subu r2,r19,r8
000696bc: afa20018 sw r2,0x0018(r29)
000696c0: 02d71023 subu r2,r22,r23
000696c4: 0c00701a jal 0x0001c068		0001c04c - 0001c090 ???
000696c8: afa20014 sw r2,0x0014(r29)
000696cc: 8e420028 lw r2,0x0028(r18)
000696d0: 3c038004 lui r3,0x8004
000696d4: 8c635980 lw r3,0x5980(r3)
000696d8: 00000000 nop
000696dc: 00430018 mult r2,r3
000696e0: 00002812 mflo r5
000696e4: 8e42002c lw r2,0x002c(r18)
000696e8: 00000000 nop
000696ec: 00430018 mult r2,r3
000696f0: 00002012 mflo r4
000696f4: 8e420030 lw r2,0x0030(r18)
000696f8: 00000000 nop
000696fc: 00430018 mult r2,r3
00069700: ae450028 sw r5,0x0028(r18)
00069704: ae44002c sw r4,0x002c(r18)
00069708: 00001012 mflo r2
0006970c: ae420030 sw r2,0x0030(r18)
00069710: 8fbf005c lw r31,0x005c(r29)
00069714: 8fbe0058 lw r30,0x0058(r29)
00069718: 8fb70054 lw r23,0x0054(r29)
0006971c: 8fb60050 lw r22,0x0050(r29)
00069720: 8fb5004c lw r21,0x004c(r29)
00069724: 8fb40048 lw r20,0x0048(r29)
00069728: 8fb30044 lw r19,0x0044(r29)
0006972c: 8fb20040 lw r18,0x0040(r29)
00069730: 8fb1003c lw r17,0x003c(r29)
00069734: 8fb00038 lw r16,0x0038(r29)
00069738: 27bd0060 addiu r29,r29,0x0060
0006973c: 03e00008 jr r31
00069740: 00000000 nop

Return locations

Battle.bin
0006a1c8: 0006a080 - 0006a208
0006b818: 0006af7c - 0006b95c

< BATTLE.BIN Routines

< 000693f4 - 000694d4
00069744 - 000699f0 >