Difference between revisions of "FF8/Field/Script/Opcodes/08B ISPARTY"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
m (Description)
m (5 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
* Long name: Get position in party
 
* Long name: Get position in party
  
==== Argument ====
+
==== Argument ====
 +
 
 
none
 
none
  
==== Stack ====
+
==== Stack ====
:''Character ID''
+
 
:'''ISPARTY'''
+
: ''Character ID''
 +
: '''ISPARTY'''
 +
 
 +
====  Description  ====
  
==== Description ====
+
Pushes the character's position in the party list into temporary variable 0. If they're not in the party, pushes -1.
Pushes the character's position in the party list into temporary variable 0. If they're not in the party, pushes some negative number. (If you try to display that number as text, it displays the unsigned value of 4294967295)
 

Latest revision as of 05:24, 23 May 2019

  • Opcode: 0x08B
  • Short name: ISPARTY
  • Long name: Get position in party

Argument

none

Stack

Character ID
ISPARTY

Description

Pushes the character's position in the party list into temporary variable 0. If they're not in the party, pushes -1.