Difference between revisions of "FF8/Field/Script/Opcodes/170 UNKNOWN5"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
(Created page with "* Opcode: '''0x170''' * Short name: '''UNKNOWN5''' * Long name: Has item (or Get Item Count?) ==== Argument ==== ==== Stack ==== :''Item ID'' :'''UNKNOWN5''' ==== Descripti...")
 
my_wiki>Albeoris
(Created page with "* Opcode: '''0x170''' * Short name: '''UNKNOWN5''' * Long name: Has item (or Get Item Count?) ==== Argument ==== ==== Stack ==== : ''Item ID'' : '''UNKNOWN5''' ==== D...")
Line 3: Line 3:
 
* Long name: Has item (or Get Item Count?)
 
* Long name: Has item (or Get Item Count?)
  
==== Argument ====
+
==== Argument ====
  
==== Stack ====
+
==== Stack ====
:''Item ID''
+
 
:'''UNKNOWN5'''
+
: ''Item ID''
 +
: '''UNKNOWN5'''
 +
 
 +
====  Description  ====
  
==== Description ====
 
 
If the party has the item with the given ID, pushes 1 to temporary variable 0. Otherwise, pushes 0.
 
If the party has the item with the given ID, pushes 1 to temporary variable 0. Otherwise, pushes 0.
  
 
It's possible this just returns the number of the item the party has.
 
It's possible this just returns the number of the item the party has.

Revision as of 15:53, 24 March 2018

  • Opcode: 0x170
  • Short name: UNKNOWN5
  • Long name: Has item (or Get Item Count?)

Argument

Stack

Item ID
UNKNOWN5

Description

If the party has the item with the given ID, pushes 1 to temporary variable 0. Otherwise, pushes 0.

It's possible this just returns the number of the item the party has.