Falsebound Archive
6 Formats 6.5

Mission scripts (.lsc)

Missions are named by story: y01-y11 and Y12-Y23 for Yugi, S01-S22 for Seto Kaiba, J01-J11 for Joey (the game asks for lowercase names). The last file of each story (Y23, S22, J11) has no map: it is the story’s ending.

Where
files/y01-y11.lsc, Y12-Y23.lsc, S01-S22.lsc, J01-J11.lsc (56 files; the game asks for lowercase names)
Size
0x4130 bytes each
Command slots used
72 (Y20) to 305 (y01); endings 10 to 30
Interpreters
Two, the story hub’s (a subset) and the map’s (all opcodes)
Byte order
Big-endian

Layout

Offset Content
0x00 header: byte 0 non-zero (1 or 12 on the disc) plays the dawn and dusk sounds (06:15, 18:45); byte 1 (not read; matches the mission number only in y01-Y17); start day/hour/minute at +2-+4; end time (time limit) at +5-+7; seven facility prices ÷ 10 at +9-+0xF
0x11 eight 0x11-byte town (node) records: owner (0 player, 1 enemy, 2 third party, 0xFF unused), attitude, kind (1 = headquarters), two facility kinds, value ÷ 10 in gold, a skill card the player gets (with the gold) the first time a player unit takes the base, the trader chance (rolled as chance + 1 in 101), three skill cards for sale, six bytes nothing reads (except the last of node 7, below)
0x98-0x9B the last byte of node 7 is the gold reward ÷ 10; the next three bytes are up to three skill cards given on a win (0xFF none)
0x9C, 0xA2 three victory and three defeat condition message ids (0xFFFF none)
0xA8 sixteen 8-byte unit placements (in a base, or on the map at x, z)
0x128, 0x12A two entry points: where the story hub resumes, and the start of the map part
0x12C always 00 00 00 5A; not read
0x130 0x400 commands of 16 bytes

Commands

Each command is kind, op and 14 argument bytes. Kind 0 is a command, kind 0x4C a marker that starts a block (its halfword at +2 becomes the script mode while the mode is below 4), kind 0xFF a skip record that ends a section. Opcodes 12 to 65 cover cut-scenes (12), fades (13, 14), dialogue (22), camera moves, waits, jumps, battle triggers (32-34), giving and removing monsters, cards and marshals (35, 36), the end of the mission (39), enemy squads (41), sixteen conditions (48-63) and sounds (64).

A file is laid out in modes: 0 and 1 empty, 2 the story hub’s intro (dialogue, models) ending in a skip, 3 the map set-up ending in a jump to mode 4, then the polling loop of conditions, each of which calls a block. A condition’s target is 0 to fall through, 0xFFFF to return, or an offset to call (on a stack of four). Jumps are byte offsets in the file; a command’s index is (offset − 0x130) / 16.

The interpreter runs commands until one of them waits, so a block must end in a return, a jump or a skip, and a loop with no waiting command freezes the game. Unused slots are zero, and an all-zero command waits forever.

Command bytes that no opcode reads are not zero: they hold whatever the authoring tool had in memory (fragments of its own file names, float patterns). Some are regular: every marker starts 4C 6B, every skip with five 0xFF bytes.

Rewards and later playthroughs

A won mission pays the gold of byte 0x98 × 10, minus a tenth of the summed rating of every monster in your units (on the map or in a base, standing or not), never below 0, and every skill card listed at 0x99-0x9B; there is no random roll. Monsters are given by command 35 (one monster, or one of the story’s start units with its monsters) and by command 42 (a start unit). Condition 63 asks whether any story has been cleared: the last missions of Yugi’s and Seto’s stories use it to add a level-99 Egyptian God boss on a later playthrough.

Evidence

Both interpreters are part of the decompiled code. The facility kinds were first documented in Tom and ZZNap1’s research sheets (see Credits) and are confirmed by the code. All 56 scripts were decoded and rebuilt byte for byte, and scripts with inserted commands were played to a win to confirm the layout of jumps and calls.