Difference between revisions of "Store Current Statuses"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m (color)
Line 1: Line 1:
 
  Store Current Statuses
 
  Store Current Statuses
  0005e744: 00803021 addu r6,r4,r0 r6 = Unit's Data Pointer
+
  0005e748: 00002821 addu r5,r0,r0 r5 = Counter
+
  0005e744: 00803021 addu r6,r4,r0                 |r6 = Unit's Data Pointer
  0005e74c: 00c51821 addu r3,r6,r5 @r3 = Unit's Data Pointer += Counter
+
  0005e748: 00002821 addu r5,r0,r0                 |r5 = Counter
  0005e750: 9062004e lbu r2,0x004e(r3)     Load Unit's set X of Innate Statuses  
+
  0005e74c: 00c51821 addu r3,r6,r5                 |'''@'''r3 = Unit's Data Pointer += Counter
  0005e754: 906401bb lbu r4,0x01bb(r3)     Load Unit's set X of Inflicted Statuses
+
  0005e750: 9062004e lbu r2,0x004e(r3)                 |<span style="color:limegreen">Load Unit's set X of Innate Statuses </span>
  0005e758: 24a50001 addiu r5,r5,0x0001     Counter += 1
+
  0005e754: 906401bb lbu r4,0x01bb(r3)                 |<span style="color:limegreen">Load Unit's set X of Inflicted Statuses</span>
  0005e75c: 00441025 or r2,r2,r4     Combine Innate and Inflicted Statuses
+
  0005e758: 24a50001 addiu r5,r5,0x0001               |Counter += 1
  0005e760: a0620058 sb r2,0x0058(r3)     Store Current Statuses into set X
+
  0005e75c: 00441025 or r2,r2,r4                       |Combine Innate and Inflicted Statuses
 +
  0005e760: a0620058 sb r2,0x0058(r3)                 |<span style="color:darkviolet">Store Statuses into Unit's current status set X</span>
 
  0005e764: 28a20005 slti r2,r5,0x0005
 
  0005e764: 28a20005 slti r2,r5,0x0005
  0005e768: 1440fff8 bne r2,r0,0x0005e74c       >Loop (5 loops)  
+
  0005e768: 1440fff8 bne r2,r0,0x0005e74c         |'''>Loop (5 loops) '''
  0005e76c: 00000000 nop
+
  0005e76c: 00000000
 
  0005e770: 03e00008 jr r31
 
  0005e770: 03e00008 jr r31
  0005e774: 00000000 nop
+
  0005e774: 00000000
 +
 
  
  

Revision as of 05:38, 23 June 2021

Store Current Statuses

0005e744: 00803021 addu r6,r4,r0                 |r6 = Unit's Data Pointer
0005e748: 00002821 addu r5,r0,r0                 |r5 = Counter
0005e74c: 00c51821 addu r3,r6,r5                 |@r3 = Unit's Data Pointer += Counter
0005e750: 9062004e lbu r2,0x004e(r3)                 |Load Unit's set X of Innate Statuses 
0005e754: 906401bb lbu r4,0x01bb(r3)                 |Load Unit's set X of Inflicted Statuses
0005e758: 24a50001 addiu r5,r5,0x0001                |Counter += 1
0005e75c: 00441025 or r2,r2,r4                       |Combine Innate and Inflicted Statuses
0005e760: a0620058 sb r2,0x0058(r3)                  |Store Statuses into Unit's current status set X
0005e764: 28a20005 slti r2,r5,0x0005
0005e768: 1440fff8 bne r2,r0,0x0005e74c          |>Loop (5 loops) 
0005e76c: 00000000
0005e770: 03e00008 jr r31
0005e774: 00000000



Return Locations

0005d650: Status Setting/Checking + Equip/R/S/M Stats
0005d774: Status Setting/Checking + Equip/R/S/M Stats
0005d7c8: Status Setting/Checking + Equip/R/S/M Stats
001836c4: AT_List_Preview?
0018e2f4: Inflicted_status_CT_setting,_xfer_last_used_CT
0018e5b8: Store_status,modified_ENTD_for_current_attack