Skip to content

load_map

Version: Dink 1.08  Freedink   DinkHD   YeDink

Prototypevoid load_map(string[49] map_dat, string[49] dink_dat)

load_map() loads in a new map file using map.dat and dink.dat. The new map will not be visible until the player changes screens. The map.dat and dink.dat are automatically saved and loaded in save game files.

It is recommended to run clear_editor_info after load_map(), so all editor information is cleared. Therefore, it is also recommended that the player not be able to switch back-and-forth between maps... all of the old barrels and chests would be available to open again.