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

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Shard
ffrtt>BukTop
m (5 revisions imported)
 
(4 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 04: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.