*. Sticky notes

Script space (w/ bank wrap):
[15] 15E401-15FFFF
[16] 168000-16FFFF
[17] 178000-17FFFF
[18] 188000-18FFFF
[19] 198000-19FFFF
[1A] 1A8000-1AFFFF
[1B] 1B8000-1BFFFF
[1C] 1C8000-1CFFFF
[1D] 1D8000-1DFFFF
[1E] 1E8000-1EFFFF
[1F] 1F8000-1F95A8

Font space:
[1F] f95a8-fffa4


On a blank SRAM, the game copies TWO starting string pointers to SRAM (EMBED 0/1).
Starting a new game will randomly select 1/2 entry paths.

Next to note is that the PHYSICAL SCRIPT POINTER is saved. And the script is stored
as one GIANT string. But you'll need to fill the 400+ kanji.


Font is 1-bpp variable-width and height. Quite literally as everything is stored in
bitpacking format. Ugly stuff to replace.

Highly recommended that you code your _own_ font loading routine (see 'font' file). And
with your own width tables.


Text is stored in Huffman format. And all the pointers. This is replaced with a direct
lookup system. JMPs and all.

But it will break the Japan game saves. Or even changing the script will warp the states.
So caution.


Lastly the engine has some form of smart code detection. That checks for '.' and ',' tiles
for auto-waits and auto-delays.

; ============================================================================
; ############################################################################
; ============================================================================

Atlas 1.06 is modified (nothing new since 'Little Master 3')

> #FILL( int stop_address, int file_byte )		- pads up to stop address
  #FILL( int start, stop, int file_byte )		- pads address range
  #FILL( int start, stop, int file_byte, string file )	- pads address range IN FILE

  #WARN( int warn_address )				- OKAY/BARF if PC counter >= warn_address

  #SAVEPC( string file_name )				- writes PC to file
  #LOADPC( string file_name )				- loads PC from file

  #INSERT( string file_name )				- inserts binary file at current PC

  MSB16,MSB24,MSB32,GB4xxx				- addressing modes

  #SETINDEX( int index_number, int size )		- init the index numbers
  #WRITEINDEX( int address, int index_bump )		- writes index numbers to address, # bytes
							  and auto-bumps the index #
  #WRITEINDEX( int addr, int index_bump, string file )	- writes index number to address IN FILE

  #SAVEINDEX( string file_name )			- writes INDEX # to file
  #LOADINDEX( string file_name )			- loads INDEX # from file

  #ALIGN( int byte_count )                      	- does file alignment (1,2,3,4)

  #W08BYTE( int address, int byte )			- writes byte to address (no JMP)
  #W08BYTE( int addr, int byte, string file )		- writes byte to address IN FILE (no JMP)

  #EMBCLEAR()						- erases all embedded pointers

  #SAVEPTRTABLE( PTRTABLE table, string file_name )	- writes PTRTABLE address to file
  #LOADPTRTABLE( PTRTABLE table, string file_name )	- loads PTRTABLE address from file 
