Difference between revisions of "Copy Byte Data (20 Bytes)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 30: Line 30:
 
  0017b7c0:
 
  0017b7c0:
 
  0017b894: [[Targeting routine]]
 
  0017b894: [[Targeting routine]]
  0017be90: [[3-direction_AoE_Calculation]]
+
  0017be90: [[Linear/3-direction_AoE_Calculation]]
 
  0017c48c: [[Writes action taken ]]
 
  0017c48c: [[Writes action taken ]]
 
  0017c57c:
 
  0017c57c:
Line 43: Line 43:
 
  0017e140: [[Big... Contains Hamedo check]]
 
  0017e140: [[Big... Contains Hamedo check]]
 
  0017e258:
 
  0017e258:
  0017e44c:
+
  0017e44c: [[Main reaction routine?]]
 
  0017f1b0:
 
  0017f1b0:
 
  0017f1bc:
 
  0017f1bc:
Line 50: Line 50:
 
  001836cc:
 
  001836cc:
 
  0018b364: [[Pre Formula Setup (FDC)]]
 
  0018b364: [[Pre Formula Setup (FDC)]]
  0018ef5c:
+
  0018ef64: [[Current_Action_Attacker_Data_Setting]]
 
  0018f15c:
 
  0018f15c:
  
 
== Older Page ==
 
== Older Page ==
 
  [[Transfer_Target_ID%3F_Through_Mount_Data]]
 
  [[Transfer_Target_ID%3F_Through_Mount_Data]]

Latest revision as of 11:39, 13 March 2022

#   ROUTINE: COPY BYTE DATA (20 BYTES)
#       This routine is often used to copy the Used Action data (0x16e - 0x181 of unit data).
#       Maybe this routine is just for copying that struct, but this is a very generic way of doing it...
#       Parameters:
#           r4 = Source pointer
#           r5 = Destination pointer

0005e22c: 00001821 addu r3,r0,r0                #   index = 0
                                                #   do {
0005e230: 90820000 lbu r2,0x0000(r4)            #       value = *sourcePointer
0005e234: 24840001 addiu r4,r4,0x0001           #       sourcePointer = sourcePointer + 1
0005e238: 24630001 addiu r3,r3,0x0001           #       index = index + 1
0005e23c: a0a20000 sb r2,0x0000(r5)             #       *targetPointer = value
0005e240: 2c620014 sltiu r2,r3,0x0014           
0005e244: 1440fffa bne r2,r0,0x0005e230         
0005e248: 24a50001 addiu r5,r5,0x0001           #       targetPointer = targetPointer + 1
                                                #   } while (index < 20)
0005e24c: 03e00008 jr r31
0005e250: 00000000 nop

Return Locations

00179df4:
0017a2bc: Set panels affected by ability?
0017a528:
0017a8e0:
0017ab0c:
0017acb4:
0017b4f8:Calculator Routine
0017b7c0:
0017b894: Targeting routine
0017be90: Linear/3-direction_AoE_Calculation
0017c48c: Writes action taken 
0017c57c:
0017c624:
0017c698:
0017c708:
0017c734:
0017c7b4:
0017c820: Writes action taken 
0017dc68:
0017e0ac: Big... Contains Hamedo check
0017e140: Big... Contains Hamedo check
0017e258:
0017e44c: Main reaction routine?
0017f1b0:
0017f1bc:
0017f2a8:
00183638:
001836cc:
0018b364: Pre Formula Setup (FDC)
0018ef64: Current_Action_Attacker_Data_Setting
0018f15c:

Older Page

Transfer_Target_ID?_Through_Mount_Data