Notes:Proto:Lufia II: Rise of the Sinistrals/Offsets

ROM start / end address, SNES start / end address, type, is data compressed y/n, description

last updated 20140307

000605  00061A   808605   80861A   CODE    N   L + R + Start + Select to soft reset if not already on title screen

001143  001166   809143   809166   CODE    N   Setup for decompressing Taito logo graphics 001167  001178   809167   809178   CODE    N   Setup for decompressing Taito logo palettes

0014B6  0014C9   8094B6   8094C9   CODE    N   Setup for transfer APU block 809C6A

0014DF  0014F1   8094DF   8094F1   CODE    N   Check if P1 Select + Start buttons held on Taito logo, reg $2140 for result, audio related, TODO: stereo/mono toggle?

001C6A  001C6B   809C6A   809C6B   DATA    N   Length of packet to follow $02D9 001C6C  001C6D   809C6C   809C6D   DATA    N   Destination in APU $3000 001C6E  001F46   809C6E   809F46   APU     N   APU 001F47  001F48   809F47   809F48   DATA    N   Length of packet to follow $263E 001F49  001F4A   809F49   809F4A   DATA    N   Destination in APU $09A8 001F4B  004588   809F4B   80C588   APU     N   APU 004589  00458A   80C589   80C58A   DATA    N   Length of packet to follow $0000 (terminate upload) 00458B  00458C   80C58B   80C58C   DATA    N   Destination in APU $3000

004FCD  0052BA   80CFCD   80D2BA   PTR     N   Pointers to RN, 3 bytes each, $FA total, range $00-F9

005336  00533E   80D336   80D33E   CODE    N   Jump to event command

005837  005879   80D837   80D879   CODE    N   (17) Event command - rest at inn

0058E8  005901   80D8E8   80D901   CODE    N   (1A) Event command - set storyline flag

005F09  005F12   80DF09   80DF12   CODE    N   (74) Event command - set battle background

006381  006395   80E381   80E395   CODE    N   (4B) Event command - play song

006406  00641E   80E406   80E41E   CODE    N   (53) Event command - boss battle

0068A8  0068AF   80E8A8   80E8AF   DATA    N   Bit table

006B9D  006BB4   80EB9D   80EBB4   CODE    N   Subtract gold, used by Event command $17 and another

006D51  006D67   80ED51   80ED67   CODE    N   Read next byte in Event command script

0076ED  007806   80F6ED   80F806   PTR     N   Pointers to Event commands, local, $8D total, range $00-8C 007807  007FAD   80F807   80FFAD   ---     N   UNUSED SPACE $07A7 bytes 007FAE  007FAF   80FFAE   80FFAF   DATA    N   TA(ito)? internal header marker 007FB0  007FBF   80FFB0   80BBBF   DATA    N   Extended internal header 007FC0  007FFF   80FFC0   80FFFF   DATA    N   Internal header

0080E9  0080F4   8180E9   8180F4   CODE    N   Check battle mode - $00 = dungeon, $01 = WMAP, $FF = boss 0080F5  008115   8180F5   818115   CODE    N   Battle mode $01 WMAP 008116  0081EB   818116   8181EB   CODE    N   Battle mode $00 dungeon 0081EC  00826E   8181EC   81826E   CODE    N   Battle mode $FF boss

00B919  00B94A   81B919   81B94A   CODE    N   Setup for decompressing battle background graphics and maps

01A5C5  01A5EE   83A5C5   83A5EE   CODE    N   Copy RN to RAM starting 7EF000

