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...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | 001dffa0: 2482ffc4 addiu r2,r4,0xffc4 | + | see also: [[BUNIT.OUT Special Monster check]] |
− | 001dffa4: 2484ff70 addiu r4,r4,0xff70 | + | find: world routine that does the same thing |
− | 001dffa8: 2c84000b sltiu r4,r4,0x000b | + | |
− | 001dffac: 10800002 beq r4,r0,0x001dffb8 | + | 001dffa0: 2482ffc4 addiu r2,r4,0xffc4 job ID - 0x3c |
− | 001dffb0: 2c42000e sltiu r2,r2,0x000e | + | 001dffa4: 2484ff70 addiu r4,r4,0xff70 job ID - 0x90 |
− | 001dffb4: 34020001 ori r2,r0,0x0001 | + | 001dffa8: 2c84000b sltiu r4,r4,0x000b check if special monster |
− | 001dffb8: 03e00008 jr r31 | + | 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 | 001dffbc: 00000000 nop |
Latest revision as of 07:03, 14 December 2024
see also: BUNIT.OUT Special Monster check find: world routine that does the same thing
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