Difference between revisions of "JOBSTTS.OUT Special Monster check"
Jump to navigation
Jump to search
(Created page with " 001dffa0: 2482ffc4 addiu r2,r4,0xffc4 001dffa4: 2484ff70 addiu r4,r4,0xff70 001dffa8: 2c84000b sltiu r4,r4,0x000b 001dffac: 10800002 beq r4,r0,0x001dffb8 001dffb0: 2c4200...") |
|||
Line 1: | Line 1: | ||
− | 001dffa0: 2482ffc4 addiu r2,r4,0xffc4 | + | 001dffa0: 2482ffc4 addiu r2,r4,0xffc4 job ID - 0x3c |
− | 001dffa4: 2484ff70 addiu r4,r4,0xff70 | + | 001dffa4: 2484ff70 addiu r4,r4,0xff70 job ID - 0x90 |
− | 001dffa8: 2c84000b sltiu r4,r4,0x000b | + | 001dffa8: 2c84000b sltiu r4,r4,0x000b check if special monster |
− | 001dffac: 10800002 beq r4,r0,0x001dffb8 | + | 001dffac: 10800002 beq r4,r0,0x001dffb8 end if not special monster (90 - 9b) |
− | 001dffb0: 2c42000e sltiu r2,r2,0x000e | + | 001dffb0: 2c42000e sltiu r2,r2,0x000e return if special monster (3c - 49) |
− | 001dffb4: 34020001 ori r2,r0,0x0001 | + | 001dffb4: 34020001 ori r2,r0,0x0001 if special monster (90 - 9b) return 1 |
− | 001dffb8: 03e00008 jr r31 | + | 001dffb8: 03e00008 jr r31 else return 0 |
001dffbc: 00000000 nop | 001dffbc: 00000000 nop |
Revision as of 09:53, 25 May 2024
001dffa0: 2482ffc4 addiu r2,r4,0xffc4 job ID - 0x3c 001dffa4: 2484ff70 addiu r4,r4,0xff70 job ID - 0x90 001dffa8: 2c84000b sltiu r4,r4,0x000b check if special monster 001dffac: 10800002 beq r4,r0,0x001dffb8 end if not special monster (90 - 9b) 001dffb0: 2c42000e sltiu r2,r2,0x000e return if special monster (3c - 49) 001dffb4: 34020001 ori r2,r0,0x0001 if special monster (90 - 9b) return 1 001dffb8: 03e00008 jr r31 else return 0 001dffbc: 00000000 nop