JOBSTTS.OUT Special Monster check
Jump to navigation
Jump to search
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