FF8/Field/Script/Opcodes/15E SETCARD

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Revision as of 06:49, 1 January 2021 by Sleepey (talk | contribs) (create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • 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.