Difference between revisions of "Special monster check"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00120b90: 2482ffc4 addiu r2,r4,0xffc4 00120b94: 2484ff70 addiu r4,r4,0xff70 00120b98: 2c84000b sltiu r4,r4,0x000b 00120b9c: 10800002 beq r4,r0,...") |
|||
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
− | + | Special monster check Special monster check | |
− | 00120b90: 2482ffc4 addiu r2,r4,0xffc4 | + | r4 = current job |
− | 00120b94: 2484ff70 addiu r4,r4,0xff70 | + | 00120b90: 2482ffc4 addiu r2,r4,0xffc4 job - 3C |
+ | 00120b94: 2484ff70 addiu r4,r4,0xff70 job - 90 (special monster | ||
00120b98: 2c84000b sltiu r4,r4,0x000b | 00120b98: 2c84000b sltiu r4,r4,0x000b | ||
− | 00120b9c: 10800002 beq r4,r0,0x00120ba8 | + | 00120b9c: 10800002 beq r4,r0,0x00120ba8 branch if not special monster(job<90) |
− | 00120ba0: 2c42000e sltiu r2,r2,0x000e | + | 00120ba0: 2c42000e sltiu r2,r2,0x000e |
− | 00120ba4: 34020001 ori r2,r0,0x0001 | + | 00120ba4: 34020001 ori r2,r0,0x0001 return 1 if special monster |
00120ba8: 03e00008 jr r31 | 00120ba8: 03e00008 jr r31 | ||
− | 00120bac: 00000000 nop | + | 00120bac: 00000000 nop</font> |
− | </font> |
Revision as of 16:23, 24 January 2016
Special monster check Special monster check
r4 = current job 00120b90: 2482ffc4 addiu r2,r4,0xffc4 job - 3C 00120b94: 2484ff70 addiu r4,r4,0xff70 job - 90 (special monster 00120b98: 2c84000b sltiu r4,r4,0x000b 00120b9c: 10800002 beq r4,r0,0x00120ba8 branch if not special monster(job<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