Difference between revisions of "00070ddc - 00070e20"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00070ddc: 27bdffe8 addiu r29,r29,0xffe8 00070de0: afbf0010 sw r31,0x0010(r29) 00070de4: 0c01c346 jal 0x00070d18 00070de8: 00000000 nop 00070de...")
 
(I'm cracking some sort of code here. what code it is yet, however, I don't know.)
 
Line 1: Line 1:
<font face='Courier New'>
+
<font face='Courier New'>  
+
EXP, JP routine?
 
  00070ddc: 27bdffe8 addiu r29,r29,0xffe8
 
  00070ddc: 27bdffe8 addiu r29,r29,0xffe8
 
  00070de0: afbf0010 sw r31,0x0010(r29)
 
  00070de0: afbf0010 sw r31,0x0010(r29)
  00070de4: 0c01c346 jal 0x00070d18
+
  00070de4: 0c01c346 jal 0x00070d18 [[00070d18 - 00070dd8]]
 
  00070de8: 00000000 nop
 
  00070de8: 00000000 nop
  00070dec: 14400003 bne r2,r0,0x00070dfc
+
  00070dec: 14400003 bne r2,r0,0x00070dfc branches if above routine returns false?
  00070df0: 34020001 ori r2,r0,0x0001
+
  00070df0: 34020001 ori r2,r0,0x0001 r2 = 1
  00070df4: 0801c385 j 0x00070e14
+
  00070df4: 0801c385 j 0x00070e14 jumps to end
  00070df8: 00001021 addu r2,r0,r0
+
  00070df8: 00001021 addu r2,r0,r0 r2 = 0
  00070dfc: 34030030 ori r3,r0,0x0030
+
  00070dfc: 34030030 ori r3,r0,0x0030 r3 = 0x30
 
  00070e00: 3c018009 lui r1,0x8009
 
  00070e00: 3c018009 lui r1,0x8009
  00070e04: ac2360e4 sw r3,0x60e4(r1)
+
  00070e04: ac2360e4 sw r3,0x60e4(r1) saves type of display as 0x30 (a status? HP, MP gain? loss?)
  00070e08: 34030001 ori r3,r0,0x0001
+
  00070e08: 34030001 ori r3,r0,0x0001 r3 = 1 (attacking EXP prep)
 
  00070e0c: 3c018004 lui r1,0x8004
 
  00070e0c: 3c018004 lui r1,0x8004
  00070e10: ac235980 sw r3,0x5980(r1)
+
  00070e10: ac235980 sw r3,0x5980(r1) saves EXP prep as attacking
 
  00070e14: 8fbf0010 lw r31,0x0010(r29)
 
  00070e14: 8fbf0010 lw r31,0x0010(r29)
 
  00070e18: 27bd0018 addiu r29,r29,0x0018
 
  00070e18: 27bd0018 addiu r29,r29,0x0018

Latest revision as of 03:12, 1 February 2021

EXP, JP routine?

00070ddc: 27bdffe8 addiu r29,r29,0xffe8
00070de0: afbf0010 sw r31,0x0010(r29)
00070de4: 0c01c346 jal 0x00070d18		00070d18 - 00070dd8
00070de8: 00000000 nop
00070dec: 14400003 bne r2,r0,0x00070dfc	branches if above routine returns false?
00070df0: 34020001 ori r2,r0,0x0001		r2 = 1
00070df4: 0801c385 j 0x00070e14		jumps to end
00070df8: 00001021 addu r2,r0,r0		r2 = 0
00070dfc: 34030030 ori r3,r0,0x0030		r3 = 0x30
00070e00: 3c018009 lui r1,0x8009
00070e04: ac2360e4 sw r3,0x60e4(r1)		saves type of display as 0x30 (a status? HP, MP gain? loss?)
00070e08: 34030001 ori r3,r0,0x0001		r3 = 1 (attacking EXP prep)
00070e0c: 3c018004 lui r1,0x8004
00070e10: ac235980 sw r3,0x5980(r1)		saves EXP prep as attacking
00070e14: 8fbf0010 lw r31,0x0010(r29)
00070e18: 27bd0018 addiu r29,r29,0x0018
00070e1c: 03e00008 jr r31
00070e20: 00000000 nop