Difference between revisions of "WLDCORE Get Party Data"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (moved WlDCORE Get Party Data to WLDCORE Get Party Data: Pride is stupid)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
  00069e38: 27bdffe8 addiu r29,r29,0xffe8
+
# Parameters:
  00069e3c: afbf0010 sw r31,0x0010(r29)
+
#  r4: partyid to get the pointer for
  00069e40: 0c0166bc jal 0x00059af0 Get Party Data Pointer
+
  00069e44: 00000000 nop
+
# Return value:
  00069e48: 8fbf0010 lw r31,0x0010(r29)
+
#  r2: pointer to unit party data
  00069e4c: 27bd0018 addiu r29,r29,0x0018
+
  00069e50: 03e00008 jr r31
+
  00069e38: 27bdffe8 addiu r29,r29,0xffe8       #
  00069e54: 00000000 nop
+
  00069e3c: afbf0010 sw r31,0x0010(r29)         #
 +
  00069e40: 0c0166bc jal 0x00059af0             # [[Get Party Data Pointer]](partyid)
 +
  00069e44: 00000000 nop                         #
 +
  00069e48: 8fbf0010 lw r31,0x0010(r29)         #
 +
  00069e4c: 27bd0018 addiu r29,r29,0x0018       #
 +
  00069e50: 03e00008 jr r31                     #
 +
  00069e54: 00000000 nop                         #

Latest revision as of 03:39, 29 September 2024

# Parameters:
#   r4: partyid to get the pointer for

# Return value:
#   r2: pointer to unit party data

00069e38: 27bdffe8 addiu r29,r29,0xffe8        # 
00069e3c: afbf0010 sw r31,0x0010(r29)          # 
00069e40: 0c0166bc jal 0x00059af0              # Get Party Data Pointer(partyid)
00069e44: 00000000 nop                         # 
00069e48: 8fbf0010 lw r31,0x0010(r29)          # 
00069e4c: 27bd0018 addiu r29,r29,0x0018        # 
00069e50: 03e00008 jr r31                      # 
00069e54: 00000000 nop                         #