Clear Some Staging Data

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

0014853c: 00001821 addu r3,r0,r0
00148540: 3c028017 lui r2,0x8017
00148544: 8c423c78 lw r2,0x3c78(r2)        # Get the Staging Data pointer
00148548: 00000000 nop
0014854c: 00431021 addu r2,r2,r3
00148550: a040039c sb r0,0x039c(r2)        # Zero out the current Unit Present byte
00148554: 3c028017 lui r2,0x8017
00148558: 8c423c78 lw r2,0x3c78(r2)        # Get the Staging Data pointer... again
0014855c: 00000000 nop
00148560: 00431021 addu r2,r2,r3
00148564: 24630001 addiu r3,r3,0x0001
00148568: a04003b1 sb r0,0x03b1(r2)        # Zero out the current Related to InflictStatus byte
0014856c: 28620015 slti r2,r3,0x0015       # r2 = 0x01 if less than 21
00148570: 1440fff3 bne r2,r0,0x00148540    # Branch back if all 21 units have not yet been checked
00148574: 00000000 nop
00148578: 03e00008 jr r31
0014857c: 00000000 nop