Difference between revisions of "00125540 - 001255e0"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
+ | Locks the screen that allows equipment/ability change if unit is Monster or Mime | ||
00125540: 27bdffe8 addiu r29,r29,0xffe8 | 00125540: 27bdffe8 addiu r29,r29,0xffe8 | ||
Line 29: | Line 30: | ||
001255a8: 30420004 andi r2,r2,0x0004 | 001255a8: 30420004 andi r2,r2,0x0004 | ||
001255ac: 10400003 beq r2,r0,0x001255bc | 001255ac: 10400003 beq r2,r0,0x001255bc | ||
− | 001255b0: 3403005d ori r3,r0,0x005d | + | 001255b0: 3403005d ori r3,r0,0x005d r3 = 5d (Mime's class slot) |
001255b4: 08049574 j 0x001255d0 | 001255b4: 08049574 j 0x001255d0 | ||
001255b8: 2402fffc addiu r2,r0,0xfffc | 001255b8: 2402fffc addiu r2,r0,0xfffc | ||
− | 001255bc: 84840024 lh r4,0x0024(r4) | + | 001255bc: 84840024 lh r4,0x0024(r4) Load unit's job |
001255c0: 00000000 nop | 001255c0: 00000000 nop | ||
− | 001255c4: 10830002 beq r4,r3,0x001255d0 | + | 001255c4: 10830002 beq r4,r3,0x001255d0 Branch if unit is a Mime |
001255c8: 2402fffa addiu r2,r0,0xfffa | 001255c8: 2402fffa addiu r2,r0,0xfffa | ||
001255cc: 34020001 ori r2,r0,0x0001 | 001255cc: 34020001 ori r2,r0,0x0001 |
Revision as of 01:34, 4 July 2016
Locks the screen that allows equipment/ability change if unit is Monster or Mime
00125540: 27bdffe8 addiu r29,r29,0xffe8 00125544: 3c02801d lui r2,0x801d 00125548: 2442d5ec addiu r2,r2,0xd5ec 0012554c: 00042080 sll r4,r4,0x02 00125550: afb00010 sw r16,0x0010(r29) 00125554: 00828021 addu r16,r4,r2 00125558: afbf0014 sw r31,0x0014(r29) 0012555c: 8e030000 lw r3,0x0000(r16) 00125560: 00000000 nop 00125564: 9062011f lbu r2,0x011f(r3) 00125568: 00000000 nop 0012556c: 14400018 bne r2,r0,0x001255d0 00125570: 2402fffe addiu r2,r0,0xfffe 00125574: 8462003e lh r2,0x003e(r3) 00125578: 00000000 nop 0012557c: 14400014 bne r2,r0,0x001255d0 00125580: 2402fffd addiu r2,r0,0xfffd 00125584: 84640024 lh r4,0x0024(r3) 00125588: 0c0482e4 jal 0x00120b90 Special monster check 0012558c: 00000000 nop 00125590: 1440000f bne r2,r0,0x001255d0 Branch if unit is a special monster 00125594: 2402fffd addiu r2,r0,0xfffd 00125598: 8e040000 lw r4,0x0000(r16) 0012559c: 00000000 nop 001255a0: 90820070 lbu r2,0x0070(r4) 001255a4: 00000000 nop 001255a8: 30420004 andi r2,r2,0x0004 001255ac: 10400003 beq r2,r0,0x001255bc 001255b0: 3403005d ori r3,r0,0x005d r3 = 5d (Mime's class slot) 001255b4: 08049574 j 0x001255d0 001255b8: 2402fffc addiu r2,r0,0xfffc 001255bc: 84840024 lh r4,0x0024(r4) Load unit's job 001255c0: 00000000 nop 001255c4: 10830002 beq r4,r3,0x001255d0 Branch if unit is a Mime 001255c8: 2402fffa addiu r2,r0,0xfffa 001255cc: 34020001 ori r2,r0,0x0001 001255d0: 8fbf0014 lw r31,0x0014(r29) 001255d4: 8fb00010 lw r16,0x0010(r29) 001255d8: 27bd0018 addiu r29,r29,0x0018 001255dc: 03e00008 jr r31 001255e0: 00000000 nop