Effect code script 01 - store next half as new counter, return 1

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

001a225c: 84820006 lh r2,0x0006(r4)		load counter
001a2260: 8c830008 lw r3,0x0008(r4)		load address
001a2264: 00000000 nop
001a2268: 00431021 addu r2,r2,r3
001a226c: 94420002 lhu r2,0x0002(r2)		
001a2270: 00000000 nop
001a2274: a4820006 sh r2,0x0006(r4)		
001a2278: 03e00008 jr r31
001a227c: 34020001 ori r2,r0,0x0001		return r2 = 0x0001