01F627  01F672   83F627   83F672   SPC     Y   (##) S2 "            " identical to 147CEA-147D35, partial 01F673  01FE55   83F673   83FE55   SPC     Y   (##) S2 "BIG BOS     " identical to 147D36-148518 01FE56  01FFFF   83FE56   83FFFF   SPC     Y   (##) S2 "LAST BATL   " identical to 148519-1486C2, partial 020000  020191   848000   848191   PTR     N   Pointers to sprite data sets, $C9 total, range $00-C8 020192  020560   848192   848560   DATA    N   Sprite data, 5 bytes each, includes pointers to sprites 020561  020658   848561   848658   DATA    N   MC index, 1 byte each, $F8 total, range $02-F9

020A39  020C28   848A39   848C28   PTR     N   Pointers to PS animation sets (+970000), 2 bytes each, $F8 total, range $02-F9

02BFC1  02BFC6   85BFC1   85BFC6   CODE    N   Set battle background $04 field on WMAP

034000  037FFF   86C000   86FFFF   ---     N   UNUSED SPACE $4000 bytes

06663A  066739   8CE63A   8CE739   DATA    N   Battle background index for each location, 1 byte each, 256 total, first two entries reserved for each WMAP 06673A  06674B   8CE73A   8CE74B   PTR     N   Pointers to boss battle data (+8CE73A), 2 bytes each, 9 total, range $00-08 06674C  066768   8CE74C   8CE768   DATA    N   (00,04) 066769  066785   8CE769   8CE785   DATA    N   (02) Catfish 066786  0667A2   8CE786   8CE7A2   DATA    N   (##) 0667A3  0667BF   8CE7A3   8CE7BF   DATA    N   (07) 0667C0  0667DC   8CE7C0   8CE7DC   DATA    N   (08) Tarantula 0667DD  0667F9   8CE7DD   8CE7F9   DATA    N   (##) Gades 0667FA  066816   8CE7FA   8CE816   DATA    N   (01) 066817  066833   8CE817   8CE833   DATA    N   (03) 066834  066850   8CE834   8CE850   DATA    N   (05) 066851  06686D   8CE851   8CE86D   DATA    N   (06)

0BA000  0BA3FF   97A000   97A3FF   GFX     N   4bp Catfish 0BA400  0BA7FF   97A400   97A7FF   GFX     N   4bp 0BA800  0BABFF   97A800   97ABFF   GFX     N   4bp 0BAC00  0BAFFF   97AC00   97AFFF   GFX     N   4bp 0BB000  0BB069   97B000   97B069   ANIM    N   PS animation set 0BB06A  0BB10B   97B06A   97B10B   ANIM    N   PS animation set 0BB10C  0BB14E   97B10C   97B14E   ANIM    N   PS animation set 0BB14F  0BB2F5   97B14F   97B2F5   ANIM    N   PS animation set 0BB2F6  0BB3A4   97B2F6   97B3A4   ANIM    N   PS animation set 0BB3A5  0BB3C6   97B3A5   97B3C6   ANIM    N   PS animation set (partial, freezes game) (locations $CD, $CE, $D3, $D4) 0BB3C7  0BB3C7   97B3C7   97B3C7   DATA    N   Unknown if this byte is a part of above PS animation set 0BB3C8  0BB6C7   97B3C8   97B6C7   GFX     N   2bp Dialog box 0BB6C8  0BB9C7   97B6C8   97B9C7   GFX     N   4bp

0DEB49  0DEB7F   9BEB49   9BEB7F   DATA    N   (F7) RN (empty) 0DEB80  0DEBB6   9BEB80   9BEBB6   DATA    N   (F8) RN (empty) 0DEBB7  0DEBED   9BEBB7   9BEBED   DATA    N   (F9) RN (empty) 0DEBEE  0DFFFF   9BEBEE   9BFFFF   ---     N   UNUSED SPACE $1412 bytes

0F2390  0F23AE   9EA390   9EA3AE   EVENT   N   (00) PH 0F23AF   0F23C6   9EA3AF   9EA3C6   EVENT   N   (01) PH 0F23C7   0F28B9   9EA3C7   9EA8B9   EVENT   N   (02) PH "OPNC    ETC_001 " Main - Opening 0F28BA  0F33DD   9EA8BA   9EB3DD   EVENT   N   (03) PH "CITY    CITY001 " Main - Elcid

125EB5  125EF5   A4DEB5   A4DEF5   EVENT   N   (F7) PH "KABU    KABU001A" Main - Mystic Stone 1 125EF6  125F30   A4DEF6   A4DF30   EVENT   N   (F8) PH "KABU    KABU001B" Main - Mystic Stone 2 125F31  126004   A4DF31   A4E004   EVENT   N   (F9) PH "KABU    KABU001C" Main - Mystic Stone 3 126005  12FFFF   A4E005   A5FFFF   ---     N   UNUSED SPACE $9FFB bytes

140000  1000A4   A88000   A880A4   PTR     N   Pointers to S2 SPCs, 3 bytes each, $37 total, range $00-36 1400A5  1400A7   A880A5   A880A7   PTR     N   Pointer to Taito logo graphics 1400A8  1400AA   A880A8   A880AA   PTR     N   Pointer to Taito logo palettes 1400AB  140392   A880AB   A88392   PTR     N   Pointers to M2 location maps, 3 bytes each, $F8 total, range $02-F9 140393  1403D4   A88393   A883D4   PTR     N   Pointers to MC tile assembly, 3 bytes each, $16 total, range $01-16 1403D5  140416   A883D5   A88416   PTR     N   Pointers to location tileset graphics, 3 bytes each, $16 total, range $01-16

14041D  140440   A8841D   A88440   PTR     N   Pointers to battle background graphics, 3 bytes each, $0C total, range $00-0B 140441  140464   A88441   A88464   PTR     N   Pointers to battle background maps, 3 bytes each, $0C total, range $00-0B

14077D  140C66   A8877D   A88C66   SPC     Y   (00) S2 "FIELD       "

1410F4  141828   A890F4   A89828   SPC     Y   (02) S2 "MACHI       "

144535  1449C1   A8C535   A8C9C1   SPC     Y   (0E) S2 "SORA        "

145749  145B43   A8D749   A8DB43   SPC     Y   (12) S2 "UMI         "

1492F5  149580   A992F5   A99580   SPC     Y   (20) S2 "KAICYU      "

14D09F  14D167   A9D09F   A9D167   SPC     Y   (35) S2 "ITEM GET3   " 14D168  14D21E   A9D168   A9D21E   SPC     Y   (36) S2 "ITEM GET4   " 14D21F  14F7BD   A9D21F   A9F7BD   GFX     Y   Taito logo on bootup $8000 bytes decompressed 14F7BE  14F91B   A9F7BE   A9F91B   PAL     Y   Taito logo palettes 14F91C  14FC11   A9F91C   A9FC11   MAP     Y   (02) M2 "OPNC    ETC_001 " Opening 14FC12  150534   A9FC12   AA8534   MAP     Y   (03) M2 "CITY    CITY001 " Elcid 150535  150DB7   AA8535   AA8DB7   MAP     Y   (04) M2 "ROOM    CITY001A" Elcid

15A4E9  15AD7C   ABA4E9   ABAD7C   MAP     Y   (16) M2 "JIND    JIND001D" Alunze B5

1C5653  1C5E3F   B8D653   B8DE3F   MAP     Y   (F9) M2 "KABU    KABU001C" Mystic Stone 3 1C5E40  1C634C   B8DE40   B8E34C   TASM    Y   (01) MC "OPNC" 1C634D  1C6FAB   B8E34D   B8EFAB   TASM    Y   (02) MC "CITY" 1C6FAC  1C7C65   B8EFAC   B8FC65   TASM    Y   (03) MC "ROOM"

1CB4A2  1CC787   B9B4A2   B9C787   TASM    Y   (09) MC "JIND"

1D4313  1D4EA4   BAC313   BACEA4   TASM    Y   (16) MC "KABU"

216369  21730D   C2E369   C2F30D   GFX     Y   (00) Battle background - desert 21730E  2187FD   C2F30E   C387FD   GFX     Y   (01) Battle background 2187FE  2192C9   C387FE   C392C9   GFX     Y   (02) Battle background 2192CA  21A0C8   C392CA   C3A0C8   GFX     Y   (03) Battle background 21A0C9  21B6D3   C3A0C9   C3B6D3   GFX     Y   (04) Battle background - field 21B6D4  21C280   C3B6D4   C3C280   GFX     Y   (05) Battle background 21C281  21D619   C3C281   C3D619   GFX     Y   (06) Battle background 21D61A  21EC16   C3D61A   C3EC16   GFX     Y   (07) Battle background 21EC17  21F655   C3EC17   C3F655   GFX     Y   (08) Battle background 21F656  21FC21   C3F656   C3FC21   GFX     Y   (09) Battle background 21FC22  2207E9   C3FC22   C487E9   GFX     Y   (0A) Battle background 2207EA  2213F7   C487EA   C493F7   GFX     Y   (0B) Battle background 2213F8  22163F   C493F8   C4963F   MAP     Y   (00) Battle background - desert 221640  221888   C49640   C49888   MAP     Y   (01) Battle background 221889  221AC4   C49889   C49AC4   MAP     Y   (02) Battle background 221AC5  221CB3   C49AC5   C49CB3   MAP     Y   (03) Battle background 221CB4  221F1A   C49CB4   C49F1A   MAP     Y   (04) Battle background - field 221F1B  2220CC   C49F1B   C4A0CC   MAP     Y   (05) Battle background 2220CD  2223C9   C4A0CD   C4A3C9   MAP     Y   (06) Battle background 2223CA  222634   C4A3CA   C4A634   MAP     Y   (07) Battle background 222635  22280B   C4A635   C4A80B   MAP     Y   (08) Battle background 22280C  222900   C4A80C   C4A900   MAP     Y   (09) Battle background 222901  222BAD   C4A901   C4ABAD   MAP     Y   (0A) Battle background 222BAE  222D8A   C4ABAE   C4AD8A   MAP     Y   (0B) Battle background