Difference between revisions of "Store X into Y"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Store X into Y (r4 = Loading Pointer, r5 = Storing Pointer) 0005cc64: 27bdfff8 addiu r29,r29,0xfff8 0005cc68: 18c00008 blez r6,0x0005cc8c 0005cc6c: 00001821 addu r3,r0,r0 ...")
 
Line 13: Line 13:
 
  0005cc90: 03e00008 jr r31
 
  0005cc90: 03e00008 jr r31
 
  0005cc94: 00000000 nop
 
  0005cc94: 00000000 nop
 +
 +
 +
== Return Locations ==
 +
 +
0005a38c:  [[Out of Battle Unit Generation]]
 +
0005cb38:  [[Store/Generate Character Names]]
 +
0005cb54: ^^
 +
0005cb70: ^^
 +
0005cb8c: ^^
 +
0005d6c4:  [[Status Setting/Checking + Equip/R/S/M Stats]]
 +
0005d6d4: ^^
 +
0005d6e4: ^^

Revision as of 04:13, 1 March 2012

Store X into Y (r4 = Loading Pointer, r5 = Storing Pointer)
0005cc64: 27bdfff8 addiu r29,r29,0xfff8
0005cc68: 18c00008 blez r6,0x0005cc8c
0005cc6c: 00001821 addu r3,r0,r0		Counter = 0
0005cc70: 90820000 lbu r2,0x0000(r4)		Load X
0005cc74: 24840001 addiu r4,r4,0x0001		X Pointer += 1
0005cc78: 24630001 addiu r3,r3,0x0001		Counter += 1
0005cc7c: a0a20000 sb r2,0x0000(r5)		Store X into Y
0005cc80: 0066102a slt r2,r3,r6
0005cc84: 1440fffa bne r2,r0,0x0005cc70		Branch if not finished
0005cc88: 24a50001 addiu r5,r5,0x0001		Y Pointer += 1
0005cc8c: 27bd0008 addiu r29,r29,0x0008
0005cc90: 03e00008 jr r31
0005cc94: 00000000 nop


Return Locations

0005a38c:  Out of Battle Unit Generation
0005cb38:  Store/Generate Character Names
0005cb54: ^^
0005cb70: ^^
0005cb8c: ^^
0005d6c4:  Status Setting/Checking + Equip/R/S/M Stats
0005d6d4: ^^
0005d6e4: ^^