What happens, every frame, between holding a d-pad direction and Vahn taking a step in a town, a dungeon or on the overworld. The controller reads the pad relative to the camera, inches the player forward two units at a time against a per-scene wall grid, settles the height afterwards, and fires doors and story beats on the tile it lands on.
FUN_801D01B0 in the field overlay (PROT 0897), shared by towns, dungeons and the overworld walk. Not the tile-board puzzle mode that shares the overlay..MAP file at load; scripts paint story-conditional changes on top.World::step_field_locomotion (engine-core); collision is retail by default, precise free-angle movement is an opt-in enhancement (below).One pass of the controller, in order. Everything below the second step is about one question: may the player move two more units this way?
0x80000). This also blocks the pause menu.0x1000 Z+, 0x4000 Z−, 0x2000 X+, 0x8000 X−. A diagonal is two axes resolved independently, so a diagonal into a wall still slides along the open axis.Cross | R1 (mask 0x48), seeded once at new game and never rewritten: retail cannot rebind it.FUN_801CFE4C (walls and actors); the last committed direction per axis goes to 0x8007BDE0 (X) / 0x8007BDE4 (Z) for the settle and the camera follow, and the loop plays no sound. The port runs the same per-axis stepper over the same tables.The world is cut into 128-unit tiles, and each tile is split again into four 64-unit sub-cells. One byte per tile carries both a wall bit for each sub-cell and the tile's floor height.
1 << ((row & 1) × 2 + (col & 1))). Right: what a step tests. The footprint, not the centre, is checked, and one probe in a wall sub-cell is enough to refuse that axis. Probe distances are drawn to scale.31 00): underground Octam's bridge planks carry it while the bridge stands and drop it once it has fallen, so the fallen planks wall the bridge row off. The exemption’s other bit is not the script’s: it is the visibility cull, rewritten every tick, so an actor outside its region box or the camera’s tile window is no candidate however near it stands. A hit links the pair, which is how a door's touch script fires on contact.B1 <object> 00, the pass-through bit aimed at another object's channel: bylon's wing switches open the south doors the north entrance shut, cave01's band opens the rock over the cave mouth. The port carries that write to the placement's prop, so the opened object stops blocking at once.Retail runs two clocks: the vsync (60/s) and the game tick, one pass of the master frame driver. A scratchpad byte, the frame scalar, says how many vsyncs the last tick spanned (1..4, floored at 2 in field scenes and 3 on the overworld). Every duration and velocity inside the tick is multiplied by it, so a cadence change moves the sample rate, never the speed.
| Base step | Selected when | Units / second | Tiles / second |
|---|---|---|---|
5 | a kingdom world map (the run test is skipped) | 300 at multiplier 1.0 | 2.34 |
8 | plain walk | 480 | 3.75 |
0xC | run | 720 | 5.63 |
0x18 | debug turbo (dev flags only) | 1440 | 11.25 |
The overworld step comes from a per-scene MAN flag set on exactly the three kingdom maps, and each kingdom's entry script also sets the player's multiplier to 0xC00, so the overworld walk is (5 × 0xC00) >> 12 = 3 units per vsync. Reading a per-frame number in the wrong clock is where "the player moves 1.67× too fast" comes from; the port ticks once per vsync with the scalar at 1.
Nothing in a town's script says "this is a wall". The scene loader streams the scene's .MAP file into a per-scene buffer, and the collision grid is one region of it.
| Region | Content | Filled by |
|---|---|---|
+0x0000 | Object records: the buildings, fences and props (anchor tile, mesh index, rotation) | the .MAP file |
+0x4000 | Collision + floor grid, 0x80-byte rows | .MAP; story deltas painted by op 4C 7s |
+0x8000 | Per-tile word: low 9 bits object index, 0x400 object footprint, 0x800 elevation override | .MAP; footprint bits stamped at scene init |
+0x10000 | Trigger block: teleports, record triggers, ramp heights, region boxes | .MAP |
+0x12000 | Field pack and efect.dat; also the trigger lookup's fallback window | separate files |
The .MAP is the first 0x12000 bytes, streamed by CD-DMA at scene load; a write-watchpoint on the live grid catches only the DMA writer. Scripts then paint story-conditional rectangles on top with 4C 7s - Rim Elm's south gate stays painted shut until the story opens it.
Pressing the action button runs a separate probe: a radius-64 compass point in the facing sector against a ±72 NPC box. A hit engages the NPC's script and turns the player toward it. Props divide into two classes on one authored bit: doors open on body contact, cupboards (which run 31 1E in their spawn prologue) only on the button.
The spawn prologue is a real run of the script, so its class bits land in order: a door may raise the pass-through bit and drop it again on the arm its story flags pick. Biron Monastery’s airtight-chamber door does exactly that until its lever is pulled, and the wing beyond the hall is an airlock: the hall door shuts the wing’s south door as the party walks in, and the wing’s switch opens it and shuts the hall door behind.
The walk controller only writes X and Z. After it commits, a second controller re-samples the floor under the new position and glides Y toward it, 12 units a vsync; a third probes ahead along the last step and starts a scripted hop when the floor rises a ledge. The glide runs under a script's movement lock too, so a player a cutscene walks up a stair climbs it the same way.
Tile word bit 0x800 | Model | Used for |
|---|---|---|
| clear | Bilinear nibble surface: the four corner tiles' tiers through a 16-entry height LUT, weighted by sub-tile position | flat ground, gentle terrain |
| set | Elevation override: flat mean of the four corner tiers plus the tile's kind-2 record (−32 per whole-tile step, −16 per sub-cell step). No interpolation | ramps and staircases |
The kind-2 record replaces the bilinear branch; it is not a fast path on top of it. Rim Elm's shore ramps sit on sea-level nibbles and hold their whole elevation in kind-2 records; interpolating their nibbles walks the player under the drawn stairs.
Crossing onto a new tile (tile = (world − 0x40) >> 7, compared against last frame's) looks the tile up in the trigger block. Scene entry marks the compare stale, so the arrival tile fires on the first tick.
| Kind | Record | What it does |
|---|---|---|
0 | [x][z][dest_half_x][dest_half_z] | Intra-scene teleport - most house exits |
1, gate 1 | [x][z][p2_record][1] | Spawn a MAN partition-2 record if its story-flag gates pass: town exits (the record runs the named scene change), walk-on story beats |
1, gate 0 | [x][z][p0_record][0] | At scene init, bind a partition-0 record to the object on that tile as its touch script and idle clip - house doors, cupboards |
2 | [x][z][coarse:i8][quads:u8] | Ramp / staircase height (above) |
3 | [x0][z0][x1][z1][type], 8 bytes | Region boxes: camera zones, encounter regions |
A crossing made while a script holds the player - a cutscene, a conversation, a helper record - is spent, not deferred: the tile is stored and nothing is looked up. Deferring it instead fired the landing pad of rugi's warp pair on the first free frame and bounced the player between the two pads forever.
A beat that should play once self-latches: its script sets the very flag its gate lists, so it runs on the crossing that finds the flag clear and blocks itself afterwards. The gate bitmap is the field VM's own story-flag bank, so a set is visible to the next record immediately.
A town house is not a scene change: the interior is a sub-area of the same 128×128 grid parked in an unused corner, and the door repositions the player. Two door mechanisms exist, and one house can use one of each.
| Class | Mechanism | Lives in |
|---|---|---|
| Script door | A gate-0 bind whose record moves the player channel 0xF8 on contact - instant teleport (A3 F8), teleport + move clip (CC F8 51) or an animated walk to a tile (C7 F8) | MAN partition 0 |
| Map door | A kind-0 teleport tile: no object, no script, no name | .MAP trigger block |
Map doors are the larger class, and a MAN-only census cannot see them. Vahn's house is the mixed case: script door in, map door out.
A door teleport re-centres the placed-object window. The sub-area sweep keeps a list of the window-owned placements around the camera’s latched region box, and only a re-centre rebuilds it. A script door’s player arm (0x23 or 4C 51 aimed at the player) calls the re-centre on the landing tile, as do the kind-0 warp landing and the leader swap. Without it, leaving a house keeps the interior’s box and the street’s window-owned scenery stays hidden until something else re-centres. The port re-centres from the same arms: a door’s contact runs the door’s own record, whose jump goes through the player arm.
A map door also cuts the camera. The kind-0 landing loads the camera block of the region the player lands in and copies its shot straight into the camera, under the fade, so the view never eases across the door. On the Sol Tower stairs (kor3) retail lands on the upper flight’s fixed shot the frame the player is seated; the port had kept the lower flight’s block and swung its yaw round after the fade lifted. It now runs the same load and snap on the landing.
A scene’s system script often picks the current room from the region-type mask (_DAT_8007B8F4, one bit per kind-3 region box over the player): each pass it installs the first room whose bit is set - that room’s floor-height ladder, view window and floor oscillators. Retail writes the mask only when the player lands somewhere: a re-centre (scene entry, a door warp, a scripted player move, the leader swap), a camera-zone query, [4C 3D], or every frame while a script holds scratchpad bit 22. A walk never rewrites it.
That is what keeps overlapping rooms apart. conc’s southern hall shares one open column with the room on each side; a mask rebuilt per tile held both rooms’ bits there, and the selector installed the two ladders on alternate passes - every floor tier jumping hundreds of units a frame, the whole town shaking while the player stood by the wall. The port now latches the mask where retail does.
conc held still in retail and shook in the port. The selector installs the first room whose bit is set and whose band flag is clear, so a mask holding two rooms’ bits flips between their floor ladders; a latch only ever holds the room of the last landing.Every door bound to an object rides on its own record: retail’s touch post only marks the touched actor (+0x10 |= 0x100), and that mark is what lets the context runner step the actor’s script, so contact hands the touch to the prop runner, which executes the whole record - both doors, both walks and the jump between them. Sol Tower’s floor lifts show the shape; every pair is the same record with the partner id, the walk tiles and the landing changed.
Two engine shortcuts used to hide both doors: applying the record’s decoded teleport on the first contact frame put the player on the far floor before the near door moved, and stepping the partner ops on the record’s own context swung the near door twice and the partner never. Every object door’s record is now left to the runner; an interact-gated object, such as a lever, waits for the confirm press instead.
A door record that animates someone else writes that actor’s words. Some door records move an NPC standing beside them: the clip ops in the record name the NPC by id, so they set the NPC’s clip and its clip-control bits, and a wait on the clip’s end waits on the NPC’s clip. The dance-hall door in Sol Tower (koin3) is the clearest case. With the Gold Card shown, the door swings open and its doorman steps aside; without it, the doorman steps into the doorway, the player is pushed back a step, and the door stays shut. The block carries no text - the Gold Card exchange is the doorman’s own conversation, which checks the bag for the card and, on Yes, raises the flag the door tests. The port used to run the doorman’s clip ops on the door itself, so without the card the door swung open and kept looping its swing while the doorman stood still. Door and counter records walk, turn and face NPCs the same way: the walk or turn plays on the NPC, the record runs on, and its next command to that NPC waits until the NPC has arrived - the Ancient Wind Cave’s inn counter walks its keeper to the counter before he greets you. Object records drive an NPC’s clip or legs in Drake Castle, the Ancient Wind Cave, Nivora Ravine, the Shadow Gate, Zora Castle, West Voz Forest and Rim Elm.
A doorway with no animated prop is a door too. Rim Elm’s house doors wash the screen white, wait out the wash, jump, and fade back in under a time-of-day tint, all from the door object’s record; the port used to skip straight to the jump. The same cross-object ops drive lifts, gondolas and gates in several other dungeons.
Every placed object takes its mesh from its map record, whatever the record’s number. The port used to treat records 1 to 3 as the party’s own models and draw nothing for them; retail draws them like any other, and five placements on the disc sit on them. The double door in the archway off Conkram’s past plaza is one: the port left the archway open.
The scene-init sweep spawns an actor for every bound object, so two objects whose key tiles name the same record are two actors running one script under one id. Almost two objects in five on the disc share a record this way: Mt. Rikuroa’s summit binds 46 props to one record, one Sol Tower stairway 31. An op aimed at that id reaches only the first of them the sweep spawned, and a retired actor leaves the list, so the next op reaches the next one: a summit beat takes six of them away one at a time with six identical retire ops, eight frames apart. The port used to keep one script context per record and draw every object on it from that one context, so the first retire op took all 46 props at once. It now runs one context per object, each seated at its own position and angle, and both play hosts read each placed object’s live position, turn, tint and visibility from its own actor.
Pressing the action button probes a point ahead of the player against every actor's box, and the hit is a conversation when the actor carries the talk flag. An undrawn placement can stand in for a speaker the probe cannot reach: its record only marks another actor as touched, and the context runner then plays that actor's conversation. Conkram's gate guards (concnow) are spoken to this way. The port reads such stand-ins at scene entry and answers a hit on one with its target.
When the floor ahead rises a ledge, the walk does not climb it: a setup routine spawns two helper actors, raises the movement lock and hands the player to an arc controller with its own cursor, separate from the clip system.
jouind lands exactly so. The port's landing guard refuses such a hop; it is an enhancement, on by default and off in the retail-faithful mode.Not retail. With WorldToggles::action_movement on, the walk and its settle give way to a fixed-point platformer body from legaia_engine_field::action_movement: momentum, a sprint, a jump and a second jump in the air, a dash, coyote time and a jump buffer, with gravity onto the scene's floor levels. It takes the player only where the walk would have: every pad lock still holds, and doors and touches still fire because the body keeps publishing the position and the pushed direction they read. Off, the walk is byte for byte the retail one.
| Button | Under action movement |
|---|---|
| D-pad / left stick | steer, camera-relative, with momentum |
| Square | jump; press again in the air for the double jump; let go early for a lower jump |
| R2 | dash along the stick, or the facing |
| Cross / R1 | sprint (inverting the Field Move option); Cross still talks |
play-window --action-movement, the launcher's Action movement row, or the Action movement box in the play page's Gameplay tweaks panel. Retail-faithful mode holds it off.Collision asks two questions at once: is there a wall, and is there somebody. Before the wall probes, each step tests three points against every other actor - a wider sweep than the wall edge, 64 units ahead and 32 to either side, because actors block with a body box. The same step then decides whether the contact means anything.
| Contact | Needs a press? | What happens |
|---|---|---|
| Walking into a static prop of the touch class | no | The prop's event is posted on the spot, on every contact step |
| Anything else - an NPC, a cupboard, a sign | yes, a fresh press of the interact button | One probe at a single point 64 units ahead in the facing's 45-degree sector, box-tested against the whole actor list |
The locomotion controller never places the player. The scene initializer does, and it picks between two behaviours from a one-shot word the departing mode leaves behind and the initializer clears on its way out.
| Entry word | Meaning | Reached by |
|---|---|---|
| 0 | Cold: a fresh player actor, seated on the destination's entry coordinates | every door, New Game, movie exits that name a scene |
| 2 | Warp: the existing actor reused, standing where the party left | the return from a battle, a minigame or a resumed movie |
| 1 | transient - renormalised to 2 before the initializer runs | the mode-transition pass on the way out of the field, which also snapshots the player's X and Z |
Retail never enters a scene without a door operand, but the port's scene picker can. A picker entry first tries the scene’s door arrivals - where other scenes’ scene-change ops land the party, an overworld’s object-bound town mouths included (engine). An arrival on a door frame or trigger tile steps to the nearest whole standable tile, at its centre, so a picked Zeto’s Dungeon (garmel) starts one tile inside the hall rather than on the path behind its exit. A scene no door seats takes a seat its own scripts give the hero (the ending’s Rim Elm, town0e, seats where its epilogue stands him), and only when none qualifies does it synthesise a seat: retail's own fallback coordinate when it is standable, inside the scene's main walkable region and not on a teleport pad; otherwise a door-arrival anchor, then the region's centroid.
A scene does not hand you the controller the frame it appears. Retail has one pad-hold word, _DAT_8007B6B4, that the player's tick drains by the frame step and tests before it reads the pad; while it is non-zero the player stands idle, no encounter is rolled and the party HUD stays in its entry arm. Several routines write it, and two of them are on every route through the field.
FUN_8003AEB0 ends with a tail call to FUN_8003ADAC, which stores 0x28 and clears the movement lock. Every map install passes there - a door, a save load and a return from battle alike - so every scene opens with the pad off for 0x28 vsyncs.0x1E-frame ramp from white down to nothing. Subtracting white is black, so the scene appears out of black. System flag 0x1B turns both to add mode for one install, which opens out of white instead.0x28 frames after the pad does. After a fight it comes up at once: the encounter hand-off raised a short-idle marker that survives the battle, and the entry arm shortens the countdown to zero.vell random encounter left by Run: the hold reads 0x28 from the field-back load and drains by 2 a tick, the screen is black for the first 12 field vsyncs and back at the scene's level by vsync 33, and the short-idle marker clears on the frame the hold reaches zero. The readout times assume the Immediate HP-display option and a player who stands still.Closing a dialogue does not hand the pad straight back either. The script runner raises a yielded latch when a context parks on a text segment; when the last context ends and the modal depth falls to zero, it clears the player's engaged bit and, with the latch up, stores 0x10 into the same hold word. A capture of a town NPC paged with Cross reads 16 on the release frame, draining by 2 a tick; the next talk opens only once it reaches zero.
In the port. World::seat_map_install_tail seats the post-load hold on every field scene entry and on the way back from a battle, and the overworld's pad step drains and tests it as the field's does. The two entry-fade actors run among the screen effects both hosts composite; before they were seated a scene cut straight in. World::tick_script_release_hold stores the release hold on the frame the engine's dialogue engagement falls; script contexts with no box (cutscene timelines, helper records) do not count, since their release has not been captured.
The pad remap rotates the held direction by an eighth-turn index. Nothing in retail derives that index from the camera. Its writers across the whole disc are two, and both are content: a field-VM op that sets it to a literal, and the tile-board walker. A scene author picks the octant to match the fixed camera the same script installs; a bare tile crossing never changes it.
| Step | When |
|---|---|
| 5 | Forced slow: the per-scene flag set on exactly the three kingdom maps. With the overworld's three-quarter scale that is 3 units per vsync, and the player never runs there |
| 12 | Run |
| 24 | A debug turbo behind the debug-mode word, a dev word and a pad bit. Retail boots the dev word to zero and only ever clears it, so the turbo is unreachable on a retail disc even with the debug-mode byte poked; the port carries the arm behind the same mirrors |
| 8 | Plain walk |
The walk clip is chosen the same way the step is: no direction held is the idle base, a direction under the plain walk step is the walk base, and any other step is the run base. The run button word is one of four button masks the new-game init seeds into the save block; that init is their only writer anywhere, so retail has no way to rebind them.
The placement record has no facing byte. At spawn the installer pre-runs the record's leading ops (a 0x24 / 0x25 marker up to the first 0x21), and two of them write the heading from the 8-direction LUT at SCUS 0x80073F04: the NPC move-to-tile op 4C 51 (operand +3, low nibble) and op 0x38's simple path. Town prologues route that leg through story-flag tests, so the fall-through branch is the fresh-game facing. Rim Elm's side-by-side villagers at tiles (29,22) / (30,22) derive indices 6 and 2 - they face each other.
Heading space: retail 0 = Z−, 0x400 = X−, 0x800 = Z+, 0xC00 = X+. After spawn, walking snaps the heading and the rotate ops ramp it; the last writer in the frame draws (motion VM).
An NPC's pace is not the player's walk step - the walk kernel never reads the speed multiplier. Both NPC walk kernels carry the base step in the walk op's own operands, on the ladder numerator >> (2 + bits) units per vsync.
| Op | Where bits lives | Numerator |
|---|---|---|
0x37 glide | (op0 >> 5 & 4) | (op1 >> 6) | 0x80 |
0x41 glide | same | 0x40 - half speed |
0x47 walk-to-tile | b2 & 7; high nibble = approach mode | 0x80 |
motion-stream steps 03 / 19 / 20 | operand byte 1, low nibble | 0x80 |
motion-stream 06 / 18 | 4-bit selector over the operands' high bits | 0x80 |
Base steps run 32 / 16 / 8 / 4 / 2 / 1 for bits 0..5. There is no synthesised motion bytecode: the field VM parks the op's address on the actor and the walk kernel reads the record bytes in place each frame.
World::step_field_locomotion rings the held pad around the same eight-direction compass, hands the remapped mask to the wall-slide resolver and walks the result through the same per-axis 2-unit collision with the three-probe edge and the actor boxes. Wall-press captures rest byte-exact. Retail picks its rotation step from scene data; a free-orbiting camera has none, so the port rounds the live camera azimuth to the nearest eighth.options::precise_movement, default off): continuous azimuth, true 45° diagonals at unit speed, analog stick angle. --no-edge-collision / --no-solid-npcs fall back to a centre test and walk-through NPCs.WorldToggles::action_movement (--action-movement, default off, off in retail mode) swaps the walk and its settle for a fixed-point platformer body from legaia_engine_field::action_movement: momentum and sprint, Square to jump and jump again in the air, R2 to dash, coyote time and jump buffering, gravity onto the floor levels. Walls still block, a stair is climbed, a taller ledge takes a jump; every pad lock still holds the player, and doors and touches still fire.World::sample_field_floor_height carries both height models.Cross | R1 plus Square; which key is which pad button is a host binding (legaia-engine config set --binding W=R1).| Function / data | Address | What it proves | Dump |
|---|---|---|---|
| Locomotion controller | FUN_801D01B0 | Gate, remap, speed, 2-unit step loop; found by a write-watchpoint on the player X/Z (stores at 0x801D0684 / 06E4 / 0744 / 07B4) | autorun_player_pos_watch.lua, field overlay dump |
| Wall collision | FUN_801CFE4C / FUN_801D56C4 | Biased sub-cell mapping, quadrant bit select, probe tables DAT_801F21B4 / 2214 | field overlay dump |
| Actor collision | FUN_801CFC40 | Static ±80 / moving ±40 boxes, contact classes, +0x98 link | field overlay dump |
| Wall slide | FUN_80046494 | Three-point probe, perpendicular sweep, diagonals untouched | funcs/80046494.txt |
| Pad remap | FUN_800467E8 | Eighth-turn rotation over the 8-direction ring DAT_800766FC | funcs/800467e8.txt |
| Frame scalar | FUN_80016B6C | DAT_1F800393 picked from a VSync(1) measurement with per-mode floors | funcs/80016b6c.txt |
| Floor sampler | FUN_80019278 | Bilinear vs override on cell bit 0x800; LUT at scratchpad 0x1F80035C | funcs/80019278.txt |
| Settle / hop | FUN_801D1BA0 / FUN_801D1878 | Step-delta globals 0x8007BDE0 / E4, hop arc | field overlay dump |
| Walk-on dispatch | FUN_801D1EC4 → FUN_801D5630 → FUN_8003BDE0 | Tile compare, trigger scan with the +0x12000 fallback, gate check | field overlay dump, funcs/8003bde0.txt |
| Object spawn | FUN_8003A55C / FUN_8003AEB0 | Object record fields, bind lookup, footprint bit, LUT fill | funcs/8003a55c.txt |
| Grid source | FUN_8001F7C0 via CD-DMA FUN_8005D9A0 | The only writer of the live grid is the DMA load; scripts paint deltas | funcs/8001f7c0.txt |
| Wall paint | 0x801E1C64 (op 4C 7s) | Rect [col0, col1+1) × [row0+1, row1+2); subs 0/1 six bytes, 2/3 seven | overlay_0897_801de840.txt |
| Wall-press captures | PCSX-Redux states | X− press pins the 47-unit edge; Z− press pins the authored Z bias | capture states |
Full write-up, including the hop-arc controller, the door-swing clip binding, the timed warp and the scripted-scene actor programs: docs/subsystems/field-locomotion.md.
The player actor pointer is _DAT_8007C364. Read +0x14/16/18 as 16-bit: a 32-bit read of +0x14 folds the next word into X and looks like position drift.
| Offset | Meaning |
|---|---|
+0x10 | flags: 0x80000 movement disabled, 0x1000000 interact requested |
+0x14 / 16 / 18 | world X / Y / Z (s16, 128 units per tile); Y is the ground-follow height, not a yaw or tilt |
+0x26 | heading, eight angles |
+0x72 | speed multiplier, 0x1000 = 1.0 |
+0x94 | encounter-record pointer |
+0x98 | interaction-target actor |
| Offset | Type | Meaning |
|---|---|---|
+0x00 | u16 | X sub-tile offset: world_x = col × 128 + this + 0x40 |
+0x02 | u16 | Y offset added to the tile's LUT floor height |
+0x04 | u16 | Z sub-tile offset: world_z = row × 128 − (this − 0x40) |
+0x06 / 07 | i8 | Footprint column / row delta to the anchor tile |
+0x08..0x0C | u16 × 3 | Rotation triple, 4096 per turn (+0x0A = yaw) |
+0x10 | u16 | Mesh index into the scene TMD pack |
+0x12 | u16 | flags; 0x4 = placed |
A placed record becomes an actor through exactly one of two sweeps. The scene-init sweep resolves the record's bind (the gate-0 trigger on its footprint anchor) and skips unbound records; the sub-area window rebuild spawns from the tile words with no bind lookup. The sets are complementary (Rim Elm: 37 bound + 9 unbound = 46), so every placed record draws. A bound record with a clip id is posed by that clip's frame 0 - the cupboard's hinge doors hang through the floor without it. Parser legaia_scene_formats::field_objects.
.MAP, which script, which encounters.MAP is the PROT slot at define − 2 from the scene's CDNAME block; its 0x12000 footprint identifies it.0xFB. Its wall paints sit behind story-flag tests: map03 paints tile (66, 102) solid behind flag 0x6C2 and clears three rects behind 0x378._DAT_80073EF4 / EF8: the door's operand on a scene change, the saved coordinates on a return from battle, a minigame or an FMV. (0xA40, 0, 0xA40) is where the ambient particle emitter spawns, not Vahn's seat.Some field actors are small programs rather than NPCs - the hop-arc controller, door swings, one-shot props. FUN_801D4A60 is a 38-state jump table on the actor's +0x54 whose entry state computes +0x54 = +0x54 + 1 + (+0x50 × 10): +0x50 is a program selector, and the table is four short programs of 5, 5, 6 and 7 states entered at 1 / 11 / 21 / 31. Spawner FUN_801D5A24(program).
Opening a field sub-screen (op 0x49) parks a state in the scene struct: the pre-enter handler slot, then the submode return constant 7, into scene[+0x40]. Nothing reads it. A disassembly sweep of the executable and every overlay image finds no load of +0x40 through the scene pointer, and a read watch across a field-to-minigame transition sees neither word read while the pointer still names the scene. The return is carried by the driver’s own handler slot, so the port collapses enter and return into one step and keeps no copy of the parked word.
Walls were once thought to be authored entirely by scripts (a static search for CPU stores cannot see the DMA load). The +0x8000 region was read as a terrain-flag grid; it is the object map. The object table was read as NPC spawns rather than buildings. Base step 5 was read as a scripted slow-walk; it is the kingdom overworld's step. The 4C 51 operand was read as a glide speed; it is a facing nibble. See do-not-re-walk.