Difference between revisions of "001c7944 - 001c7a04"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 001c7944: 27bdffd8 addiu r29,r29,0xffd8 001c7948: afb3001c sw r19,0x001c(r29) 001c794c: 00009821 addu r19,r0,r0 001c7950: afb10014 sw r17,0x0014(r29) 001c7954: 34110028 o...")
 
m
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
  001c7984: 00002021 addu r4,r0,r0
 
  001c7984: 00002021 addu r4,r0,r0
 
  001c7988: 00002821 addu r5,r0,r0
 
  001c7988: 00002821 addu r5,r0,r0
  001c798c: 34060140 ori r6,r0,0x0140
+
  001c798c: 34060140 ori r6,r0,0x0140           # X pos of 0x140 (points to EVTCHR slot 2 / Target Of Attack spritesheet)
  001c7990: 0c008e63 jal 0x0002398c
+
  001c7990: 0c008e63 jal 0x0002398c             [[P00 GetTpage]]
 
  001c7994: 00003821 addu r7,r0,r0
 
  001c7994: 00003821 addu r7,r0,r0
 
  001c7998: 00002021 addu r4,r0,r0
 
  001c7998: 00002021 addu r4,r0,r0
 
  001c799c: 34050002 ori r5,r0,0x0002
 
  001c799c: 34050002 ori r5,r0,0x0002
  001c79a0: 340603c0 ori r6,r0,0x03c0
+
  001c79a0: 340603c0 ori r6,r0,0x03c0           # X pos 0x3c0
 
  001c79a4: 3c01801e lui r1,0x801e
 
  001c79a4: 3c01801e lui r1,0x801e
 
  001c79a8: 00310821 addu r1,r1,r17
 
  001c79a8: 00310821 addu r1,r1,r17
 
  001c79ac: a422b832 sh r2,-0x47ce(r1)
 
  001c79ac: a422b832 sh r2,-0x47ce(r1)
  001c79b0: 0c008e63 jal 0x0002398c
+
  001c79b0: 0c008e63 jal 0x0002398c             [[P00 GetTpage]]
  001c79b4: 34070100 ori r7,r0,0x0100
+
  001c79b4: 34070100 ori r7,r0,0x0100           # Y pos of 0x100 (points to frame.bin)
 
  001c79b8: 02002021 addu r4,r16,r0
 
  001c79b8: 02002021 addu r4,r16,r0
 
  001c79bc: 3c01801e lui r1,0x801e
 
  001c79bc: 3c01801e lui r1,0x801e
 
  001c79c0: 00310821 addu r1,r1,r17
 
  001c79c0: 00310821 addu r1,r1,r17
 
  001c79c4: a422b85a sh r2,-0x47a6(r1)
 
  001c79c4: a422b85a sh r2,-0x47a6(r1)
  001c79c8: 0c008f1a jal 0x00023c68
+
  001c79c8: 0c008f1a jal 0x00023c68             [[P10 SetSemiTrans]]
  001c79cc: 34050001 ori r5,r0,0x0001
+
  001c79cc: 34050001 ori r5,r0,0x0001           # r5 input = set semi transparent.
 
  001c79d0: 26310050 addiu r17,r17,0x0050
 
  001c79d0: 26310050 addiu r17,r17,0x0050
 
  001c79d4: 26100050 addiu r16,r16,0x0050
 
  001c79d4: 26100050 addiu r16,r16,0x0050
 
  001c79d8: 26730002 addiu r19,r19,0x0002
 
  001c79d8: 26730002 addiu r19,r19,0x0002
 
  001c79dc: 2a62000a slti r2,r19,0x000a
 
  001c79dc: 2a62000a slti r2,r19,0x000a
  001c79e0: 1440ffe4 bne r2,r0,0x001c7974
+
  001c79e0: 1440ffe4 bne r2,r0,0x001c7974     # loop 0xa times
 
  001c79e4: 26520050 addiu r18,r18,0x0050
 
  001c79e4: 26520050 addiu r18,r18,0x0050
 
  001c79e8: 8fbf0020 lw r31,0x0020(r29)
 
  001c79e8: 8fbf0020 lw r31,0x0020(r29)

Latest revision as of 04:28, 29 July 2023

001c7944: 27bdffd8 addiu r29,r29,0xffd8
001c7948: afb3001c sw r19,0x001c(r29)
001c794c: 00009821 addu r19,r0,r0
001c7950: afb10014 sw r17,0x0014(r29)
001c7954: 34110028 ori r17,r0,0x0028
001c7958: 3c02801e lui r2,0x801e
001c795c: 2442b844 addiu r2,r2,0xb844
001c7960: afb00010 sw r16,0x0010(r29)
001c7964: 24500028 addiu r16,r2,0x0028
001c7968: afb20018 sw r18,0x0018(r29)
001c796c: 00409021 addu r18,r2,r0
001c7970: afbf0020 sw r31,0x0020(r29)
001c7974: 0c04b866 jal 0x0012e198
001c7978: 02402021 addu r4,r18,r0
001c797c: 0c04b866 jal 0x0012e198
001c7980: 02002021 addu r4,r16,r0
001c7984: 00002021 addu r4,r0,r0
001c7988: 00002821 addu r5,r0,r0
001c798c: 34060140 ori r6,r0,0x0140           # X pos of 0x140 (points to EVTCHR slot 2 / Target Of Attack spritesheet)
001c7990: 0c008e63 jal 0x0002398c             P00 GetTpage
001c7994: 00003821 addu r7,r0,r0
001c7998: 00002021 addu r4,r0,r0
001c799c: 34050002 ori r5,r0,0x0002
001c79a0: 340603c0 ori r6,r0,0x03c0           # X pos 0x3c0
001c79a4: 3c01801e lui r1,0x801e
001c79a8: 00310821 addu r1,r1,r17
001c79ac: a422b832 sh r2,-0x47ce(r1)
001c79b0: 0c008e63 jal 0x0002398c             P00 GetTpage
001c79b4: 34070100 ori r7,r0,0x0100           # Y pos of 0x100 (points to frame.bin)
001c79b8: 02002021 addu r4,r16,r0
001c79bc: 3c01801e lui r1,0x801e
001c79c0: 00310821 addu r1,r1,r17
001c79c4: a422b85a sh r2,-0x47a6(r1)
001c79c8: 0c008f1a jal 0x00023c68             P10 SetSemiTrans
001c79cc: 34050001 ori r5,r0,0x0001           # r5 input = set semi transparent.
001c79d0: 26310050 addiu r17,r17,0x0050
001c79d4: 26100050 addiu r16,r16,0x0050
001c79d8: 26730002 addiu r19,r19,0x0002
001c79dc: 2a62000a slti r2,r19,0x000a
001c79e0: 1440ffe4 bne r2,r0,0x001c7974      # loop 0xa times
001c79e4: 26520050 addiu r18,r18,0x0050
001c79e8: 8fbf0020 lw r31,0x0020(r29)
001c79ec: 8fb3001c lw r19,0x001c(r29)
001c79f0: 8fb20018 lw r18,0x0018(r29)
001c79f4: 8fb10014 lw r17,0x0014(r29)
001c79f8: 8fb00010 lw r16,0x0010(r29)
001c79fc: 27bd0028 addiu r29,r29,0x0028
001c7a00: 03e00008 jr r31
001c7a04: 00000000 nop