☘️
The Insurgent's Manifesto
  • Home
  • Getting Started
    • Setup
    • Configuration
  • Game Improvements & Fixes
    • General
    • Animations
    • Locations
      • Archades
      • Jahara
      • Nalbina Dungeons
    • Events
      • Bhujerba
      • Dalmasca Estersand
      • Dreadnought Leviathan
      • Garamysythe Waterway
      • Giza Plains (Dry)
      • Rabanastre
      • Sky Fortress Bahamut
  • Dalan
    • General
  • VM Extension
    • General
    • Current Call Targets
      • Set Gambit Slot Max
      • Reset Jobs
      • Has Job Assigned
    • New Call Targets
      • Check Version
      • Memory Push Stack
      • Memory Execute
      • Memory Execute F
      • Memory Read Byte
      • Memory Write Byte
      • Memory Read Short
      • Memory Write Short
      • Memory Read Int
      • Memory Write Int
      • Memory Read Float
      • Memory Write Float
  • Text Extension
    • General
  • Support & Updates
    • Changelogs
      • Version 1.5.1
      • Version 1.5.0
      • Version 1.4.0
      • Version 1.3.0
      • Version 1.2.0
      • Version 1.1.0
      • Version 1.0.0
    • Known Issues
    • FAQ
  • Credits
Powered by GitBook
On this page
  • Signature
  • Description
  • Changes
  • Example
  • Notes
  1. VM Extension
  2. Current Call Targets

Set Gambit Slot Max

Signature

void setgambit_slotmax(int partyMemberId, int amount); //id:0x0504

Description

Increases the gambit slot count of a party member by the provided amount.

Changes

Since the gambit slot count is already properly handled by this mod when reseting jobs, gambits, and so on, this target call no longer serves a purpose. To prevent the game from altering a party member's gambit slot count in a specific game event, it has been made inaccessible.

Removing the function from the event itself would also work, but create compatibility issues with other mods that may modify it for other purposes. Therefore removing the function completely seemed like a better choice.

Example

Increase Vaan's Gambit Slot Count By 1

regI0 = 0; //vaan identifier
regI1 = 1; //increased amount
setgambit_slotmax(regI0, regI1);

Notes

The maximum gambit slot count that can be set is 12.

PreviousCurrent Call TargetsNextReset Jobs

Last updated 1 year ago