Difference between revisions of "Get job's skillset"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> get job's skillset get job's skillset 0012276c: 27bdffe8 addiu r29,r29,0xffe8 00122770: afbf0010 sw r31,0x0010(r29) 00122774: 0c016a29 jal 0x0005a...")
 
(removed courier new text format, made basic notes, and created return locations)
 
Line 1: Line 1:
<font face='Courier New'>
+
  0012276c: 27bdffe8 addiu r29,r29,0xffe8                     #
get job's skillset get job's skillset
+
  00122770: afbf0010 sw r31,0x0010(r29)                       #
  0012276c: 27bdffe8 addiu r29,r29,0xffe8
+
  00122774: 0c016a29 jal 0x0005a8a4                           # [[Get Job Data Pointer]] -> job data
  00122770: afbf0010 sw r31,0x0010(r29)
+
  00122778: 00000000 nop                                     #
  00122774: 0c016a29 jal 0x0005a8a4
+
  0012277c: 90420000 lbu r2,0x0000(r2)                       # r2 = job skillset id
  00122778: 00000000 nop
+
  00122780: 8fbf0010 lw r31,0x0010(r29)                       #
  0012277c: 90420000 lbu r2,0x0000(r2)
+
  00122784: 27bd0018 addiu r29,r29,0x0018                     #
  00122780: 8fbf0010 lw r31,0x0010(r29)
+
  00122788: 03e00008 jr r31                                   # return job skillset id
  00122784: 27bd0018 addiu r29,r29,0x0018
+
  0012278c: 00000000 nop                                     #
  00122788: 03e00008 jr r31
+
 
  0012278c: 00000000 nop</font>
+
== Return Locations ==
 +
'''WORLD.BIN'''
 +
80122824
 +
80122958
 +
80125608
 +
80125b5c

Latest revision as of 07:54, 5 March 2023

0012276c: 27bdffe8 addiu r29,r29,0xffe8                     # 
00122770: afbf0010 sw r31,0x0010(r29)                       # 
00122774: 0c016a29 jal 0x0005a8a4                           # Get Job Data Pointer -> job data
00122778: 00000000 nop                                      # 
0012277c: 90420000 lbu r2,0x0000(r2)                        # r2 = job skillset id
00122780: 8fbf0010 lw r31,0x0010(r29)                       # 
00122784: 27bd0018 addiu r29,r29,0x0018                     # 
00122788: 03e00008 jr r31                                   # return job skillset id
0012278c: 00000000 nop                                      #

Return Locations

WORLD.BIN
80122824
80122958
80125608
80125b5c