☘️
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

Reset Jobs

Signature

void resetJobs(int partyMemberId); //id:0x05D6

Description

  • Clear all non-default license nodes of the current jobs and refund the amount of license points spent.

  • Unequip all gear.

  • If the party member has summoned an Esper, dismiss it.

  • Reset permanent augments.

  • Set default gambits and minimum gambit slot count.

  • Clear temporary arguments and mist bars.

  • Clear both jobs of a party member.

Changes

  • Will now clear and refund all non-default license nodes, instead of only those of a party member's current jobs.

  • Will now also work if the party member has no job assigned.

  • Will now also work for all party members (e.g. reks, guests and espers).

  • Fixed an issue where reseting Vaan's and Penelo's job would always give them a free gambit slot, even if they didn't require it to reach the max gambit slot count via license nodes.

Example

Reset Vaan's Jobs

regI0 = 0; //vaan identifier
resetJobs(regI0);

Notes

If the available license nodes of a job were changed during the current play-through (e.g. from a mod), reseting the job of a party member will now result in the old license nodes actually being cleared.

If the default license nodes were changed after starting a new game (e.g. from a mod), reseting the job of a party member that doesn't have one yet, will now result in the default license nodes actually being unlocked.

PreviousSet Gambit Slot MaxNextHas Job Assigned

Last updated 1 year ago