Special monster check

From Final Fantasy Hacktics Wiki
Revision as of 02:57, 29 September 2024 by Pride (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# Special monster check Special monster check
# Parameters:
#   r4 = job id
 
# Return value:
#   0x00 = is not a special monster
#   0x01 = is a special monster

00120b90: 2482ffc4 addiu r2,r4,-0x003c         # first set = job id -= 0x3C
00120b94: 2484ff70 addiu r4,r4,-0x0090         # second set = job id -= 0x90
00120b98: 2c84000b sltiu r4,r4,0x000b          # 
00120b9c: 10800002 beq r4,r0,0x00120ba8        # branch if not special monster (job is less than 90)
00120ba0: 2c42000e sltiu r2,r2,0x000e          # 
00120ba4: 34020001 ori r2,r0,0x0001            # return 1 if special monster
00120ba8: 03e00008 jr r31                      # 
00120bac: 00000000 nop                         # 

Return Locations

0x00120f6c: Load party data into Formation screen data
0x001211c0: 001210e8 - 001212b4
0x001224c8: Set Jobs unlocked by others
0x0012262c: Calculate Job Wheel Jobs
0x00122a9c: Skillset Display
0x00125588: Lock Equipment And Abilities