BUNIT.OUT Special Monster check
Jump to navigation
Jump to search
see also: JOBSTTS.OUT Special Monster check find: world routine that does the same thing
001c6834: 2482ffc4 addiu r2,r4,-0x003c job ID - 0x3c 001c6838: 2484ff70 addiu r4,r4,-0x0090 job ID - 0x90 001c683c: 2c84000b sltiu r4,r4,0x000b check if special monster 001c6840: 10800002 beq r4,r0,0x001c684c end if not special monster (90 - 9b) 001c6844: 2c42000e sltiu r2,r2,0x000e return if special monster (3c - 49) 001c6848: 34020001 ori r2,r0,0x0001 if special monster (90 - 9b) return 1 001c684c: 03e00008 jr r31 else return 0 001c6850: 00000000 nop