Difference between revisions of "Call Charge Skillset Loading"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00182688: 27bdff68 addiu r29,r29,0xff68 0018268c: afb3008c sw r19,0x008c(r29) 00182690: 00809821 addu r19,r4,r0 r19 = unit ID 00182694: afb0...")
 
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 +
Call ??? Skillset Loading 182788: [[00182788 - 001827b0]]
 
   
 
   
00182688: 27bdff68 addiu r29,r29,0xff68
+
001827b4: [[001827b4 - 001827ec]]
0018268c: afb3008c sw r19,0x008c(r29)
+
   
  00182690: 00809821 addu r19,r4,r0 r19 = unit ID
+
  00182788: 27bdffc0 addiu r29,r29,0xffc0
  00182694: afb00080 sw r16,0x0080(r29)
+
  0018278c: 27a20028 addiu r2,r29,0x0028
00182698: 00c08021 addu r16,r6,r0 items used/mp list?
+
  00182790: 30a500ff andi r5,r5,0x00ff Mask second byte
0018269c: afb20088 sw r18,0x0088(r29)
+
  00182794: 27a70018 addiu r7,r29,0x0018
001826a0: 00009021 addu r18,r0,r0
+
  00182798: afbf0038 sw r31,0x0038(r29) Store 0x0 onto Stack
001826a4: afb10084 sw r17,0x0084(r29)
+
  0018279c: 0c0609ed jal 0x001827b4 [[001827b4 - 001827ec]]
001826a8: afbf0090 sw r31,0x0090(r29)
+
  001827a0: afa20010 sw r2,0x0010(r29) Store 0x28 onto Stack
001826ac: 0c060435 jal 0x001810d4 get unit data
+
  001827a4: 8fbf0038 lw r31,0x0038(r29) Load Stack + 0x38
001826b0: 00a08821 addu r17,r5,r0
+
  001827a8: 27bd0040 addiu r29,r29,0x0040
001826b4: 14400003 bne r2,r0,0x001826c4
+
  001827ac: 03e00008 jr r31 Jump to Address
001826b8: 322300ff andi r3,r17,0x00ff Skillset?
+
  001827b0: 00000000 nop
001826bc: 080609da j 0x00182768
+
   
  001826c0: 00001021 addu r2,r0,r0
+
   
001826c4: 34020013 ori r2,r0,0x0013
+
  </font>
001826c8: 14620010 bne r3,r2,0x0018270c branch if skillset isn't draw out?
 
001826cc: 340200ff ori r2,r0,0x00ff
 
001826d0: 02602021 addu r4,r19,r0 unit ID/Skillset
 
001826d4: 27a20060 addiu r2,r29,0x0060
 
  001826d8: afa20010 sw r2,0x0010(r29)
 
001826dc: 27a20050 addiu r2,r29,0x0050
 
001826e0: afa20018 sw r2,0x0018(r29)
 
001826e4: 27a20070 addiu r2,r29,0x0070
 
001826e8: 34050013 ori r5,r0,0x0013
 
001826ec: 27a60020 addiu r6,r29,0x0020
 
  001826f0: 27a70040 addiu r7,r29,0x0040
 
  001826f4: afa00014 sw r0,0x0014(r29)
 
  001826f8: 0c0605f0 jal 0x001817c0 load ability data for skillset?
 
  001826fc: afa2001c sw r2,0x001c(r29)
 
  00182700: 00403021 addu r6,r2,r0
 
00182704: 14c00004 bne r6,r0,0x00182718
 
00182708: 340200ff ori r2,r0,0x00ff
 
0018270c: a2020000 sb r2,0x0000(r16) store ability = 0xff?
 
00182710: 080609da j 0x00182768 return r2 = 0
 
00182714: 00001021 addu r2,r0,r0
 
00182718: 0246102a slt r2,r18,r6
 
0018271c: 1040000f beq r2,r0,0x0018275c
 
00182720: 00002821 addu r5,r0,r0
 
  00182724: 27a40020 addiu r4,r29,0x0020
 
00182728: 94830000 lhu r3,0x0000(r4) load ability ID
 
  0018272c: 00000000 nop
 
00182730: 2c620170 sltiu r2,r3,0x0170
 
00182734: 10400005 beq r2,r0,0x0018274c branch if not action ability
 
00182738: 24840002 addiu r4,r4,0x0002
 
0018273c: 2462ffda addiu r2,r3,0xffda ability ID - 0x26
 
  00182740: a2020000 sb r2,0x0000(r16) store ability ID - 0x26?
 
00182744: 26100001 addiu r16,r16,0x0001
 
00182748: 26520001 addiu r18,r18,0x0001
 
0018274c: 24a50001 addiu r5,r5,0x0001
 
00182750: 00a6102a slt r2,r5,r6
 
00182754: 1440fff4 bne r2,r0,0x00182728
 
00182758: 00000000 nop
 
  0018275c: 340200ff ori r2,r0,0x00ff
 
00182760: a2020000 sb r2,0x0000(r16) store ability = 0xff
 
00182764: 26420100 addiu r2,r18,0x0100
 
00182768: 8fbf0090 lw r31,0x0090(r29)
 
0018276c: 8fb3008c lw r19,0x008c(r29)
 
00182770: 8fb20088 lw r18,0x0088(r29)
 
  00182774: 8fb10084 lw r17,0x0084(r29)
 
  00182778: 8fb00080 lw r16,0x0080(r29)
 
0018277c: 27bd0098 addiu r29,r29,0x0098
 
00182780: 03e00008 jr r31
 
00182784: 00000000 nop
 
</font>
 

Revision as of 00:41, 14 February 2015

Call ??? Skillset Loading 182788: 00182788 - 001827b0

	001827b4: 001827b4 - 001827ec

00182788: 27bdffc0 addiu r29,r29,0xffc0			
0018278c: 27a20028 addiu r2,r29,0x0028
00182790: 30a500ff andi r5,r5,0x00ff			Mask second byte
00182794: 27a70018 addiu r7,r29,0x0018
00182798: afbf0038 sw r31,0x0038(r29)			Store 0x0 onto Stack
0018279c: 0c0609ed jal 0x001827b4			001827b4 - 001827ec
001827a0: afa20010 sw r2,0x0010(r29)			Store 0x28 onto Stack
001827a4: 8fbf0038 lw r31,0x0038(r29)			Load Stack + 0x38
001827a8: 27bd0040 addiu r29,r29,0x0040			
001827ac: 03e00008 jr r31			Jump to Address
001827b0: 00000000 nop