Current Action Data Nulling
Jump to navigation
Jump to search
0018bd74: 27bdffe8 addiu r29,r29,0xffe8 0018bd78: afb00010 sw r16,0x0010(r29) 0018bd7c: 00808021 addu r16,r4,r0 r16 = Unit's Current Action Data Pointer 0018bd80: afbf0014 sw r31,0x0014(r29) 0018bd84: 0c017991 jal 0x0005e644 Data Nullifying 0018bd88: 3405000e ori r5,r0,0x000e Limit = 0xe (0x0-0xd) 0018bd8c: 26040010 addiu r4,r16,0x0010 r4 = UCADP + 0x10 0018bd90: 0c017991 jal 0x0005e644 Data Nullifying 0018bd94: 34050016 ori r5,r0,0x0016 Limit = 0x16 (0x10-0x25) 0018bd98: 26040028 addiu r4,r16,0x0028 r4 = UCDAP + 0x28 0018bd9c: 0c017991 jal 0x0005e644 Data Nullifying 0018bda0: 34050002 ori r5,r0,0x0002 Limit = 2 (0x28-0x29) 0018bda4: 02002021 addu r4,r16,r0 r4 = Unit's Current Action Data Pointer 0018bda8: 34020064 ori r2,r0,0x0064 Hit% = 100 0018bdac: a482002a sh r2,0x002a(r4) Store Hit% 0018bdb0: 34020001 ori r2,r0,0x0001 r2 = 1 (Hit) 0018bdb4: a0800025 sb r0,0x0025(r4) Store Attack Type = 0 (Already done above) 0018bdb8: 0c062f75 jal 0x0018bdd4 Null Some Status Data 0018bdbc: a0820000 sb r2,0x0000(r4) Store Hit Flag = Hit 0018bdc0: 8fbf0014 lw r31,0x0014(r29) 0018bdc4: 8fb00010 lw r16,0x0010(r29) 0018bdc8: 27bd0018 addiu r29,r29,0x0018 0018bdcc: 03e00008 jr r31 0018bdd0: 00000000 nop
Return Locations
0018adf4: Action data nulling