Difference between revisions of "Charge Skillset Loading"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00182788: 27bdffc0 addiu r29,r29,0xffc0 0018278c: 27a20028 addiu r2,r29,0x0028 00182790: 30a500ff andi r5,r5,0x00ff 00182794: 27a70018 addiu r7...")
 
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
   
 
   
  00182788: 27bdffc0 addiu r29,r29,0xffc0
+
001817c0: [[Load ability data for skillset]]
  0018278c: 27a20028 addiu r2,r29,0x0028
+
  00182790: 30a500ff andi r5,r5,0x00ff
+
  001827b4: 27bdffb8 addiu r29,r29,0xffb8 - 0x48
  00182794: 27a70018 addiu r7,r29,0x0018
+
  001827b8: 27a20030 addiu r2,r29,0x0030
  00182798: afbf0038 sw r31,0x0038(r29)
+
  001827bc: 8fa30058 lw r3,0x0058(r29) Load pointer from stack to #turns to complete action
  0018279c: 0c0609ed jal 0x001827b4
+
001827c0: 30a500ff andi r5,r5,0x00ff Primary Skillset
  001827a0: afa20010 sw r2,0x0010(r29)
+
001827c4: afa70010 sw r7,0x0010(r29) Store 0x60 for Raw ability CT
  001827a4: 8fbf0038 lw r31,0x0038(r29)
+
  001827c8: 27a70020 addiu r7,r29,0x0020 parse stack + 0x20 for MP cost
  001827a8: 27bd0040 addiu r29,r29,0x0040
+
  001827cc: afbf0040 sw r31,0x0040(r29)
  001827ac: 03e00008 jr r31
+
  001827d0: afa00014 sw r0,0x0014(r29) Store 0x0 onto Stack
  001827b0: 00000000 nop
+
001827d4: afa20018 sw r2,0x0018(r29) Store 0x30 for Silence/Performance checks
</font>
+
001827d8: 0c0605f0 jal 0x001817c0 [[Load ability data for skillset]]
 +
  001827dc: afa3001c sw r3,0x001c(r29) Store 0x70 for #turns to complete action
 +
  001827e0: 8fbf0040 lw r31,0x0040(r29)
 +
  001827e4: 27bd0048 addiu r29,r29,0x0048
 +
  001827e8: 03e00008 jr r31
 +
  001827ec: 00000000 nop
 +
 +
 +
</font>

Latest revision as of 11:59, 18 February 2022

	001817c0: Load ability data for skillset

001827b4: 27bdffb8 addiu r29,r29,0xffb8			- 0x48
001827b8: 27a20030 addiu r2,r29,0x0030
001827bc: 8fa30058 lw r3,0x0058(r29)			Load pointer from stack to #turns to complete action
001827c0: 30a500ff andi r5,r5,0x00ff			Primary Skillset
001827c4: afa70010 sw r7,0x0010(r29)			Store 0x60 for Raw ability CT
001827c8: 27a70020 addiu r7,r29,0x0020			parse stack + 0x20 for MP cost
001827cc: afbf0040 sw r31,0x0040(r29)			
001827d0: afa00014 sw r0,0x0014(r29)			Store 0x0 onto Stack
001827d4: afa20018 sw r2,0x0018(r29)			Store 0x30 for Silence/Performance checks
001827d8: 0c0605f0 jal 0x001817c0			Load ability data for skillset
001827dc: afa3001c sw r3,0x001c(r29)			Store 0x70 for #turns to complete action
001827e0: 8fbf0040 lw r31,0x0040(r29)			
001827e4: 27bd0048 addiu r29,r29,0x0048			
001827e8: 03e00008 jr r31			
001827ec: 00000000 nop