Get known skillsets

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

get known skillsets get known skillsets

00122790: 27bdffa8 addiu r29,r29,0xffa8
00122794: 00801021 addu r2,r4,r0
00122798: afb40050 sw r20,0x0050(r29)
0012279c: 00a0a021 addu r20,r5,r0
001227a0: 304400ff andi r4,r2,0x00ff
001227a4: afb20048 sw r18,0x0048(r29)
001227a8: 00009021 addu r18,r0,r0
001227ac: 00021400 sll r2,r2,0x10
001227b0: 00021383 sra r2,r2,0x0e
001227b4: 27a50010 addiu r5,r29,0x0010
001227b8: afbf0054 sw r31,0x0054(r29)
001227bc: afb3004c sw r19,0x004c(r29)
001227c0: afb10044 sw r17,0x0044(r29)
001227c4: afb00040 sw r16,0x0040(r29)
001227c8: 3c01801d lui r1,0x801d
001227cc: 00220821 addu r1,r1,r2
001227d0: 8c22d5ec lw r2,-0x2a14(r1)
001227d4: 00000000 nop
001227d8: 94500024 lhu r16,0x0024(r2)
001227dc: 0c04895f jal 0x0012257c			get unlocked jobs
001227e0: 34060001 ori r6,r0,0x0001
001227e4: 87a30010 lh r3,0x0010(r29)		load job
001227e8: 2402ffff addiu r2,r0,0xffff
001227ec: 10620017 beq r3,r2,0x0012284c		branch if end of list
001227f0: 27a40010 addiu r4,r29,0x0010
001227f4: 00101400 sll r2,r16,0x10
001227f8: 00029c03 sra r19,r2,0x10
001227fc: 00008021 addu r16,r0,r0
00122800: 02808821 addu r17,r20,r0
00122804: 02041021 addu r2,r16,r4
00122808: 84440000 lh r4,0x0000(r2)			load job
0012280c: 00000000 nop
00122810: 12640008 beq r19,r4,0x00122834	branch if current job
00122814: 26100002 addiu r16,r16,0x0002		counter++
00122818: 3402005d ori r2,r0,0x005d
0012281c: 10820005 beq r4,r2,0x00122834		branch if mime
00122820: 00000000 nop
00122824: 0c0489db jal 0x0012276c			get jobs skillset
00122828: 26520001 addiu r18,r18,0x0001
0012282c: a6220000 sh r2,0x0000(r17)		store skillset as displayed
00122830: 26310002 addiu r17,r17,0x0002
00122834: 27a40010 addiu r4,r29,0x0010
00122838: 02041021 addu r2,r16,r4
0012283c: 84430000 lh r3,0x0000(r2)			load next job
00122840: 2402ffff addiu r2,r0,0xffff
00122844: 1462fff0 bne r3,r2,0x00122808		branch if not end of list
00122848: 02041021 addu r2,r16,r4
0012284c: 00121040 sll r2,r18,0x01			numebr of skillsets*2
00122850: 00541021 addu r2,r2,r20
00122854: 2403ffff addiu r3,r0,0xffff
00122858: a4430000 sh r3,0x0000(r2)			set end of list
0012285c: 02401021 addu r2,r18,r0			return number of skillsets
00122860: 8fbf0054 lw r31,0x0054(r29)
00122864: 8fb40050 lw r20,0x0050(r29)
00122868: 8fb3004c lw r19,0x004c(r29)
0012286c: 8fb20048 lw r18,0x0048(r29)
00122870: 8fb10044 lw r17,0x0044(r29)
00122874: 8fb00040 lw r16,0x0040(r29)
00122878: 27bd0058 addiu r29,r29,0x0058
0012287c: 03e00008 jr r31
00122880: 00000000 nop