If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working at any time.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
The Final Fantasy Legend
Jump to navigation
Jump to search
| The Final Fantasy Legend |
|---|
|
Also known as: Makai Toushi Sa・Ga (JP) |
| The Final Fantasy Legend | |
| Internal Name | SAGA |
| Region Code | Not Japan |
| Type | DMG |
| SGB Support | No |
| Cartridge Type | ROM + MBC2 + Battery |
| License Code | OLD $C3 (SQUARESOFT) |
| ROM Size | 128 KiB |
| ROM Checksum | $BE66 |
| SRAM Size | 0 KiB |
| Header Checksum | $FF |
Sub-pages
| ROM map |
| RAM map |
Technical Overview
The Final Fantasy Legend uses an MBC2 memory bank controller with 8 switchable 16 KiB ROM banks (128 KiB total). The game features a deterministic RNG system where seeds at $C300-$C37F are consumed in a fixed order, causing identical outcomes on fresh saves when performing the same sequence of actions. Text encoding uses tile indices with DTE (Double Tile Encoding) compression for common character sequences.
Notable Technical Features
- RNG System: 128-byte RNG seed table at WRAM $C300-$C37F, with each address used for specific game events (mutant growth, encounters, item effects). See [TASVideos GameResources: Final Fantasy Legend](https://tasvideos.org/GameResources/GB/FinalFantasyLegend) for complete semantics.
- Text Encoding: Tile-based text system with DTE compression. Text routines at Bank 6 CPU $6008 (copy $DE00→$C600) and $63DE (copy $C600→VRAM $9900).
- Battle System: Post-battle mutation effects handled via dispatch loop at ROM $193BF (Bank 6). Character/monster data table at $1AAE8 (200 entries, 8 bytes each).
- Save Format: Battery-backed External RAM (A000-BFFF). Single save slot with 64 bytes per party member × 4 slots = 256 bytes, plus inventory and progress data.
Known Technical Issues
- Multiple documented combat bugs (SAW logic reversal, multi-hit Agility bug, drain counter bug) - see Fledermaus fmtweaks.txt for fixes
- Deterministic RNG behavior on fresh saves (same actions produce same results)
- Text display timing issues in some scenarios (window/tilemap synchronization)
Version Information
- USA Version: ROM checksum $BE66, 128 KiB ROM
- DX Version: Expanded to 256 KiB ROM (16 banks), adds colorization support
- Japanese Version: Makai Toushi Sa・Ga - may have different ROM layout
Data Tables
Key ROM data locations (see ROM map for complete listing):
- Character/Monster Table: $1AAE8 (200 entries, 8 bytes each)
- Ability Data: $1B700 (255 entries)
- HP Values: $1B254 (2 bytes per monster, 16-bit LE)
- Character Names: $14000
- Ability Names: $14640
- Mutation Data: $1BF00-$1BFFF (frequency, values, abilities)
Save File Format
- Location: External RAM A000-BFFF (8 KiB)
- Structure:
** A000-A03F: Party Slot 1 (64 bytes) ** A040-A07F: Party Slot 2 (64 bytes) ** A080-A0BF: Party Slot 3 (64 bytes) ** A0C0-A0FF: Party Slot 4 (64 bytes) ** A100-A1FF: Inventory (256 bytes) ** A200-AFFF: Progress data (event flags, world state)
- Runtime Gold: WRAM $CC8E-$CC8F (packed BCD)
External links
- Disassembly Projects:
- saga1dx (GitHub) — RGBDS disassembly and colorization patch; layout.link, rom.asm, wram0/wram1 (primary source for map labels).
- ffl1-color (GitHub) — WLA-DX colorization disassembly; available for comparison.
- ROM Editor:
- Fledermaus (RHDN) — Includes formffl.txt with 239 documented labels and offsets
- Technical Dumps:
- Tower Reversed — Meat transformation theory, text dumps, flag documentation
- RNG Documentation:
- TASVideos GameResources — Complete RNG seed semantics and deterministic behavior explanation
- Miscellaneous:
- More non-ROM hacking specific information can be found at Wikipedia's The Final Fantasy Legend article.
The Final Fantasy series
| |
|---|---|
| NES | Final Fantasy • Final Fantasy II • Final Fantasy III |
| SNES | Final Fantasy IV • Final Fantasy V • Final Fantasy VI • Final Fantasy Mystic Quest |
| Game Boy Advance | Final Fantasy Tactics Advance • Final Fantasy IV Advance • Final Fantasy V Advance • Final Fantasy I & II: Dawn of Souls |
| PlayStation | Final Fantasy VII • Final Fantasy IX |
| PlayStation 2 | Final Fantasy X |
| WonderSwan | Final Fantasy • Final Fantasy II |
| Legend | |
| Game Boy | The Final Fantasy Legend • Final Fantasy Legend II |
| Spinoffs | |
| Game Boy | Final Fantasy Adventure |
| SNES | Final Fantasy: Mystic Quest |
| See Also | |
| SaGa • World of Mana | |
The SaGa series
| |
|---|---|
| Game Boy | The Final Fantasy Legend • Final Fantasy Legend II |
| SNES | Romancing SaGa 3 |
| PlayStation | SaGa Frontier |
Categories:
- Pages missing developer references
- Games developed by Square
- Pages missing publisher references
- Games published by Square
- Games published by Squaresoft
- Game Boy games
- Pages missing date references
- Games released in 1989
- Games released in December
- Games released on December 15
- Games released in 1990
- Games released in September
- Games released on September 30
- Pages with TCRF links
- ROM + MBC2 + Battery Game Boy games
- Game Boy games of 128 KiB ROM size
- Game Boy games of 0 KiB SRAM size
- Final Fantasy series
- SaGa series
