Difference between revisions of "Nullify CT/Initialize Death Counter"
Jump to navigation
Jump to search
(Created page with " Nullify CT/Initialize Death Counter 0005d470: 27bdffe8 addiu r29,r29,0xffe8 0005d474: afb00010 sw r16,0x0010(r29) 0005d478: 00808021 addu r16,r4,r0 r16 = Unit's Data Poin...") |
|||
Line 24: | Line 24: | ||
0005d4c8: 03e00008 jr r31 | 0005d4c8: 03e00008 jr r31 | ||
0005d4cc: 00000000 nop | 0005d4cc: 00000000 nop | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | 0005d44c: [[Status Initialization]] |
Latest revision as of 04:27, 1 March 2012
Nullify CT/Initialize Death Counter 0005d470: 27bdffe8 addiu r29,r29,0xffe8 0005d474: afb00010 sw r16,0x0010(r29) 0005d478: 00808021 addu r16,r4,r0 r16 = Unit's Data Pointer 0005d47c: 2604005d addiu r4,r16,0x005d r4 = Pointer to Unit's Poison CT 0005d480: afbf0014 sw r31,0x0014(r29) 0005d484: 0c017991 jal 0x0005e644 Data Nullifying (Status CT) 0005d488: 34050010 ori r5,r0,0x0010 Limit = 0x10 0005d48c: 92020005 lbu r2,0x0005(r16) Load Unit's ENTD Flags 0005d490: 00000000 nop 0005d494: 30420004 andi r2,r2,0x0004 0005d498: 14400007 bne r2,r0,0x0005d4b8 Branch if Unit is Immortal 0005d49c: 340200ff ori r2,r0,0x00ff r2 = FF 0005d4a0: 92020006 lbu r2,0x0006(r16) Load Unit's Gender Byte 0005d4a4: 00000000 nop 0005d4a8: 30420009 andi r2,r2,0x0009 0005d4ac: 14400002 bne r2,r0,0x0005d4b8 Branch if Unit has Load/Save Formation 0005d4b0: 340200ff ori r2,r0,0x00ff r2 = FF 0005d4b4: 34020003 ori r2,r0,0x0003 r2 = 3 0005d4b8: a2020007 sb r2,0x0007(r16) Store Death Counter = 3/FF 0005d4bc: 8fbf0014 lw r31,0x0014(r29) 0005d4c0: 8fb00010 lw r16,0x0010(r29) 0005d4c4: 27bd0018 addiu r29,r29,0x0018 0005d4c8: 03e00008 jr r31 0005d4cc: 00000000 nop
Return Locations
0005d44c: Status Initialization