Difference between revisions of "FF8/Field/Script/Opcodes/15E SETCARD"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
(create page)
 
(No difference)

Latest revision as of 06:49, 1 January 2021

  • Opcode: 0x15E
  • Short name: SETCARD
  • Long name: Set Card

Argument

none

Stack

Deck ID
Card ID
SETCARD

Description

Moves a card to the specified deck. Sets the first temp variable to 0 if successful.

Rare cards (level 8+) are unique, moving from deck to deck.

If you give the player (deck 240) a non-rare card, it adds one to their collection (max 100). If you give anyone else a non-rare card it removes one from the player's collection.