Rename function to be more descriptive.
Save image offset as property.
Prep for reading and decompressing image.
Made code easier to read.
Make code easier to read.
Fix syntax errors.
Remove redundant property.
Fix scope of variable set.
Make code easier to read.
Pass callbacks to each palette and call parent callback only when all palette callbacks have been called.
Consider tileset loaded after palettes are loaded.
Palette calls its callback function when loaded.
Initialize palettes_loading property.
Fix typo.
Call callback when tileset has loaded.
Rename variable to make it more clear that a file read is occuring.
Remove redundant variable prefix.
Add clarity to variable names.
Remove redundant comments.
Create tileset 1 and 2 before announcing map is loaded.