Game-Specific

this.updateMapFiles(GNSFile, files = {})

Reads the byte data of a GNS file and replaces the sectors/files in the ModImg of that file to match the ones specified in files with a format of { "OldMapPathA": "NewMapPathA", "OldMapPathB": "NewMapPathB" }


this.game.bindMapID(mapID, GNSFile)

Sets the link in BATTLE.BIN of a given map ID to point toward a map GNS of your choice. This allows you to use multiple versions of the same base map.