LostMagic: game data for building your own version
LostMagic is a tactics game. Isaac, the hero, casts spells by drawing runes on the touch screen and fights alongside the monsters he recruits, through a story whose choices lead to four endings.
These files hold the game content (US version): sprites and animations of every unit, character portraits, battle maps with where each enemy starts, the full story with its choices and the logic that orders the missions, texts in English, Spanish, French and German, music, sound effects and the rest of the art. Use them to build a version of the game on any platform.
Base URL: https://lostmagic.app/
Paths inside the JSON files start with / and are relative to the base URL.
To download everything at once: https://lostmagic.app/data/files.txt (one URL per line).
Play
/play/ presents LostMagic for the browser and links to /play/godot/.
Draw runes with your finger or mouse. The site only offers the game in the browser; the native app is coming to Steam, Google Play and the App Store.
The novel (/novel/) and battles (/battles/) keep their pages, outside the site navigation.
Files
| File | Contents |
|---|---|
/data/units.md, /data/units.json |
The 84 units (77 with a name, the rest unnamed appearances), each linking to its details |
/data/units/<slug>.md, /data/units/<slug>.json |
One unit: its stats, sprite sheet, the exact place of every frame, and its animations |
/data/levels.md, /data/levels.json |
Levels 1 to 50: experience, the growth curves of the stats and the Line Up capacity |
/data/rules.md, /data/rules.json |
The game's limits: team, monsters, items, levels and experience |
/data/ai.md, /data/ai.json |
Movement and AI: routes, target search and the units' orders |
/data/duel.md, /data/duel.json |
The duel mode: the ready-made teams and the Wi-Fi rating |
/data/items.md, /data/items.json |
The 8 items: what they raise, how much at each level and which chests hold them |
/data/chest.md, /data/chest.json |
The treasure chest as a sprite: its closed picture and its five animations |
/data/appear-seals.md, /data/appear-seals.json |
The appear seals that glow on the floor of some battles, and how a unit comes out |
/data/spells.md, /data/spells.json |
The 396 spells: runes, MP, aiming, power, status, terrain and their numbers |
/data/spell-families.md, /data/spell-families.json |
The families of similar spells, what changes inside each one and each spell's total effect |
/data/best-spells.md, /data/best-spells.json |
The best spells for the player: yield per MP, big jumps, the ones not worth moving up to, a stroke score for each rune and spell, and the ranking by battle situation |
/data/spell-scenes.md, /data/spell-scenes.json |
Scenes: graphics, palettes, frames and sounds for 396 spells; 90 units and 141 statuses |
/data/runes.md, /data/runes.json |
The 18 runes: the strokes the game accepts, where they are learned and the MP of each |
/data/rune-strokes.md, /data/rune-strokes.json |
640 test strokes for the rune recognizer and what the game gives for each |
/data/statuses.md, /data/statuses.json |
Status effects: what they do, how long they last and which spells cause them |
/data/combat.md, /data/combat.json |
Battle constants: opposite elements, normal attacks, shots and element-level growth |
/data/camera.md, /data/camera.json |
The battle camera: world bounds, D-pad, chant recentring, scripts, shake, top screen and each map's backdrop speed |
/data/aiming.md, /data/aiming.json |
Aiming a spell: how each mode is aimed, the arrow of the shots, the reticle, the areas, the icons and the range shade, with their pictures |
/data/damage-numbers.md, /data/damage-numbers.json |
The damage and healing numbers over units: digits, colours, place and how long they stay, with their pictures |
/data/chant-screen.md, /data/chant-screen.json |
The chant screen: the magic circle and the layer that dims the field, the stroke and the top screen's rune list, with their pictures |
/data/battle-end.md, /data/battle-end.json |
The end of a battle: the WIN, LOSE, DRAW and TIME OVER banners, their timing and music, and the results screen after a win, with their pictures |
/data/title-screen.md, /data/title-screen.json |
The title screen: both backgrounds, the five buttons with their label in each language, how they come in, the touch and where each one leads |
/data/enemy-marker.md, /data/enemy-marker.json |
The letter next to every enemy's HP bar: picture per language, position and when it shows |
/data/characters.md, /data/characters.json |
The 19 story characters and their portrait expressions |
/data/maps.md, /data/maps.json |
The 55 battle maps and their 176 battles: missions and starting units |
/data/world-map.md, /data/world-map.json |
The world map: 44 places, 50 paths and what each place offers in each chapter |
/juego/data.json |
The story and its logic: chapters, missions, scenes, battles, flags and endings |
/juego/textos/<en|es|fr|de>.json |
Every text of /juego/data.json in one language |
/data/audio.md, /data/audio.json |
24 songs and 147 sound effects |
/data/gallery.md, /data/gallery.json |
818 more pictures: runes, spells and effects, backgrounds, world map, interface, unused art |
Conventions
- Every file under
/data/comes in two formats with the same content:.md, as tables, easier to read and lighter in tokens, and.json, to load the data in a program. The fields described below are the JSON keys; the Markdown tables use the same names as column headers (name.en,name.esfor the two languages). - Each of the game's two screens is 256×192 px. Story scenes are drawn for the top one.
- Coordinates are in pixels, from the top-left corner, with y growing downwards.
- Durations come in ticks of 1/60 s.
msfields are the same, rounded. - The art is pixel art: scale it by whole numbers with nearest-neighbour sampling to keep it sharp.
- Names come in English and Spanish as
{ "en": …, "es": … }. The story has four languages. - Pictures are PNG; animated GIFs are previews only. Audio is AAC in
.m4a: convert it if your platform does not play AAC.
Units and their animations
/data/units.json lists every unit: uid (the id battles and the story use; null for unnamed appearances), slug, name, element (fire, wind, water, earth, dark, light or null), a portrait picture, the sheet, and details, the URL of its full data.
Each unit has one sprite sheet: a PNG holding every frame the unit uses. sheet.cells gives the exact rectangle of each frame on it (x, y, w, h); the position in that list is the frame's number.
An animation is a loop of frames drawn on a fixed canvas of width × height:
- Each item of
framessays which sheet frame to show (cell), where its top-left corner goes on the canvas (x,y) and for how long (ticks). The same cell can appear several times. originis the unit's anchor point on the canvas. It stays fixed while the frames move around it, which is how jumps and attacks move the body. Put the canvas so thatoriginfalls on the unit's position.actionandfacingsay when the game plays it: the unit's action and which way it faces (downfront view,upback view,left,right; empty when the action has no facing).usedisfalsefor the ones that are drawn but never played.previewis the same animation as a GIF, to see what it shows. GIFs store times in 1/100 s and merge repeated frames, so useframesfor timing.
The actions:
action |
When |
|---|---|
idle |
Standing still. Usually a single frame, on the sheet but not as an animation |
walk |
While it moves |
attack |
Its normal attack, up close or from a distance |
chant |
While the runes are drawn (Isaac and bosses) |
cast |
When the spell is released |
knocked_back |
A spell that knocks units down hits it; get_up follows |
get_up |
Standing up again after the fall |
sleep |
A spell puts it to sleep |
dance |
Isaac, with the dancing spells |
trapped |
A capture trap holds it |
captured |
The capture works |
die |
Its HP reaches 0. Plays once; half a second later the unit fades out |
run, victory |
Drawn, never used (used: false) |
When a unit has no animation of its own for an action, it keeps its idle pose. Right-facing animations are separate drawings, not a mirror made at play time.
{
"uid": 1,
"slug": "isaac",
"name": {
"en": "Isaac",
"es": "Isaac"
},
"element": null,
"description": {
"en": "A 14 year old boy. His face plainly displays his emotions.",
"es": "Un joven. Su rostro muestra emociones."
},
"stats": {
"hp": [
300,
450
],
"mp": [
30,
130
],
"attack": [
80,
80
],
"defense": [
25,
38
],
"magic": [
30,
130
],
"magic_defense": [
87,
92
],
"speed": [
21,
23
],
"accuracy": [
100,
100
],
"evasion": [
0,
30
]
},
"growth": "linear",
"up_cost": 1,
"squad_size": 1,
"flying": false,
"ranged": false,
"can_capture_crystals": true,
"attack_interval_ticks": 60,
"attack_reach_px": 0,
"radius_px": 8,
"head_px": 19,
"speed_px_per_tick": [
0.65625,
0.71875
],
"attack_strike_ticks": 8,
"attack_element": null,
"projectile_type": null,
"shot_start_px": null,
"sight_px": 0,
"keep_distance_px": 0,
"terrain_spared": [],
"attack_used_by": "dance_spells",
"attack_note": {
"en": "Never attacks: its Attack is used only by the dance spells. Isaac deals damage with his spells and the creatures he sends.",
"es": "Nunca ataca: su Ataque solo lo usan los hechizos de baile. Isaac hace daño con sus hechizos y con las criaturas que manda."
},
"portrait": {
"url": "/unidades/isaac/retrato.png",
"width": 125,
"height": 125
},
"sheet": {
"url": "/unidades/isaac/hoja.png",
"width": 1012,
"height": 156,
"cells": [
{
"x": 6,
"y": 10,
"w": 32,
"h": 32
},
"…"
]
},
"animations": [
{
"index": 1,
"action": "walk",
"facing": "down",
"used": true,
"preview": "/unidades/isaac/01.gif",
"width": 35,
"height": 34,
"origin": {
"x": 20,
"y": 23
},
"frames": [
{
"cell": 4,
"x": 3,
"y": 2,
"ticks": 15,
"ms": 250
},
"…"
]
},
"…"
],
"battles": [],
"casts_spells": []
}
battles lists the story battles the unit takes part in.
To draw frame i of an animation: take the rectangle sheet.cells[frames[i].cell] and paste it on the canvas at (frames[i].x, frames[i].y). Show it for frames[i].ticks / 60 seconds, then go to the next frame and back to the first at the end.
Stats
Each named unit's /data/units/<slug>.json also has its stats:
stats:hp,mp,attack,defense,magic,magic_defense,speed,accuracyandevasion, each as[level 1, level 50]. At level L a stat islevel1 + floor((level50 − level1) × factor / 128), wherefactoris the value of the unit'sgrowthcurve (early,lateorlinear) for level L in/data/levels.json.speed_px_per_tick: how far it walks per tick at levels 1 and 50; it isspeed / 32. Flying units use the same speed.flying,ranged(its normal attack is a projectile),attack_interval_ticks(time between attacks),attack_reach_px(it attacks when the gap between the two units' edges is below this) andradius_px(its body is a circle of this radius).head_px: the height of its head above its point; the HP bar and the status icons go over it.up_cost(what it takes from the Line Up's capacity) andsquad_size(how many units one squad brings).attack_used_by: what itsattackstat is for.normal_attack, its normal attack. The units that never attack (attack_reach_px0) havedance_spells(Isaac: only the dance spells use it, hitting with his full attack minus a quarter of the target's defense) ornothing(the mages, the story bosses and the Villager: it is never used).attack_noteexplains it in English and Spanish, and says how the unit deals damage./data/units.jsonhas both fields for every unit.elementis the unit's element, anddescriptionthe game's text about it, in English and Spanish.
/data/levels.json has, per level: exp_to_next (the experience to reach the next one), the factors of the three curves (growth, out of 128) and lineup_up, how many UP of units the Line Up holds at that level of Isaac's.
Movement and AI
/data/ai.json describes how units move and what they do on their own. It is with static evidence (evidence: static); it was not observed in an emulator.
movement: routes are straight (route: straight), with no path finding and up toroute_points_maxpoints; a unit reaches a point when it is less thanpoint_reached_distance_pxaway. A group sent to a point spreads around it: each unit goes to the point plus its direction from the group's centre × (its radius +group_spacing_extra_px). A unit walksspeed / 32px per tick, without acceleration; obstacles and other units push it out.Target: every
retarget_every_ticksticks, in thestates_with_target_searchstates, it looks for enemies with approximate gap belowmax(sight, search_px)and picks the nearest, the one with most HP or the one with least HP (these two prefer targets within its reach).orders: each order (order, with the game's classes inclasses) sets a decision state (state):waitwith mode 0 (state 0) attacks without chasing whoever comes within its reach +attack_in_place_extra_px; with another mode (state_other_mode, 1) it chases within its sight radius.movefollows the route without attacking;move_autoattacks on the way without leaving it;move_attackchases within its sight radius or follows the route;move_wait_autofollows the route, chases and, once stopped, waits.guard(states 9 and 10) watches over a point:guardsays when it walks back (distance > sight) and how far (distance <= sight / 2).escape(11) runs straight away while the distance between centres is under the unit'skeep_distance(/data/units.json).take_crystal(8) goes to the nearest mana crystal of another side withinorder_list.take_crystal_radius_pxand stays until it is its side's.
Initial sight is
sight_pxin each unit's detail anddetection.initial_sight_by_unit(byuid); missions may overwrite it throughset_sight/ SetSearchRange or scripts.detection:VERIFIEDin static game analysis; emulator observationUNKNOWN(#112).chase_states(1, 4, 5 and 9) chase a selected, active target whengap < sight. Gap is max(0, distance between centres − both collision radii), in map px; equality does not pass. This does not guarantee movement or a hit.attack_in_place_states(0):gap < reach + 22.attack_on_route_states(3):gap < reach, without chasing.route_only_states(2): route only.- State 9 also requires the distance from its anchor not to exceed sight.
guard_return_states(10) does not chase: it returns to within half sight, changes to 9 and decides later. Explicit target states 6/7 are outside this automatic detection rule. - Monsters start with 25–110 px sight; Isaac and story units start at 0.
sight_cells=sight_px / cell_px, withcell_px: 8: 3.125–13.75 terrain cells, only an equivalence; movement is not tile based. Per-species values are ininitial_sight_by_unit. - Candidate search uses approximate gap
0.8125 × (abs(dx) + abs(dy)) − both radii, with limitmax(sight, search_px)(at least 200 px). This is not the exact chase threshold. The 50/150 px mentioned in mission scripts are not universal sight values and are not added to sight.
unresolved_states: states that exist but whose producing order is not known yet.
Unit orders in battles
Each unit of a battle in /data/maps.json has orders, its list of orders; when it is empty, the unit gets none at the start. unit_orders in /data/ai.json describes each order: state is the state it leaves the unit in (null: unchanged), target how it gives the point and ends when it ends.
- Points:
x,yis a map point in px;dx,dyare added to the unit's position when the order starts. The unit walks straight to it. wait:ticks(null: forever);chase: falseis state 0 (attacks without moving),truestate 1 (chases within its sight).back: goes backstepsorders, never before the first one. This is how patrols repeat.target_nearest,target_most_hp,target_least_hp: the rule it picks targets by from then on.set_sight: its sight radius becomessight_px.change_max_hp: its max HP becomesfloor(max × percent / 100);set_max_hp:hp. Its HP becomes that same value, never above the max it had.guardnever ends: the list stays there.
How the list runs (order_list), one step per tick (steps_per_tick):
- It starts at the first order. The tick an order starts in does not count towards ending it.
ends:at_onceends in the tick it starts;route, the first tick after the unit reaches the point (on arrival it is in stateroute_end_state);ticks, onceticksticks have been counted after the start tick, on the next one;crystal, when the crystal is its side's, or at once when none is that close;jumpisback;removed, likeat_once, and the order also leaves the list.- The next order starts on the next tick. With a
waitof Nticks, the next order starts N + 2 ticks after the wait started. backcounts only the orders still in the list:removed_when_doneare gone.- After the last one ends, the unit keeps the state it is in and gets no more orders.
Example, the first Misty Mush of battle 1: change_max_hp 75 (leaves the list), move to (344, 153), wait 30, move to (344, 133), wait 30, back 4. It patrols between the two points and stays at each one for the wait's 30 ticks plus the ticks the list takes to step; it does not attack while it walks and attacks without moving while it waits.
Duel
/data/duel.json describes the duel mode, where two people play each other. Static evidence
(DB/chrSelScnDat.cssd, DB/eloRate.elo); it was not observed in an emulator.
presets: the 8 ready-made teams a player can pick. Each haslevel(the player's level, 40),element_levels(the six element levels, which the game clamps to 1–50) andsquads, three squads (unit_idof/data/units.json,name,slugandlevel). The game does not name them: they are numbered 1 to 8.rating: the rating of Wi-Fi matches, betweenminandmax. Each of therowshas the bound on the difference (difference, own rating − the opponent's) and the points a win (win), a draw (draw) or a loss (loss) adds. A negative difference uses the first row whose bound is at least the difference; any other, the last row whose bound is at most it. Then the rating is kept betweenminandmax.elo_kis 50 because all 53 rows match, within one point, the Elo system with K = 50:K × (result − 1 / (1 + 10^(−difference/400))), with result 1, 0.5 or 0.
Game rules
/data/rules.json has the game's limits:
team:squads_max, the squads that go with Isaac, never more than the map's squad start points;player_units_max;formation_px, where each unit of a squad starts from its start point (y grows downwards);capacity_up_by_isaac_level, the UP the team holds at each of Isaac's levels, from level 1.roster:monsters_max, the monsters that can be kept, andcaptures_per_battle_max.items:inventory_max,found_level_max(the highest level of a found item) andfound_per_battle_max.levels:level_maxof Isaac and the monsters,element_level_maxandenemy_level_max.experience:per_kill_per_level(each unit that dies gives that number × its level),battle_maxandlevel_1_to_max.battle:default_time_limit_s, the limit when the mission sets none.new_game_plus: the levels enemies gain in each chapter (1 to 5, capped atlevels.enemy_level_max) and the extra levels of chest items (capped atitems.found_level_max).checkpoints: how many map missions and scenes and how many free battles take a checkpoint when they start.
The rules that are not a number:
- Isaac is always in the team and carries no item. Each squad carries one item, which works on every unit in it, and has as many units as its species'
squad_size. - UP is only checked when the team is put together, not in battle.
- Only regular enemy units can be captured, not bosses or allies. They join after a win, at their battle level with 0 experience. Repeated species in the list and repeated items in the inventory are allowed; with the list full, the new one replaces one that is not in a squad, or is dropped.
- Every unit of the enemy side or allied unit of the map that dies gives experience, whoever kills it; captured ones give nothing. On a win, Isaac and every squad each get the whole amount; it is not split.
- Defeated monsters return to the Wand: losing one unit or the whole squad does not remove them from the roster or Line Up; they return in the next battle and receive experience after a win with results even if none survived.
- A defeat or a draw discards everything gained in the battle. Continuing puts the story and the runes back to the checkpoint, taken when a mission, scene or free battle starts from the map; level, monsters and items are kept, and the mission replays from its start.
- Retiring from the pause menu discards the battle and goes to the title, with no continue.
- In New Game+ Isaac keeps his level, experience, element levels, runes, monsters, team and items; the story starts again with harder battles.
- The results screen, only after a win, shows in order: experience and element levels, items found, captured monsters and new spells. There are no ranks or grades.
- There is no money or shop, and no maximum of units on the field or of active spells. Isaac can cast as soon as the previous cast animation ends; MP is the limit.
Items
/data/items.json has the 8 items. Each squad carries one, applied to every unit in it when the battle starts; Isaac carries none.
icon is the 16 × 16 px icon the menus show. It depends on the stat the item raises, so several items share one. Battles draw no item icon: chests always look the same.
pictures are each item's icons at levels 1 to 6, made with AI for this site: they are not in the game. sheet is the 120 × 160 px sheet and by_level gives each level's 20 × 20 px cell (x, y, w, h). From level 2 the icon has an aura of another color, and from level 4, sparkles. To keep them sharp, scale them by whole numbers with image-rendering: pixelated.
stat: the stat it changes (hp,speed,attack,interval,accuracy,evasion,defenseormagic_defense).bonus_by_level: the value v at levels 1 to 10, out of 128. Chests only give levels 1 toitems.found_level_maxof/data/rules.json.effect, how v applies to the unit's stat x:multiply:x + floor(x × v / 128). Withhp, the unit also starts with its HP full.reduce:x − floor(x × v / 128), at least 1.double:x × 2, at any level.gap_to_100:x + floor((100 − x) × v / 128).
in_battle(Wind Shield, Hunter Eye, Angel Coat and Dragon Scale;nullfor the rest): what the item changes in a battle, inenandes:what(what the stat is),examples(worked examples with level-1 units),good,bad,caution,level(when the item's level does not matter) andanchor(the section of/logic/combat/with the rule).exampleshas the same examples as numbers:accuracy,evasionandhit_percentas [without the item, with it].chests: the story chests that can give the item:battle(the same number as in/data/maps.json),map, the positionx,yin map pixels,chance(0 to 1),levels, the chance of each level, andnew_game_plus_levels, the same chances in New Game+.
Level 6 is almost never found in the story: chests give up to level 5, except one Demon Horn chest on map 038 (1.1 %). In New Game+ the game adds new_game_plus.chest_level_bonus (2) to the chest's level, capped at items.found_level_max (6), so chests of levels 4 and 5 give level 6.
How accuracy and evasion decide a hit (stats at a level in /data/units/<slug>.json; Hunter Eye doubles the attacker's accuracy, Angel Coat the defender's evasion, at any item level):
- Melee hits when a random number from 0 to 100, plus accuracy, minus evasion, reaches 100: a chance of
clamp(accuracy − evasion + 1, 0, 101) / 101. - A shot hits when a random number from 0 to 99 is under
(accuracy − evasion) & 0xff: the game keeps one byte of the difference. So it always hits when evasion is higher than accuracy, and from a difference of 256 it starts again from 0 (a shooter with Hunter Eye can hit less). Static evidence (ov1 0x2130f40); it was not tested in an emulator.
godot says how each item will work in our Godot port (approved design, version 1), apart from the original's fields: same_as_original, effect and bonus_by_level as above (plus add: x + bonus_by_level, in points), line_up_shows_effect (the Line Up screen shows the effect of all 8), the text in en and es (same, the same as same_as_original; change, what changes and why, or "Same as the original"; examples; notes) and, for Hunter Eye and Angel Coat, examples as numbers: hit_percent without the item, by_level with it at levels 1, 3, 5 and 6, and original_hit_percent with the original's item. In Godot:
- Hunter Eye:
multiply, accuracy × (1 + v/128), like Demon Horn. - Angel Coat:
add, 4 points of evasion a level (v × 40 / 128, rounded). - A shot hits with a chance of
clamp(accuracy − evasion, 0, 100) / 100: with higher evasion, it always misses. - The other items, the levels (1 to 6, +2 in New Game+) and who carries items stay as in the original.
When the battle loads, the game draws each chest's item and level. The item goes to the player's unit that opens the chest and is received on a win. In New Game+ the level rises by 2, with the same cap.
/data/chest.json is the chest as a sprite:
closedis the closed picture the maps draw, placed at the chest's point plus (dx,dy).sheetholdscellsequal cells ofcell.width×cell.heightpx incolumnscolumns. The chest's point is atcell.originin each cell.animations:idle0(closed),open(opening),loop(open with the reward),suka(smoke) andemptybox(empty). Eachframesis a list ofcellandticksof 1/60 s.loopsays whether it repeats, andpreviewis a GIF or PNG to look at.flow: with a reward the game goes fromidle0toopenand stays inloop; without one, fromidle0toemptybox.sukahasused_by_gamefalse: the game never picks it.
Spells and runes
Runes
/data/runes.json has the 18 runes: id (1 to 18), element, level (1 to 3), its picture, spell (the
spell it casts alone) and learned (the missions where it is learned). Isaac casts a spell by drawing 1 to 3 runes
in order while holding L (R with the left-handed option); releasing the button ends the chant. Each rune is a single
stroke: lifting the pointer closes it.
templates are the strokes the game accepts for each rune: points on a 0–63 grid (y down), in drawing order. from_dot marks the ones that start at the dot of the rune's picture; the rest are the same drawing from another start or in the other direction.
To recognize a stroke:
- Keep one point per frame while the screen is touched. After the first, keep only the points that move at least 1 px in x from the last one kept: the game ignores movement in y. A stroke of fewer than 4 points cancels the chant.
- Take a square centred on the stroke, with side
max(width, height), so the proportions are kept. Simplify it: keep both ends and, piece by piece, the point farthest from the chord if it ismax(1, 2 × side / 64)px away or more, up to 40 points. Map it to the 0–63 grid with(p − origin) × 64 / (side + 1)and drop repeated consecutive points. - For each point k ≥ 1 compute
angle[k], the direction of the segment that reaches it, andratio[k], the share of the total length that segment is. Point 0 takes the direction of the first segment. - Compare the stroke (I, with nI points) with each template (P, with nP points) by walking both lines together along their length:
i = j = 1; remP = ratioP[1]; remI = ratioI[1]; score = 0
repeat nP + nI − 3 times:
A = 1 − |angleP[j] − angleI[i]| / 180° # angle difference wrapped to 0–180°
if remP <= remI:
remI −= remP
q = I[i] if remI < ratioI[i] / 2 else I[i − 1]
score += remP × A × (1 − manhattan(q, P[j]) / 128)
j += 1; remP = ratioP[j]
else:
remP −= remI
q = P[j] if remP < ratioP[j] / 2 else P[j − 1]
score += remI × A × (1 − manhattan(I[i], q) / 128)
i += 1; remI = ratioI[i]
- The template with the highest score (0 to 1) wins; on a tie, the first one. If it reaches
accept(0.70), the stroke is its rune. Rotation is not forgiven: about 30° off is already at the limit.
A recognized rune must also be learned, the runes drawn so far must begin some spell, the runes-per-spell limit cannot be passed (runes_per_spell: the missions that allow 2 and 3) and there must be enough MP for that rune. If anything fails, the chant is cancelled.
A spell's quality is the average score of its runes. If it reaches great (0.85), 0.5 is added: the factor goes from 0.70–0.85 to 1.35–1.50.
/logic/runes/practice/ lets you practise drawing with this recognizer, ported to TypeScript with the same integer arithmetic: it gives the rune, the score, whether it passes accept or reaches great, the factor and the three closest templates. /data/rune-strokes.json holds 640 test strokes with what the game's recognizer gives for each; a port must give the same. Each one is samples (one point per frame at 60 Hz, in pixels of the 256 × 192 touch screen) and kept (how many the capture keeps); with fewer than 4, cancelled is true; else top is the three closest templates as [rune, template, score], the template numbered as in templates of /data/runes.json (runes in order) and the score out of 4096: accepted from 2868, great from 3482.
Spells
/data/spells.json has the 396 spells:
name: the game's name in English and Spanish. The Spanish ones are often abbreviated (none is longer than 12 characters, for example «Torbell. f.»); the site keeps them as they are, without expanding or translating them, and shows the English one beside them.runes: its runes, in order.element: its element, which is its last rune's: 294 of the 396 mix runes of different elements.kind: the family (cloud,wall,bullet,blast,falling_objects,aura,zone,unit_effect,object,dragon).variant: the exact behaviour within the family.mp_by_rank: the MP cost with the element at rank 0 to 4. Rank isfloor((element level − 1) / 10). The cost is the sum of its runes:mp_per_rune[position][rank of that rune's element][rune level − 1]from/data/runes.json. Each rune is paid as it is drawn.targeting: how it is aimed (circle: centre and radius;line: start and end;fixed_circleandpoint: a point;direction: it leaves Isaac towards where the pointer is released;unit: a unit;instant: no aiming).targets:enemies,alliesorall;nullfor the three that touch no unit (Transport and Flight move whoever casts them, Restore only changes the ground).numbers.cast_range_pxis the farthest distance from Isaac.effect_group: only onunit_effect(nullfor the other kinds), what it does to units.healrestores HP or removes statuses: thehealflag, a status of groupcureorregeneration, or the variants that move HP to the caster's side (life_thread,life_shine,light_transfer).boostputs a status on allies andweakenon enemies: every status the game casts on allies helps them and every one it casts on enemies hinders them.otheris the rest: no status and no healing, or a status on both sides. It is the spells page's filter, not a field of the game.power: withpower_scaled, the power at cast isfloor(floor((power + caster's magic) × quality factor) × (rank + 4) / 4); without it,poweris used as it is. With thehealflag, it heals.status: the status it can cause: its record (id),group,chance(at rank 0 and factor 1; multiply by the factor, by(rank + 4) / 4and by the element factor inelements.status_chanceof/data/combat.json),duration_ticksandpower.terrain: how it changes the ground (heatturns it into magma,hardenhardens magma,freezefreezes water,drydries swamp into sand,swampturns quicksand into swamp,restorerestores it).terrain_overlay: what the spell draws over the map while its zone lives,lasts_ticks(1200, 20 s). The zone is a circle:area.radius_px, or one circle ofarea.per_object_radius_pxfor each falling object. The 8 × 8 px cells whose centre is inside the circle are painted.paintsis the layer it puts and on which surface (on);imageis its 32 tiles animated, each frame lastingframe_ticks(null: still).clearsare the layers it removes inside its circle while it lives, even when another spell put them, before or after. That is how opposites cancel: Storm removes Fire Rain's magma, Fire Rain removes Ice Maiden's ice, andrestoreremoves everything. It appears at once and, when the zone ends, vanishes with no animation: there is no entry or exit animation, and theframe_ticksframes loop the whole layer. It is only the picture: the terrain statuses give the effect on units.on_any_mapsays whether that surface exists on any map.drypaintsmf04on swamp, but no map has swamp (on_any_map: false): in the game it only removes the swampswampleaves.flags:piercing,homing,rapid(bursts),spread(fan),lock_on(one shot per target),flying_onlyandwalking_onlylimit who it affects,knockback,knockdown.numbers: its family's numbers, in ticks of 1/60 s and px.
Spell families
/data/spell-families.json groups the 396 spells by the game code that runs them: the effect class and subkind in
their data. The generic spell on units (direct) is split by role (heal, damage or status-only) and
status group, and Prank, Joke and Trick go together as tub. Each family has page (its page on the site,
/logic/families/<family>/, or /es/logic/families/<family>/ in Spanish: its types and its spells in an element
× variant matrix (rows such as Level I, Rapid or King, and «Others» for the spells that fit none) when most of them
fit, or as cards, each with its animation and a panel with all its numbers; /logic/families/ is the catalog of all
of them), spells (the slugs of /data/spells.json), same (the fields equal in all, with their value)
and differs (the ones that change). The fields are those of /data/spells.json: numbers.<name> and
status.<field> are flattened, and runes is how many it has. power is only compared within a family,
because each one uses it differently. note (EN/ES), when present, says when one pays off over another, only where
the research supports it; static evidence, not observed in play. Families of one spell have empty
same and differs.
total_effect gives, per spell, what one unit receives over the whole spell, at the fixed reference in total_effect_reference: the caster has magic 30 (Isaac at level 1), the element at rank 0 (level 1–10) and a perfect stroke (quality 1, factor 1.5); the receiver has defense and magic defense 0, a neutral element and no weakness or shield; no random factor. kind is damage, heal, status or other; hp is the damage or healing in HP when there is one (else null); text (EN/ES) says how it adds up or what it does. The rules: the damage per hit is floor(floor((power + 30) × 1.5) × (0 + 4) / 4), except clouds, which hit with their raw power numbers.hits times; burn and poison add status.power every 60 ticks, floor((status.duration_ticks − 1) / 60) times, if the status lands (the unit's status pass counts the life down before each tick), and regeneration heals once more because its first one is at once; the status chance is status.chance × 1.5, at most 1. up_to marks a maximum: every shot or object lands (bursts and falling objects), or the unit stays where the spell reaches it. Normal poison only ticks while the unit moves or attacks. A dragon flies through a unit, goes on 192 px and comes back, so it hits a unit that stands still on every pass: numbers.passes_max at most, passes_typical in most spots, passes_min in the worst. An armor hits an enemy that stays within its pulse numbers.touches_max times with the power and numbers.aura_ticks_max times with status.power. A dance is numbers.hits_max hits of numbers.hit_attack (Isaac's attack at level 1, against defense 0). A whirlwind hits once per contact and only steers to units ahead, so it hits a unit again only if that unit comes back into its path. confirmed: false marks what the code read so far does not settle; since #256 no spell has it.
Each family has description (EN/ES): a sentence with no numbers on what it does, built from its data with a template per kind or variant and the effects of at least half its spells («some also…» adds up to three of the rest). What each spell does, worked out from its data and never written by hand, comes in two levels: tags, specific effects (damage, heal, protect, empower, haste, weaken, burn, poison, freeze, sleep, charm, pacify, immobilize, knock, capture, summon, movement, terrain), and types, their eight general groups (attack, heal, buff, debuff, control, summon, movement, terrain). The tags and types at the top of the file give the name (EN/ES), the rule and, for each tag, its type. The rules: damage if its total effect is damage (or switch_life); heal with heal in flags, a total effect that heals, a cure or regeneration status, or light_transfer; the status it applies, with every branch of a random status, gives the rest: a stat change up protects (defense, magic defense, evasion), strengthens (attack, magic, accuracy) or speeds up (speed, or less interval), and down slows (speed; all of it or a bubble roots) or weakens (anything else, weakness, virus, recoil, forget); burn and poison are burn and poison; sleep, freeze and charm, their own; no attacking and terror, pacify; berserk strengthens an ally and, cast on an enemy, counts as charm. knockdown and knockback are knock; capture traps, capture; kind wall, object or dragon, summon; variant transport, gather or self_cannon, movement; terrain or a terrain status, terrain. Holy Pulse applies no status of its own: it strengthens the allies and weakens the enemies. In each family, tags and types list its spells', the most common first, with spells = how many have it; spell_types gives each spell's.
Best spells
/data/best-spells.json says which spells pay off for the player, worked out from the data (evidence: static), not from playing. Each spell's effect is hp_expected: the total effect of /data/spell-families.json at the same reference, with burn and poison counted by their chance (for clouds, the chance it lands at least once over their hits). spells gives per spell its mp, chapter (the chapter in which Isaac has learned all its runes and can chain that many), stroke, reach_px (the larger of the cast range and the shot range), area_px (its radius, if any) and badges: per_mp, jump, easy and not_worth.
rankings.per_mp: effect per MP at least twice its family's median (vs_family), or effect at least twice the median of the other spells of its family with the same MP (vs_same_mp).rankings.jumps: the next spell by MP of the same family and element, with effect ×2 or more andeffect_ratio / mp_ratio≥ 1.5.rankings.not_worth: another spell of its family and element (better) costs less MP and is as good in everything; whengains_onlyis not empty, the dearer one only gains in those numbers.rankings.easy: every spell, from the easiest stroke to the hardest.- By situation, only spells that deal damage:
grouped(with an area, by the effect on each unit inside),scattered(no area that also hits allies; bymp_per_kill= MP × casts to take the weak enemy's HP, then by stroke, then by reach) andboss(by the effect on one unit). The weak enemy (reference.weak_enemy) has the median HP of the unnamed units in the battles of chapters 1 and 2, at their level.
The stroke score (method.stroke) is an estimate of how hard a rune is to draw by hand, not a value of the game. For each shape the rune accepts (templates of /data/runes.json, 0..63 grid = one rune width), points closer than min_step to the previous one are dropped and the score adds: the length in widths, w_sharp per corner sharper than sharp_deg degrees, w_turn per full turn (the sum of turning angles / 360°) and w_against per width the stroke goes up or to the left. A rune takes its easiest shape (runes[].template, runes[].points) and a spell adds its runes plus w_extra_rune per rune after the first. The easiest quarter of the spells gets the easy badge.
Spells with rules of their own, by variant:
variant |
Rule |
|---|---|
bomb_man |
Puts a bomb on each target unit, of both sides. After 180 ticks each living bomb hits every unit within 15 px with the power (fire), once per unit, its carrier included |
dance |
Isaac walks to the target at 2 px/tick and takes no damage (gives up after 180 ticks). Within 12 px he dances 300 ticks: hits on ticks 9, 19 and 30 of each 43-tick cycle, with his whole attack minus a quarter of the defense. It ends if the target dies or gets more than 34 px away |
light_transfer |
Dark damage; Isaac recovers twice the damage dealt, up to 32,767 |
life_thread / life_shine |
Heals what the target lacks, taken in equal shares from the other allies / the enemies, never below 1 HP |
holy_pulse |
600 ticks: the caster's side gains 25/128 attack and the other side loses 25/128 defense inside the circle. Casting it again restarts the time |
transport |
The caster jumps to the point if it fits (otherwise it fails); no receiver, no impact. Departure flash on casting, arrival flash at 20 ticks and position change at 30; until then it can be hit where it stood. Flight is the same jump with a longer range (250 px instead of 100) |
self_cannon |
Isaac flies at 2 px/tick for up to 240 ticks; within 12 px, 620 wind magic damage to the target (not scaled) and 255 to Isaac |
free_lift |
Lifts the target (not Isaac or bosses) for 64 ticks; when it drops, the power (wind) and a strong burn to enemies within 40 px |
switch_life |
Swaps Isaac's current HP and the target's, each capped at the receiver's max HP |
gather |
Brings each ally next to Isaac, one every 6 ticks, at a random angle, both radii plus 0–31 px away |
death_gamble |
Picks a random living unit of either side after 282 ticks; it takes 2 × the power (fire) and others within 50 px the power |
prank, trick |
One tub per target; after 20 ticks it takes exactly 1 HP, which counts as damage |
mine |
Each mine lasts 920 ticks and goes off when a walking enemy comes within 14 px: the power (earth) and a knock-down to enemies within 14 px. A new mine disarms the side's earlier ones |
capture_trap |
Catches the first regular enemy inside trigger_radius_px plus its body radius (edge excluded). At or below capture_hp_below the capture always succeeds; intended_chance_* are not used. A new trap cancels the side's earlier one |
elemental_wall |
Posts have no HP; each post hurts a unit touching it at most once every 120 ticks |
Spell scenes
/data/spell-scenes.json (also .md) maps every spell to graphics, sounds and actual bosses, with 90 unit appearances and 141 statuses. Each spell page offers caster, receiver, four facings, distance, stroke quality, selected outcome, replay and sound. Receiver affiliation follows targets; example outcomes/status application are user choices, not battle rolls. Transport and Flight have no receiver or outcome: their scene moves the caster to the destination.
assets[id]: PNG, CAN/NCER/NANR and exact palette;cellsholds [x,y,w,h] sheet rectangles andoriginstheir anchor-relative positions. Empty frames still consume their time.sequences[].frames: [cell,ticks,dx,dy,rotation degrees,scaleX,scaleY]. Single-frame animations are retained.mode: 1 once,2 loop,3 ping-pong once,4 ping-pong loop;loop_startis the loop's starting frame.ticksandsecondsretain original durations.units[].actions[action][facing]: sequence,ownandfallback. Monsters without chant/cast actions use idle.launch_pxpositions the shot;boss_spellsidentifies actual battle use.spells[].graphics: role, atlas, sequences, palette, evidence and confidence.times_secondsconverts spell time fields; distances remain px. Projectile travel is distance/speed, rounded up to a tick.sounds: audio, anchor (chant,stroke,rune,cast,release,shot,hit,status,death,vanish,capture,capture_close), offset seconds/ticks, condition and confidence.timing_confidenceseparates sound dispatch from example phase placement. Rune/stroke repeat per rune; hit per shot. Quality <0.85 uses KAKUNIN/INVOKE; ≥0.85 uses MENU_MAGIC/INVOKE2. Sound requires interaction.statuses[].overlay,popup,soundsandduration_secondsdescribe each status./data/statuses.jsonalso includes this asvisual.- Knockdown requires flag 0x800: 40 ticks grounded and 10 getting up. Push requires 0x400 and decelerates over 30 ticks. Defeat plays die, waits 30 ticks, uses puff 272 for monsters, then removes after 80. Resolved capture uses
capture_timing: success closes at tick 2 and removes the unit at tick 33; failure closes/releases at tick 60. Book sequences 199/200 determine the end, independently of armed trap lifetime.
Walls (class 1) create ground structures, without a receiver or hit outcome. structure_timing preserves the 5 ticks between posts; targeting distinguishes line and circle. Elemental statuses apply on contact, not placement. The viewer allows adjusting line length.
Projectile orientation is in graphics[].rotation: the original artwork points upward and the game adds
90° to its travel angle. Trails inherit that angle; dark/light spin 16.875°/tick. The preview fixes the random initial
phase to 0. The manifest has a revision to prevent browser reuse of earlier exports.
Spatial composition is illustrative, not a complete battle simulation. preview declares drawing speed (0.8 s/rune)
and conventions; confidence/evidence distinguish verified behavior from probable assignments. Follow-up
extraccion/investigacion/visuals/SCENE_DISPATCH.md confirms chant/drawing sound dispatch, byte-7 status icons and
Fallthing sound tables in code. Zero entries skip that sound. Other families have independent calls; fall and
object_hit repeat per object, using a 20-tick descent as a preview convention.
visual_behavior distinguishes shared feedback (Holy Pulse: icon 11; Life Thread/Life Shine: icon 7), actor
motion (Self Cannon: unit_motion, 2 px/tick, 12 px collision gap) and conditional statuses
(Betrayal/Mutiny/Uprising: choices). dance (the six dances, 361–366) marks Isaac as the dancer: he walks to
the receiver at approach_px_per_tick (2), dances beside it for numbers.duration_ticks (300; in the spell's
record, as in /data/spells.json) once the gap is start_gap_px (12) or less, and hits on hit_ticks (9,
19, 30) of each cycle_ticks (43) cycle: 21 hits. The receiver does not dance. The element aura starts where
Isaac stands (aura_origin); aura_follows binds it to the caster and aura_extra_ticks adds 60 to its own
inclusive timer (361 ticks from release). Physical feedback 65 plays on the recipient and retires when NANR ends.
caster_teleport (Transport and Flight) marks the caster's jump: departure flash on casting, arrival flash at
arrival_effect_ticks (20) and position change at move_ticks (30), with no receiver or impact. Their
probabilities are conditional on success; the viewer selects a branch without simulating a roll.
own_graphic_confirmed describes dispatch in the original report, not whether shared feedback exists.
Blast/dragon composition and knockdown still require in-game verification. Phase synchronization, Missile's absolute
phase placement, Life Thread/Life Shine donors and Self Cannon's self-damage are not fully verified. Follow-up
extraccion/investigacion/visuals/SCENE_RENDERING.md adds dragon_assembly (14 indexed parts, emergence 23+index
and scales), explosion_assembly (main, ring and inward charging particles) and lock_timing (ticks 8/16/24).
Website dragon routing remains illustrative. The port documents t/120 curves and contacts in /port/#dragons.
Preliminary Explosion positions remain illustrative. How each effect ends is in
extraccion/investigacion/visuals/SCENE_ENDINGS.md: rain_assembly (the 6 spells with MagicEffectRain) gives
20 clouds, 10 drops with their alpha cycle (drop_alpha) and 10 splashes, and removed_after_hit_ticks (63) is
when the owner deletes itself and takes everything with it. The eleven rocks spells use rock_assembly: falling
sequences 2/3 (8/9 for visual-tier-2 fire/water),
then one-shot impacts 5/6 lasting 12–29 NANR ticks. One sprite changes at the damage point;
the owner ends after all children finish. Alternating variants is illustrative; callback/update order is +/-1 tick.
Unverified families retain the illustrative 120-tick window after impact. The 27 terrain spells carry terrain_scene:
mapandoriginsay on which game map and spot the scene stands, so the terrain the spell acts on shows;zonesays when the zone is born: on the impact (hit), at each falling object (object_hits) or when the area appears (release);radius_pxandlasts_ticks(1200) give its circle and its duration;prior, for the spells that only remove, is the earlier overlay the scene paints so you can see what they remove.
terrain holds each material's rule, the layer the game picks, the neighbour tile tables (tiles), each layer's
sheet with its ticks per frame and the NHIT grid of each map used (details in
extraccion/investigacion/terrain_morph/STATIC_REVIEW.md). sounds[].duration_ticks stops chanting at cast and
drawing at each stroke end; *-sustain clips have a 3 s preview hold. Resume
continues held notes with their current offset and remaining duration. None of these findings is emulator-validated.
Aiming a spell
/data/aiming.json says what the battle shows between the end of the chant and the cast, by the spell's
targeting (see "Spells and runes"). It is with static evidence (evidence: static), not measured in an
emulator; confidence says how sure each point is. Positions are px of the bottom screen (256 × 192), times are
ticks of 1/60 s and angles are degrees with 0 = right and 90 = down (y grows downward).
- Modes (
modes). Eachtargetinghas its icon (icon) and its way to confirm (confirm).arrowsays whether it uses the arrow;range_graphics_3d, whether it draws something on the ground (circles or shade).directiondraws nothing on the ground: only the arrow and the icon. - Arrow (
arrow,directiononly: Fireball and the other shots). The pictureimage(32 × 56) points up. Its pointpivot_px(15, 36), the centre of the ring, goes on Isaac's point (anchor: caster_point, his feet) and the picture turns around that point. The tip istip_px(36) px ahead of Isaac and the handletail_px(15) px behind, so the arrow comes out from under him. Drawing angle =atan2(dy, dx)in degrees +rotation_offset_deg(90), where (dx, dy) goes from Isaac's point to the pointer, turning clockwise on screen: the arrow always points at the pointer. The turn is free (turn_steps4096 per turn), with no snapping to 4 or 8 directions. It does not stretch or scale with distance (scale1) and is opaque (alpha1). It is drawn under Isaac (layer: under_caster). Colours: the picture's own, the same for every element. - When (
direction_flow). The arrow appears as soon as aiming starts, pointing up (rest.end_offset_px(0, −10): −90°). Once the pointer touches the screen (anywhere), every tick the arrow points at the pointer and Isaac turns toward it in 4 directions (right, down, left, up, split at 45°). Lifting the pointer casts the spell from Isaac toward the pointer's last point, and the arrow and the icon disappear. There is no distance limit (range_limit: null): the shot travels itsshot_range_pxfrom/data/spells.json. Before touching, pressing the chant button (L, or R with the left-handed option) cancels:SE_CANCEL(effect 4) plays and nothing is cast; once touched, it can no longer be cancelled. - Icon (
icon). While aiming, the mode's icon (32 × 32, point at its centre) stays put on the screen atat_px: (20, 172), bottom left, or (236, 172) with the left-handed option, above the field. If the arrow points into that corner (between the angles ofmove_when_arrow_deg: 90–180 right-handed, 0–90 left-handed) it jumps tomoved_at_px(236, 20 or 20, 20) so the hand does not cover it. - Circle (
circle_flow,targeting: circle). Outside the reach (cast_range_pxfrom Isaac) the field is shaded withshade_outside_range(#525252, alpha 20/31). A touch outside the reach does not count; one inside sets the centre. Dragging picks the radius, fromradius.min_px(5) up to the spell'sradius_px; releasing casts with that centre and radius. The area is coloured bytargets(area_colour_by_targets: red enemies, blue allies, yellow all;area_colour_otherfor the spells it lists) and witharea_colour_at_max_radiusonce it reaches the largest radius. Shape (area): a 24-sided disc on the chosen centre, of the dragged radius, alpha 24/31. While the radius is below the largest it has four small triangles (handles) 4 px outside the edge, 5 px long with an 8 px base, pointing out and turned so that one points at the pointer; at the largest radius they go away. The shade outside the reach only shows before the touch. - Instant (
instant_flow). Any touch casts the spell; the chant button cancels. - Line (
line_flow, walls such as Fire Wall). The first touch has to land strictly inside the reach; it sets the start. A touch outside does nothing. From then on the end follows the pointer, at most the spell'smax_length_pxlong. If the pointer leaves the reach, the end stops where the line from the start to the pointer crosses the reach's edge: the whole line stays inside. Isaac turns toward the pointer only before the start is set. Releasing casts from the start to the end (the same call as the arrow). It draws (graphics, colour #e6b552, alpha 28/31) an 8 px radius disc on each end and an 8 px wide band between them, sticking out 4 px past each end. The shade outside the reach always shows. - Point (
point_flow) and fixed circle (fixed_circle_flow) are the same code. The first touch has to land strictly inside the reach. Then the point follows the pointer and, if the pointer leaves the reach, stays on the edge in the pointer's direction. Isaac turns toward the pointer. Releasing casts at the point.pointdraws the reticle (reticle, 16 × 16 px at scale 1.5: 24 × 24 on screen, centred on the point, above the field) and no area.fixed_circledraws at the point a 24-sided disc of the spell's radius (radius_px,trigger_radius_pxorring_radius_pxby class), always #ffa5a5 alpha 24/31 and without triangles, because the code draws it at the largest radius. It would only show the reticle with radius 0, which no spell has. The cast call also gets a fixed 20 px radius (cast_radius_arg_px); what it does with it is unknown. The shade outside the reach always shows. - Unit (
unit_flow). Any touch starts. A cursor follows the pointer; if the pointer leaves the reach, the cursor stays on the edge. Isaac turns toward the pointer. Every tick the nearest unit to the cursor is picked among thosetargetsallows whose touch box holds the cursor. Box: in x, the unit's x ± (touch_box_by_unit[slug][0]+ 4 px); in y, from the unit's y − ([1]+ 4 px) to its y + (the unit'sradius_px+ 4 px). It draws a three-line marker (marker.lines_px, px from its point) in red #ff5252 on the picked unit, also for ally spells, or in yellow
#ffff52 on the cursor when there is none. Releasing casts on that unit. With no unit it goes back to waiting for a touch, and the chant button cancels again. The shade outside the reach always shows.
cross(a cross) is loaded for every mode but none shows it.numbersare digits from the same file that aiming does not use: they are the damage numbers' digits (see "Damage numbers").
Status effects
/data/statuses.json has the 141 status records; a spell's status.id points to one. duration_ticks is how long it lasts (0: it acts once) and caused_by, the spells that cause it. The strength of the ones that hurt or heal is the spell's status.power. key says what it does:
key |
Effect |
|---|---|
stats |
Applies changes while it lasts |
virus |
changes; units within spread_px of a first victim catch it for the time it has left |
berserk |
changes; attacks its target and ignores orders. Cancels charm |
burn, strong_burn |
Fire damage equal to the strength every every_ticks, the first after every_ticks. It does not work in fords; water damage puts it out; it removes freeze and bubble. strong_burn replaces burn |
poison |
Dark damage every every_ticks, only while the unit moves or attacks |
vile_poison |
Dark damage every every_ticks |
regeneration |
Heals the strength every every_ticks, the first at once |
pulse |
element magic damage equal to the strength at once and after every_ticks |
wall_contact |
On touching a post: element damage (heal: healing) equal to the wall's strength, at most once every 120 ticks per post |
freeze, long_freeze |
Cannot attack or move; fire damage ends it |
sleep, deep_sleep |
Cannot attack or move; any damage wakes it |
bubble |
Cannot attack or move until it is hit twice |
charm |
Drops its orders and fights its own side. Cancels berserk |
terror |
Runs away from the unit that threatens it |
forget |
Stands still |
no_attack, no_move, no_damage |
Cannot attack / cannot move / takes no damage |
invincible |
Takes no damage, cannot attack or move, and cannot be pushed |
hidden |
Fades out over 127 ticks |
recoil |
Each hit it lands costs it share × the damage it deals |
weakness, halving |
×2 / ×½ element magic damage; one cancels the other |
cure |
Removes removes (all: every status and stat change; stats: stat changes, curses and auras) and applies changes if it has them |
terrain |
Marks the ground with change |
random |
Applies one of options by its chance |
none |
No effect |
Each item of changes has a stat (attack, defense, speed, magic, magic_defense, interval = time between attacks, accuracy, evasion) and a mode: percent → stat × (1 + amount); flat → stat + amount; gap → stat + (100 − stat) × amount.
- Statuses do not stack: applying one again restarts its time. Stat changes, auras and curses do stack, and they multiply.
- Every frame stats are rebuilt from the unit's own, applying its statuses from newest to oldest, then clamped: none below 0; attack, defense, speed, magic and
intervalat most twice the unit's own (intervalat least 1); magic defense at most 99; accuracy and evasion at most 150 over the unit's own. - Isaac and bosses are immune to
berserk,charm,terrorandforget.
Combat
Battle logic runs at 60 ticks per second. /data/combat.json has the camera constants; each unit's own are in
/data/units/<slug>.json.
Normal attack. gap = distance between centres − both units' radius_px.
- It starts a swing at
gap < attack_reach_pxand keeps it whilegap < attack_reach_px + attack.reach_pad_px. Withattack_reach_px0 it never attacks; when chasing it stops atattack.stop_gap_px. - Rhythm: wait
attack_interval_ticks, play theattackanimation; the hit or the shot comes outattack_strike_ticksafter it starts; when the animation ends, wait again. - Melee hit:
random(0..100) + accuracy − evasion ≥ 100. Ranged:random(0..99) < (accuracy − evasion) mod 256(a negative difference always hits). - Damage:
d = floor(attack / 2) − floor(defense / 4); ifd ≤ 0, nothing. With anattack_element: ×½ against the same element, ×1.5 against the opposite one (opposite). Shots do ×1.5 to flying units. Finallyfloor(d × (128 + r) / 128), withra random integer from −10 to 10.
Shots (the unit's projectile_type, projectiles in /data/combat.json): they leave from shot_start_px for the facing, straight towards where the target's centre was, at speed_px_per_tick, without following it. They travel at most attack_reach_px + reach_pad_px. They hit the nearest opposing unit within shot_hit_radius_px + its radius and do not go through. High obstacles stop them; water and pits do not. on_hit: stick stays stick_ticks on the target, vanish disappears. On a miss they bounce back and fade in shot_fade_ticks.
Sight. Every search_every_ticks a unit looks for enemies within max(sight_px, search_px) and chases while gap < sight_px. Mission scripts often change sight_px.
Spell damage. With the power at cast P (see "Spells and runes"), on each target:
- Element: no element, P; same element as the target,
−floor(P / 8); opposite,floor(3P / 2). - If above 0,
× (100 − magic defense) / 100(magic defense ≤ 99); if 0 or less, halve it (the same element heals about P/16). × (128 + r) / 128, withrrandom from −10 to 10.- If the target has more
weaknessthanhalvingstatuses for that element, ×2; with morehalving, ×½. Spells withhealadd P with no element, defense or randomness.
Element against element (elements in /data/combat.json). The unit's element (null: no element) is compared with the hit's. elements.spell_table is step 1 above, by the spell's element (rows) and the target's (columns): -0.125 is the same element, which heals; 1.5, the opposite one; 1, the rest, and always when either side has no element. A fire spell heals a fire creature instead of hurting it, whatever its magic defense. No unit is immune to an element's damage.
- Normal attacks (
elements.attack): ×½ against the same element, ×1.5 against the opposite one. - Chance of the spell's status (
elements.status_chance): ×½ if the target has the spell's element, ×1.5 if it has the opposite one. The spell's element is what counts, not the status's. No status has an element exception: a fire creature can be burned and a water one can be frozen, at half the chance when the spell is of its element. - Damage dealt by statuses (
elements.status_damage): burn is fire and poison is dark, and both go through steps 1 to 4. On a fire creature, each burn tick heals it instead (1 or 2 HP at power 10); on a water one it does ×1.5. Freeze carries water but deals no damage.
Bosses. Only each battle's boss unit casts spells (casts_spells in its file), when its script tells it to; there is no range check. It has its own MP (its mp stat), pays each rune at rank 0, and its power is power + magic, with no quality or rank.
Isaac's element levels. They start at growth.start. They only change on a battle's results screen. With old the level before the battle, c the spells of that element cast in it (one per spell, its last rune's element; cancelled chants don't count) and fav the element cast strictly the most (none on a tie):
old ≤ low_band_max: +low_band_many_gainifc ≥ many_casts, +1 if1 ≤ c < many_casts; +1 more if it isfav.old ≤ mid_band_max: +1 ifc ≥ many_casts; +1 more if it isfav.- Otherwise: +1 only if it is
fav, and then the opposite element loses 1 if its level wasdecay_minor more. - Then each level is clamped to
level_min–level_max. The level only changes the rank (floor((level − 1) / 10)), and the rank only changes the runes' MP, the power (×(rank + 4) / 4) and the status chance (×(rank + 4) / 4).
HP bar
hp_bar in /data/combat.json is the HP bar the game draws over every unit on the field, all the time. It is made of solid rectangles, with no picture (drawn_by_site: true). Sizes are in px from the unit's point (x, y in /data/maps.json) raised by its head height, head_px in /data/units/<slug>.json: a rectangle with left_px and top_px spans width_px × height_px from (x + left_px, y − head_px + top_px).
frame: the frame, inframe.color, under everything. What the bar does not cover shows that colour.bar: the HP,floor(width_px × HP / max HP)px wide, with the effective max HP (afterchange_max_hp). Its colour,color_by_side:playerfor Isaac's side,enemyfor enemies,allyfor allies and characters on no side.change: forchange.ticksticks after the HP changes, another bar at the same place and height sits between the frame andbar. Only the last change counts.- After damage,
barshows the new HP and the one under it the HP before, indamage_color.enemyon enemies anddamage_color.otheron the rest. - After healing,
barshows the HP before and the one under it the new HP, inheal_color.
- After damage,
The bar does not rise with units lifted off the ground. A defeated unit keeps it through its die animation and the 30-tick wait, and loses it when the puff it vanishes in starts (hidden_from: vanish).
Enemy marker
/data/enemy-marker.json is the small letter the game draws just left of every enemy's HP bar. It marks the side: only enemies carry it; Isaac, his squads and allies carry none (carried_by).
- Picture.
letters: "E" with the game in English, French or Spanish and "F" in German (languages; the game supports French, German and Spanish and any other counts as English). Each is 8 × 8 px (size_px), pink and white, not animated. - Position. From the unit's point (
x,yin/data/maps.json) raised by its head height (head_px): the picture'spivot_pxgoes at(x + offset_px[0], y − head_px + offset_px[1]), that is(x − 14, y − head_px − 6). It sitsgap_to_hp_bar_frame_px(5 px) left of the HP bar's frame. Scale 1, opaque, in front of its unit. Example (example): on a Misty Mush (head_px14) the picture spans(x − 18, y − 24)to(x − 11, y − 17). - When it shows. While the enemy is on the field and on screen, all the time; it does not depend on selection or damage. Every unit has an appear counter from 0 to
fade_max(127): it enters the field at 63 and goes up 1 per tick to 127; while the unit blinks as it appears, the letter stays steady (blinks: false). An enemy with thehiddenstatus goes down 1 per tick and the letter goes when it reaches 0. When it dies, the letter stays during the vanishing puff, even though the HP bar is no longer drawn, and goes when the unit is removed.
Mana crystals
Mana crystals (MP pillars) stand on the field in many battles. Each battle in /data/maps.json has crystals: the position x, y in map px and owner, who holds it when the battle starts (player, enemy or neutral). The rules are in mana_crystals of /data/combat.json, in px and ticks of 1/60 s:
- It is a solid circle of
radius_pxthat stops walking and flying units and shots. It has no HP: it only changes hands. - Capture. Every tick, each unit that can capture (
can_capture_crystalsin/data/units/<slug>.json), alive and withincapture_radius_px, addsgauge_per_unit_per_tickto the gauge. When nobody adds, the gauge dropsgauge_decay_per_tick. Overcapture_gauge.neutral(nobody's crystal) orcapture_gauge.owned(a held one), it goes to the side taking it, and the gauge goes back to 0. - Blocking. Nobody takes it while a unit of its owner is within
presence_radius_px. A crystal of nobody does not move on either while units of two sides are that close. - Sides.
sides_that_capture: in the story only Isaac and his squads take crystals; the enemies never take or defend them. - Healing. Its owner's units within
heal.radius_pxrecoverheal.hpHP everyheal.every_tickswhile they are hurt. - MP. Every
mp_regen.every_ticks, Isaac's MP rises bymp_regen.base_mp, plusmp_regen.mp_per_crystalfor each crystal he holds, plus 1 for each earlier rise in a row without chanting, up tomp_regen.streak_max. Without crystals he still recovers: the base and the streak. After a chant the first rise comes aftermp_regen.chant_wait_ticks; with crystals, afterchant_wait_ticks − chant_wait_cut_ticks_per_crystal × crystals, at leastchant_wait_min_ticks. - Picture.
pictureshas one picture per owner, ofpicture_size. Its top-left corner goes at the crystal's point pluspicture_offset. - Capture bar.
capture_bardescribes the bar the game draws with rectangles, not with a picture.drawn_by_siteistruebecause the site redraws it from these rules:- It is
height_pxtall and sitsabove_pxabove the crystal's point. - The background, in
colors.background, starts atbackground.<neutral|owned>.left_pxand iswidth_pxwide. - Over it, from the same edge and in
colors.remaining, goes what is left:(capture_gauge − gauge) / remaining_divisorpx, with the gauge of the last push. - Each push shows it for
fade_ticksticks, with opacityticks left / 2out ofalpha_max.
- It is
- Missions. The objective "Purify the Mana Crystals!" is won when they are all the player's (
all_crystalsinconditions).
Battle camera
/data/camera.json has the camera constants, in px of the map and px per frame (60 a second). The view is
view_px (256 × 192): the bottom screen, the touch screen, where the game puts the main graphics engine (3D and the
map's backgrounds). The top screen is covered by "Top screen" below.
- Position. It is the view's top-left corner. It goes from 0 to each map's
view_x_max_pxandview_y_max_pxinmaps(the map's size minus the view); every move is clamped to those limits. They are the world bounds (world_bounds.always): there is nothing outside the map, so the camera stops on each axis when it reaches the edge and keeps going on the other axis if it still can. The game has a flag to lift them, but only the camera's init writes it, with 0; nothing turns it on. Units and effects are drawn atposition on the map − camera position, in whole px. A unit more than 40 px outside the view (unit_draw_margin_px) is not drawn. - It follows nobody. The camera does not move by itself when Isaac walks, and it does not follow spells, targets or captured creatures. Only the four cases below move it, with no smoothing or dead zone: constant speed and an exact arrival.
- At the start of a battle it centres Isaac: it puts him at
battle_start_isaac_at_px(128, 96) of the screen, clamped to the limits. - D-pad. While held, the view moves
dpad.px_per_frame(7) that way, ordpad.diagonal_px_per_frame_per_axis(4.9) per axis on a diagonal. With the left-handed option, A, Y, B and X act as right, left, down and up. There is no automatic return: the view stays where the player leaves it. It does not move while a spell is being prepared or chanted, or when the mission turns the D-pad off. - Chant. When L is held (R with the left-handed option) and Isaac is outside the screen rectangle
chant_recentre.isaac_rect_px(x 20–236, y 20–172), the chant waits and the view moves toward him atchant_recentre.px_per_frame(10) in a straight line, until he is attarget_px(128, 96). With less thanjump_below_px(10) to go, it jumps there. It stops early if Isaac enters the rectangle or a map edge stops the view. During the chant it keeps correcting the same way. - Missions. A script reads the view's position and moves it in a straight line to
(x, y)atspeed × script_pan.px_per_frame_per_speed_unit(speed / 4) px per frame; missions almost always use 24, that is 6 px per frame. It reports when it arrives. It does not go back to Isaac by itself. If the target is past the limits, the view stops at the edge. - Shake. Big Drop moves the view by
shake.big_drop: ±2 px horizontally, switching side every 2 frames, for 30 frames, then back to 0. The earthquake effect (earthquake_unused, three phases) is in the code, but no spell uses it. The shake does not change the camera position, only what is drawn. - Top screen (
top_screen). It depends on the chant state. In states 0, 1 and 2 (no chant) it shows the minimap, which places four marks from the view's position. While drawing (states 7 and 8) it shows the rune list: arune_gridof 6 columns, one per element, by 3 rows, one per rune level, next to a bar of Isaac's MP. When the chant gives a spell (state 9) it shows that spell: its number, name and description. It goes back to the minimap as soon as the state is 0, 1 or 2 again. That unlearned runes show as "?" was seen in the game, not traced in the code. - Backdrops. Every map layer gets the view's position.
BACK(the map) andANIMuse it as it is.NORMmultiplies it byspeed_factor(PARM/ 256): with mode 3 or 4 it is a backdrop behind the map (sky, sea, lava) that moves at that fraction; with mode 1 it goes in front. On a map withANIM, theNORMlayer is not shown (shown: false). It remains unverified whether a backdrop repeats when it reaches its edge.
Damage numbers
/data/damage-numbers.json says how the number that appears over a unit when its HP changes is drawn. It is with
static evidence (evidence: static); the colour, the place, the duration and the hundreds slip were also checked in
the emulator with Fireball in the first battle. confidence says how sure each point is. Positions are screen px (y
grows downward) and times are ticks of 1/60 s.
- When (
shown_when: hp_changes). Every time a unit's HP changes, from a spell, a normal attack, a shot, a status, the terrain or a crystal's healing (sources), on any side (Isaac, his squads and the enemies alike). It shows the absolute value of the change (value.shown), with no sign, up tovalue.max(9999). It is the damage worked out, not the HP the unit had left: a hit of 347 on a unit with 20 HP shows 347. A change of 0 shows nothing, and a miss does not change HP, so it shows nothing either. - A slip of the game at 1000 and above (
value.drops_zero_hundreds). The digits are picked like this (value.digits_drawn): the thousands if the value is over 999; the hundreds only if the rest (value mod 1000) is over 99; the tens if the rest (mod 100) is over 9 or a digit was already drawn; and the units. The hundreds step does not check for a thousands digit, so a 0 in the hundreds is lost: 1050 shows "150", 1005 "105" and 2000 "200". To draw it as the game does, copy that slip. - Digits (
font). Only the digits 0–9, in 8 × 8 px cells with their point at (4, 4), the centre. They are the same in the four languages. The pictures inkinds.<kind>.imageare 80 × 8 strips with digit d at x = 8 × d. - Colour (
kinds). It depends only on the sign, not on the side or the element:damage(HP lost) is pink-red#de1852with a white outline;healing(HP gained) is green#18bd73with a white outline. Damage to Isaac or an ally looks the same as damage to an enemy. - Where (
place). The number's centre goes on the unit's point (its feet) plus that unit'sradius_pxdownward (/data/units/<slug>.json). It is worked out every tick, so it follows the unit if it moves. It is not drawn while the unit is not drawn (more than 40 px outside the view). - How the digits are laid out (
layout). Withndigits, the centre of digitk(from 0, left to right) is at x =−(3n − 3) + 6kfrom the number's centre, and y = 0. They are 6 px apart (advance_px) although each cell is 8 wide, so the white outlines overlap: each digit is drawn over the one before. - Motion (
timing). None: it does not rise, bounce, scale or fade. It appears whole, stayslasts_ticks(40, two thirds of a second) and disappears at once. If the hit kills the unit (timing.killing_blow), the countdown stops while it dies: the number stays until the unit vanishes in its cloud (about 190 ticks for the first battle's Misty Mush). - Several at once (
stacking). Each unit has one number. If its HP changes again before it goes, the new value replaces it and the 40 ticks start over; numbers are not added up or stacked. Numbers of different units are independent. - Layer (
layer). It is sorted with the rest of the field as if it were 20 px lower than the unit: it is in front of the unit and of whatever is less than 20 px below it. - Sound. Damage (not healing) plays
damage_sound(SE_UNIT_DAMAGE, effect 50). - Example (
example). Fireball takes 347 from a Misty Mush (radius_px6): three pink digits with their centres at (−6, 6), (0, 6) and (6, 6) from the mushroom's feet, for 40 ticks.example.imageis that number already put together (20 × 8), with its centre atpoint_px(10, 4).
Chant screen
/data/chant-screen.json has the chant screen's graphics, with static evidence (evidence: static), not measured
in an emulator. Positions are screen px (256 × 192), times are ticks of 1/60 s, and alphas go from 0 (clear) to 1
(opaque; the game uses 0 to 31).
- When. The circle and the dimming layer appear when drawing starts and vanish at once when the drawing ends, together with the strokes. They do not follow the camera: they stay put on the bottom screen.
- Dimming layer (
dim_layer). A rectangle over the whole screen, colourcolour(#525252), alpha-blended over the field. Its alpha starts atalpha_from(10/31) and rises 1/31 everystep_every_ticks(2) ticks up toalpha_to(20/31): it gets there in 20 ticks. This is what tints the field; the circle does not tint it. - Circle (
circle). The pictureimage(256 × 192, its own orange palette) goes with its pointpivot_px(128, 79) oncentre_px(128, 96); the drawing fillsart_box_pxof the picture, so its centre lands on (128, 103) of the screen. It is drawn opaque (alpha 1) above the dimming layer. When it appears, forappear.ticks(30) it grows from almost 0 byscale_per_tick(0.0332) per tick and turnsturns_per_tick(1/30 of a turn per tick): one full turn. On tick 31 it is at scale 1 and angle 0, and it stays still. The direction of the turn is not confirmed.fade_unusedis a spinning fade-out that is in the code but the game does not use. - Stroke (
stroke). Each stroke is a ribbonwidth_px(8) wide around the pointer points (one per tick, up tomax_points), with round caps reachingcap_px(4) past the first and last point. It is painted with the texturetexture(32 × 32:rimyellow edge,corewhite centre) shrunk to the ribbon's width: the texture's left half is the start cap, its right half the end cap, and the middle columns stretch along the stroke. The texture colour is multiplied by the stroke colour (per channel, in 0..31:(texture + 1) × (stroke + 1) / 32 − 1) and alpha-blended. - Stroke colour. While drawing it is white and opaque: the texture shows as it is. When a stroke is recognised as a rune, over
rune.ticks(11) ticks each channel drops bystep31per tick down to its element's colour (by_element, in 0..31) and the alpha drops from 31 to 20 (alpha_to); it stays like that. A stroke that is no rune (not_a_rune) stays white and loses 1/31 of alpha per tick down to 1/31 in 30 ticks. - Rune list (
rune_list, top screen, while drawing). Over the backgroundbackground, which already has a "?" in every cell and the MP bar's track, go the six element icons (elements) and one 32 × 32 picture per learned rune in its cell (cells: column = element, row = level). A rune not learned draws nothing, so the "?" shows. A learned one Isaac cannot pay with his current MP showsno_mp(an X) instead of the rune.previewis the list with all 18. - Numbers. Each rune that can be paid carries its MP cost,
cost.digits(2) digits atcost.offset_px(18, 18) from its cell's corner; the cost ismp_per_runeof/data/runes.jsonfor the chant's next rune. Isaac's current MP goes with 3 digits atmp.at_px(217, 45). The font of those digits is not in this data. - MP bars (
bars). Two 64 × 64 pictures (grey and yellow) with their pointpivot_px(29, 64) onat_px(224, 155): they grow upward and, full, arefull_height_px(88) tall. Both follow Isaac's MP; which one is in front is not confirmed. - Sparkle (
sparkle). A strip of 32 × 32 frames with their length inticks, placed over the cell of the rune just drawn.
Battle end
/data/battle-end.json says what the game shows from the moment a battle is decided to the end of the
results screen. It is with static evidence (evidence: static), not measured in an emulator; confidence says how
sure each point is. Screen px (256 × 192 per screen), ticks of 1/60 s.
Per-battle rules are at /data/objetivos.json, keyed by script and battles[bf].
They include conditions, time_limit_s, time_result, sources and VERIFIED/LIKELY/UNKNOWN confidence.
port_timer and port_timer_reason describe port policy separately from game evidence.
Only exits/escapes (reach_exit_before_deadline) and survival (survive_until_deadline) use the timer.
Protecting an ally does not imply a deadline: the four verified protection routes win by annihilation.
Chapter 1 · 001 has no port time limit. Local pause freezes ticks; in coop the server decides.
The table at /battles/#battle-conditions lists every variant; /data/maps.json carries victory_rule.
- Outcomes (
outcomes). A mission's trigger ends the battle with one of four actions (action_id, the action number of the mission scripts). Each one sets the word the field shows (word), the song (song) and whether the results screen follows (results_screen).GameClearStart(3) is a win: WIN and song 11.GameOverStart(2) is a defeat: LOSE, or TIME OVER (word_when_time_limit) when the trigger that fired was the time limit.GameLostClearStart(5) shows LOSE but counts as a win.GameEvenStart(6) is a draw: DRAW. All but the win play song 12. - The battle stops (
battle). From that tick no unit moves, thinks or attacks and no trigger runs; the units are still drawn. There is no victory pose. A chant in progress is cancelled and its sound (stops_sound,SE_MAGIC_EISHO) stops. The battle waitssettle_ticks(30) and until the effects in flight are over. - Banner (
banner). Then the song starts and the banner runs, on the bottom screen, fixed to the screen atat_px(128, 96); each picture ofwords(one per language, by game language: French, German, Spanish, any other one English) goes with itspivot_pxon that point.- For
ticks.circle_only(31) only the chant's magic circle and dim layer show, entering as when Isaac chants (/data/chant-screen.json,circleanddim_layer). The word is not drawn yet. - The word appears, opaque, for
ticks.shown(31) and staysticks.held(61) more. - Then the word goes at once (the code means to fade it, but its alpha starts at 0; seen in the emulator), and for
ticks.circle_leaving(31) the circle leaves (circle.exit): it turns 24° per tick and its alpha drops 1/31 per tick. - At
ticks.total(154) the circle and the dim layer go at once.
- For
- Then. With song 12 the battle also waits for that song to end (
waits_while_song_plays; it plays once, 4.287 s), so a defeat lasts longer than a win. Last, both screens fade to black (fade_out, 30 ticks). After a win comes the results screen; after a defeat or a draw, Continue (section "Game rules"). - START (
banner.start). Before play the battle shows START the same way, unless the mission calls native 46 first. The first battle (qc01_m001) calls it, so it starts with no banner; its New Game+ version shows START.
Results screen
results. It only follows a win. Song results.song (10, SEQ_QUESTCL) starts with it and plays through all of it. It has up to four phases in the order of results.phases; a phase with nothing to show is skipped. Each phase fades in from black and out to black (30 ticks). After the last one comes the chapter title, if one is pending, or the world map.
Experience (results.exp), always shown. previews has both screens put together from these fields, in
English and Spanish, without the text. The game's menu font is not available: texts are drawn with fixed 7-px
characters from their point, in a font of your choice.
- Top screen:
top.background(it already has Isaac's portrait, the LV box and three dark rows). Isaac: the LV label atisaac.lv_label_at_px(the_fr_esone in French and Spanish), his level as%2datlevel_text_at_px, the EXP bar atexp_bar_at_px(bar_frame_64, thenbar_back_64, thenbar_fillstretched toexp_bar_fill_px(62) × EXP / EXP to the next level). Each squad of the team, in roster order, at most 3: its unit's icon atsquads.icon_at_px, the plate, its name and level and its bar at the offsets ofsquadsfrom the icon (bar 46 px,bar_frame_48andbar_back_48). The element levels are not on the top screen. - Bottom screen, page 1 (
bottom.pages1): the fourbarsat theirat_px, and thetexts:clear_timethe battle time in seconds (at most its time limit) ashh:mm:ss;defeatedthe kills;survivalthe squad monsters alive × 10000 / those deployed, as%3d.%02d%%, or---.--%with no squads;exp_poolthe EXP still to give, which counts down. - Bottom screen, page 2 (
bottom.pages2, 192 px further down): the element radar. The six element icons atradar.icons, and two translucent hexagons centred onradar.centre_px, one vertex per element (top light, upper right fire, lower right earth, bottom dark, lower left water, upper left wind). Red: radiusfloor((level + 10) × 68 / 50); green:floor(rank × 10 × 68 / 50), rankfloor((level − 1) / 10) + 1. The green one is drawn in front of the red one (seen in the emulator); their alpha is not verified. - Timeline (
waits_ticks30, 60, 30, 60):- Wait 30 ticks.
- Count-up, every tick:
step = max(1, floor(pool / 80)), pool − step, and Isaac and every squad each getstep. Soundcount_step(18,SE_KASAN) every tick; each level gained playslevel_up(19,SE_LEVELUP) and showslevel_up("UP!", itsframesmove it bydy_px) at Isaac'slevel_up_at_pxor on the squad's icon. Bars, levels andexp_poolchange every tick. At 0 the Next button shows and the screen waits. - Wait 60 ticks, then page 2 scrolls up into view in 64 ticks (3 px per tick).
- Wait 30 ticks, then the element levels go from the old to the new ones (growth rule in "Game rules") in 30 ticks, the hexagons redrawn each tick;
element_step(20,SE_ZOKUSEI) plays at 0, 10 and 20 ticks. The Next button shows and the screen waits. - Wait 60 ticks and fade out.
- Input. The Next button (
next_button, by language) is at (232, 168), or (24, 168) with the left-handed option; it fires when the pointer is lifted within 20 px of that point. A new press of A, B, X, Y or the D-pad also counts as Next. During the count-up any touch or one of those buttons gives the rest at once (each member getsceil(pool / members), a quirk of the game) and skips that Next. A touch during the scroll jumps to page 2.
Items and monsters (results.getting): one screen per item found, then one per monster captured, in the order
the battle got them. Bottom screen: the background (item or monster), the title text (70 "You found an item!"
or 75 "You captured a monster!", centred at x 128, y 24), the found row at found_row_at_px (its background
button_images 11 for items, 10 for monsters; icon, name 16 px to the right, LV and level), and the two option
buttons buttons.options (104 × 48, texts 71/72 or 76/77). "Add" adds it to the list; with the list full the title
becomes 73/78 and Next opens the list (item_list/monster_list, 6 rows 18 px apart, list_images, page
arrows 30/31) to pick one to replace; equipped items and monsters in a squad can't be picked. "Throw away"/"Let go"
asks with buttons.confirm (YES 8, NO 9). Touch only; a button fires when the pointer is lifted inside it. The top
screen shows the item's name and description (item_top, item_top_window).
New magic (results.magic): one screen per new spell, spells learned first and then the ones only seen (their runes show as "?"). Bottom: background and a row at row_at_px (32, 76): bar coloured by element (images 9–14), %03d: number, name 32 px right, runes at 132, 152 and 172 px (images 15–32, "?" 34). The top screen shows the spell as the battle's top screen does. Next button or A/B/X/Y/D-pad goes on.
/data/battle-end.md has the same data as tables.
Title screen
/data/title-screen.json is the menu that follows TOUCH TO START: the logo above and five buttons below. It is with
static evidence and checked in an emulator (evidence: static_and_emulator); confidence says how sure each
point is. Screen px (256 × 192 per screen, from the top-left) and ticks of 1/60 s.
- Backgrounds.
top.backgroundalready holds the logo and copyright notice;bottom.backgroundthe sky, Isaac on the hill, the staff and the birds. Both go at (0, 0) and nothing moves: the birds are painted. - Buttons (
buttons, in order: New Game, Load Game, Multiplayer, Wi-Fi Connection, Hand Settings). Each one is the panelpanel(128 × 24) with its text (label, en, es, fr, de) centred atlabel.offset_px(64, 4) from its corner.imageshas the finished button in each language, captured from the emulator: the menu font is not available. The game supports (French, German, Spanish; any other one, English). - Entry (
entry). When the menu appears both screens brighten from black in 30 ticks (fade_in) and, at the same time, each button moves in a straight line fromfrom_pxtoto_pxin 30 ticks: New Game and Multiplayer from the left, Load Game and Wi-Fi from the right, Hand Settings from below. The step per tick isstep_px, truncated as the game does (entry.position), so New Game ends at x 29 and Multiplayer at x 40, 1 px short oftable_to_px. Touches don't count until all of them stop. - Touch (
press). Touch screen only: the D-pad and the buttons do nothing here. A touch that starts inside a button (hit_box, the edge not included) marks it; while the pointer stays inside, the button is drawn 2 px right and 2 px down, and it goes back 1 px per tick once released. Lifting the pointer inside chooses it:press.sound(3,SE_KETTEI) plays and the other buttons stop responding. There is no cursor or cancel sound. - On choosing (
choose). The buttons don't leave: both screens fade to black in 30 ticks and the game goes wheredoessays. New Game starts the prologue. Load Game opens the load screen even with no save: its three slots say "No Data". The menu never disables a button; a disabled one would have grey text (label.colour_bgr555.disabled) and not respond. - Music. The song
music(21,SEQ_DM_TITLE) is started by the title demo, before TOUCH TO START, and the menu doesn't start another. Touching TOUCH TO START plays 2 (SE_CURSOR), fades to black in 30 ticks and stays black about 57 while the menu loads. - Idle (
idle). Left alone nothing changes and it doesn't go back to the demo. - Hand Settings (
hand_settings). It doesn't leave the menu: the five buttons go back to theirfrom_pxin 30 ticks, Hand Settings returns to its place, and the question ("Left/Right handed?",question) and the two hands (hands, fromchr/select_hand.can) come in. Touching a hand plays 3, saves 1 for the left one and 0 for the right one, and the menu comes back. Which value means left-handed is not confirmed. - In the game this screen has no Options or Quit.
/data/title-screen.md has the same data as tables.
Characters
/data/characters.json lists the 19 characters who speak in the story, with their name, how many lines they have (lines) and faces: one picture per expression, in the game's order. The story scenes use these portraits through /juego/data.json (see "Scenes").
Battle maps and battles
backdrop gives the screen colour behind all transparent BG layers: color (#rrggbb), palette (original
NCLR path), and index (0). Draw it opaque across the whole view before BACK, ANIM, NORM and objects; it stays
fixed when the camera moves. It is separate from the NORM parallax artwork. It comes from BACK palette entry 0,
applying APLT when it replaces bank 0 (in lava maps, colour 0 is black in every animation frame). For 903 it is
#73296a (115, 41, 106), from field/back/mc02$b.NCLR: the old flattened image's 793 transparent pixels show
this colour. This is static palette evidence, without emulator verification or a complete trace of register writes.
Flattened PNGs retain their historical transparency and crop. Godot fills transparent colour-0 pixels in far NORM
backdrops (modes 3/4), including all 908 in 903, from the nearest drawn pixel. It shares the faithful site version’s
3×3 expansion (chessboard distance; row-major ties), copying whole RGBA pixels without mixing colours. In Godot’s
local maps.json, each filled layer publishes fill: invented: true, method: nearest-drawn-pixel,
distance: chessboard, pixels (spatial count per frame), and mask
(res://assets/mapas/capas/
/data/maps.json lists each battle map: the full image, the game's minimap, and its battles. A battle has its number (battle), the story missions that use it, and the units on the field when it starts:
uidandunit(the slug in/data/units.json) say who it is.x,yis its position on the map. With the sprite'soriginon that point, units stand on the walkable ground of the map.level, andnamed:truefor story characters (bosses and allies),falsefor regular monsters.orders: what it does on its own from when it enters the field (see "Unit orders in battles").
Each mission in missions carries objective, conditions, time_limit_s, music and victory_rule.
Conditions belong to that battle and script; separate phases may have different rules.
Each condition has trigger, result and value (seconds, area or unit index depending on the trigger).
time_limit_s retains the game limit (3600 if none is set, null when stopped).
victory_rule adds time_result, port_timer, port_timer_reason, icons and status.
The port ignores time conditions when port_timer=false; original data remains intact.
Results are victory, defeat, defeat_passed (defeat that counts as passed) and draw.
protected_unit_dies uses a UPB unit index; exit triggers use an area ID.
music lists the song numbers in /data/audio.json.
chests are the battle's chests: position x, y and odds, what it can give (item from /data/items.json, chance and the chance of each level in levels).
seals are the appear seals on the battle's floor: point x, y and units, the indexes in units of the hidden units that stand on it. How to draw them is in "Appear seals".
animation is set on the maps the game animates: falling snow (tile set ac03, 8 frames of 11 ticks) and running sand (ac04, 4 frames of 7 ticks). Each frame lasts one tick more than the value in the file: the game's clock counts down to 0 and changes frame on the next tick. base is the map without that layer; frames holds the frames stacked top to bottom, each the size of base and transparent where the layer is empty. Draw frame i over base for ticks[i] ticks of 1/60 s, in a loop. image is base with the first frame. On other maps animation is null.
decorations are the game's objects drawn over the map: bridges, tree tops and others. Each has its point x, y in map px, alpha (opacity 0 to 31) and height: the game draws them in order of y + height. frames is a strip of frames of frame_size, stacked top to bottom; origin is the point within each frame. Frame i shows for ticks[i] ticks, in a loop; with one frame the decoration is still. sprite groups those that share a picture.
lava is set on the magma maps (025–028, 044, 305): the lava glows because the game changes the colours of one row of its palette. mask is a picture the size of the map: its red is that row's colour (1–15) at each pixel, and 0 outside the lava. Frame i paints those pixels with palettes[i] (16 colours #rrggbb; 0 is unused) for ticks[i] ticks, in a loop. Frame 0 is the map's picture.
terrain is the map's collision and terrain, in map px (shapes may sit off the edge). There is no grid: units are pushed out of shapes every frame.
boxes(centrex,y±half_width,half_height) andcircles(x,y,radius), each with itskind:high_obstacle: stops walking and flying units and shots.low_obstacle: walking units only.- Zones, for walking units only (flying units are never affected):
magmaanddamage_floordeal 50 damage every 60 ticks (fire and no element);groundthe same, only when a spell heated it;fordhalf speed unless frozen, puts out and blocks burns;icenothing, half speed when a spell melts it;boghalf unless dried;sandnothing, half when turned to swamp;quicksandpushes 0.25 px per tick towardspush. - The 50 damage is multiplied by (118 + random(0..20)) / 128; a unit of the same element heals 6 and one of the opposite element takes 75. Water units ignore the ford and melted-ice slowing; earth units ignore bog, sand and swamp slowing and the push.
event_area(with its numberarea): missions ask whether units are inside; it blocks nothing.
squad_starts: where the player's squads appear. A squad's units are placed at that point plusteam.formation_pxfrom/data/rules.json.- Terrain spells (
terrainin/data/spells.json) change how zones behave inside a circle for 20 s; they do not change the shapes.
terrain_effects lists the zones with an effect on each map (kind, plus the push directions of quicksand). The full rules are in terrain of /data/rules.json:
effectssays what eachkinddoes to a walking unit inside it:push_px_per_tick,speed_multiplier, ordamageeveryevery_tickswith itselement.spared_elementsare the elements spared its slowing or push, andalteredis the effect while a terrain spell changes it (heat,harden,swamp,dry,freeze).damage: a unit of the same element healssame_element_heals_fractionof the damage, one of the opposite element takesopposite_element_multiplier, and the result is multiplied by a random value between the two inrandom_multiplier.flying_units_affectedisfalse, andsides_affectedsays Isaac, his squads and the enemies are treated alike.- The animated map layers only draw: the running sand matches the
quicksandzones, the snow has no zone of its own and the lava ismagma. - Each unit has
terrain_sparedin/data/units/<slug>.json:allif it flies, thekindwhose slowing or push it ignores,fire_healsif fire terrain damage heals it andfire_x1.5if it takes 1.5 times.
Scripted reinforcements
/data/reinforcements.json separates script logic from seal graphics, preserving UPB unit indices,
hidden/reserve flags and visible_at_loop after setup. Rules carry return positions, n85 death checks,
n182 blocking areas, counter thresholds and increment order, freezing, activation and group quotas.
A repeated counter_key shares a clock between exits. source is an instruction index and
source_sha256 identifies the script. Respawning restores HP and clears orders/effects on the same unit.
bf0019 dispatches three distinct units; bf0046's outer quota permits five returns per point.
stop: battle_end stops counters. bf0008 has crystal victory only. NG+ bf0113 is retained in this dataset
but absent from the current selector. unsupported records uncompiled patterns that retain the port's
previous fallback, without claiming the game has no reinforcements there. Static evidence only: lethal-hit
timing, reserve capture and same-tick script/trigger priority remain UNKNOWN.
Appear seals
Some story battles draw hexagram seals on the floor at the points where enemies appear (98 seals in 34 battles; battle
1 has six, one under each Misty Mush). /data/appear-seals.json has the pictures, the rules and, in battles,
each battle's seals with the units that stand on them; seals in /data/maps.json has the same points. Map px,
ticks of 1/60 s, alpha out of 31 (opacity = alpha / 31). Static evidence; the colours, the depth, the blink and the
light column were checked in an emulator on battle 1.
- When. Every seal is on the floor from the start of the battle to its end. It does not react to the units: nothing spawns from it and nothing changes when a unit appears on it.
- Picture.
seal.imageis a strip of 32 × 25 frames, left to rightbase,fire,wind,water,earth,light. Put the frame'spivot(16, 12) on the seal's point. The seal is drawn under every unit. - Base. Frame
base(grey), always opaque. - Colour layer. One colour frame over the base, starting with
fire. Everystep_ticks(4) a step counter goes up; the layer's alpha isalpha_by_step[step − 1](1 up to 30, then down to 2). Aftersteps_per_color(59) steps,color_ticks(236), it passes to the next colour incolors, and fromlightback tofire. So the seal slowly glows and fades in fire (yellow-orange), wind (green), water (blue), earth (orange) and light (yellow). - Size. The seal does not change size (
scale1).
A unit appearing. A hidden unit comes out when the mission's script makes it appear, on its own point (in battle 1 that is a seal) or on another. Nothing sounds. Two things happen at once, from tick 1:
- Blink. A counter goes from
counter_from(63) tocounter_to(127), one per tick. While it rises, the unit is drawn only whencounter & 2is not 0: 2 ticks shown, 2 hidden, for 64 ticks. Then it stays opaque. - Light column.
column.imageholds two 32 × 40 frames with the pivot (16, 32):back, drawn behind the unit, andfront, drawn in front of it. Put the pivot on the unit's point moved down by its radius (radius_pxin/data/units/<slug>.json), with alpha 16. Both mirror horizontally every other tick (mirror_frames). For ticks 1–29 their height is t / 30 of the full height, growing up from the pivot; from tick 30 they are full size and their alpha is 16 − floor(0.4 × (t − 30)); after tick 70 they are gone. The column follows the unit.
World map
/data/world-map.json describes the map Isaac travels between missions. picture is /juego/mundo.png; positions are pixels of that picture.
places: the 44 places, withid,x,yandneighbors, the places a path joins to it.regionis its position inregions: the name and description the game shows (name,description, inen,es,frandde); several places share a region.availability_group(0 to 15) is the switch that enables the place, andunlock_flagthe flag of/juego/data.jsonthat turns it on. According to the code, a place is enabled when its flag is on, and a path when both its places are.paths: the 50 paths, as pairs ofid. They are straight and go both ways. Isaac only goes to a place joined by a path, and each leg takesmovement.leg_frames(60) frames, short or long.offers: the missions and towns the map offers on each place.chapteris the chapter of/juego/data.json(qc01toqc06;sc01tosc03for the side chapters) andstep, the step inside the chapter.optionalistruewhen completing it does not close the step.objectiveis the text of its battles, empty when it only has scenes.scenesare ids of/juego/data.jsonandbattlescarriesbattleandmapof/data/maps.json(nullwhen the battle has no map page).- The same script can appear on two places: the game offers it on one or the other depending on a condition.
free_battles: free battles by place and chapter;chanceis the inclusive ROM threshold (100 or 20).- Missions and visits start on arrival; free battles start only on a successful roll. Starting takes a checkpoint.
markers: the map's three markers. Red marks a place where a mission or a town is offered; blue, another kind of event, not identified; for green, what shows it is not known.confidencesays how each part is known:codeindicates static evidence, not checked in a play session.
The story: /juego/data.json
This file is the game's story logic: which missions are open, what each one plays, what the player's answers change
and which ending they reach. Paths inside it are relative to /juego/. Texts are in
/juego/textos/<language>.json, under the same ids.
Game state
A game is four things, all starting empty:
- flags: numbered switches, on or off.
- counters: numbered values from 0 to 127. Counter
rules.compassionis the one that decides between two endings. - answers: for each scene, the option chosen in each choice slot.
- done: the missions completed.
Conditions
Many entries carry a list of conditions; all must hold. Each is [negate, test] (when negate is true, the test must fail):
| Test | Holds when |
|---|---|
["flag", n] |
Flag n is on |
["counter", n, op, k] |
Counter n compared with k (<, <=, >, >=, ==, !=) is true |
["answer", scene, slot, option] |
In that scene, that option was chosen in that slot |
["done", mission] |
That mission was completed |
["result", k] |
The mission's last battle ended by condition k: 2, no enemy is left alive; 3, the boss died. Both are wins |
Chapters and missions
chapters lists the chapters in order: qc01 to qc06 for the main story, sc01 to sc03 for side missions. Each chapter is a list of steps on the world map; each step offers missions as [mission, offer, conditions] and has flags to turn on when it ends:
- Only missions whose conditions hold are offered.
offer159 marks an optional mission. A step ends when one of its other missions is done (or any mission, if all are optional); then itsflagsturn on and the next step opens.- If no step is open (something must still be found), the last step that offered missions stays open so its places can be visited again.
- The current chapter is the first
qc0Nwhose flag inrules.chapterFlags(one per chapter, 1 to 4) is off. With all four on, the story continues inqc06if flagrules.route6Flagis on, and inqc05otherwise. Side chapters run at the same time.
missions describes each mission: kind (m battle, t town, r free battle) and a timeline played in order, skipping entries whose conditions (the last element) fail:
| Entry | Effect |
|---|---|
["scene", id, how, conditions] |
Play that scene; how is 32 for a scene on its own, 29 or 31 for one shown at the battle that follows |
["battle", id, conditions] |
Fight that battle |
["flag", n, value, conditions] |
Set flag n to value (1 is on) |
["counter", n, delta, conditions] |
Add delta to counter n, kept between 0 and 127 |
At the end the mission counts as done. Mission and chapter names are in the text files (missions, chapters).
Scenes
scenes[id].blocks holds the scene's blocks; it starts in main and runs its items in order:
| Item | Meaning |
|---|---|
["s", background, cameraX, cameraY, cast] |
What the top screen shows from now on |
["l", speaker, line] |
A line of dialogue: names[speaker] says scenes[id].lines[line] |
["c", slot, [[line, block], …]] |
The player chooses: each option's text is scenes[id].lines[line]. Record the option's position as the answer for that slot, then continue in its block |
["n", block] |
Continue in that block |
The scene ends when a block runs out of items. Lines keep the game's own line breaks (\n). Isaac is the hero's
default name. [L], [B] and [+Control Pad] (in each language's words) stand for the control buttons.
To draw the top screen (256×192):
- Background:
bgs[background]is[picture, width, height]. Show the part that starts atx = clamp(-cameraX, 0, width - 256),y = clamp(-cameraY, 0, height - 192). - Characters: each
[actor, x, y, expression, mirror]ofcastis a portrait.portraits["<actor>_<expression>"]is[picture, dx, dy, width, height]: its top-left corner goes at(x + dx, 160 + y + dy), mirrored horizontally whenmirroris 1.names[actor]is who it is.
Endings
When a mission turns on flag endings.gameOverFlag, the game ends: the ending scene is the one paired with the first flag that is on in endings.byFlag ([flag, scene]), or endings.default. Their titles are in the text files (endings).
Battles in the story
battles[id] is a battle of the story: map (its picture), size, and units as [uid, x, y, level, character] (character is not 0 for story characters). The same battles, with names, are in /data/maps.json.
Text files
/juego/textos/<language>.json has, for that language: names (speakers, by number), scenes (each scene's title and lines), missions, chapters, endings and units (unit names by uid). Its ui holds the labels the site's novel uses; you can ignore it.
Audio
/data/audio.json has music (code is the song's name in the game) and effects grouped by category. Songs that loop are recorded playing the loop twice and fading out. In the game, a song with loop_end_s jumps back to loop_start_s when it reaches loop_end_s and plays forever; one with end_s plays once. missions and scenes count the missions and scenes that use it (each mission's is in /data/maps.json), and screen is the fixed screen that uses it: world_map, mission_complete, victory and defeat (when a battle ends), game_over, title or ending.
sound_events says what plays the sound effects of the menus, the world map, the results screen, treasure chests
and mana crystals. It is with static evidence (evidence: static): each place that plays a sound and the number it
loads; it was not observed in an emulator. The game plays sound number N as entry N − 1 of the selected sound archive.
That is normally SEQ_SE, the "Game" category of effects.
events:group(menu,world_map,results,chest,crystal),event,sounds(id,name,url) andcalls, the places in the code that play it. In menus,cursor,confirmandcancelare identified;othergathers the remaining menu sounds, whose triggering action on each screen was not traced. On the map:move(one leg of a path),enter_event(arriving at a scene or a town) andenter_battle. Results:exp_count(each step of the experience count) andlevel_up. Chest:openanditem(the item obtained). Crystal:capturedandlost.download: while the duel mode's Download screen is open, the game uses another archive,SEQ_SE_CURSORS. In it, numbers 2, 3, 4 and 108 play their own versions (replacesis the normal sound of that number).urlisnullwhen the site has no clip of it.
Other pictures
/data/gallery.json groups the rest of the art by section: runes (the shape of each one, as a picture), spells and battle effects, backgrounds, world map and its markers, interface, and unused or test art. /juego/mundo.png is the world map.
Not in the data
Your version has to define these:
- Which orders produce the AI's states 6, 7 and 12 (
unresolved_statesin/data/ai.json) and how the AI looks in a battle: static evidence, not observed in an emulator.
Port (Godot)
How the port plays (Godot): X31 #1049: solid forest starts 2 px inside the scheme, with 1920 boxes and four circles. Overhanging crowns preserve radius-11 access. The real navigator reaches eleven crystals and seven camps from both nexuses at radii 7, 10 and 11, terrain only; dynamic occupancy is not tested. North seals at (68,344)/(1468,344), 20 px farther inside the clearing; routes and seals reimported; 28 px/120 ticks unchanged. Lane return corrected: only ally bodies allow skipping occupied corners, followed by rejoining the outgoing segment. Cooperative room #1028: Continue preserves code, seats and links; Ready resets. Story retains the room; defeat repeats the battle. Results renew the reservation; expiry triggers automatic reopening. R-93 distinguishes internet expiry from an available LAN room; request the same code or dismiss to stay on LAN. Local link replaces the expired code until recovery. Only the lobby preserves the room with these actions; Leave during battle reconnection closes battle, pause and transport. Local implementation, real network pending. Map #1044: n142 and chapter entry wait for card and banner; mission completion consumes arrival. Interruption allows one retry by reopening the map or tapping the current place, without an automatic loop. A new n142 stays pending. No mission or a free battle consumes it immediately; rolls save before opening. Loading without pending arrival activates nothing. Native n18/n159 persistence belongs to each offer, without making steps repeatable. #999: solid white 0–2, 3 px directional recoil to tick 8, second spell flash 12–14; 16-tick cooldown per body and local actual-damage vibration; stable identity for repeated species. ROM effects unchanged. iOS #601: unsigned preset and make ios-sim; Simulator execution pending. Touch input, internal keyboard and safe areas; no external PCK or multiplayer. App Store pending. Stage #926: port_reel_stage, for video recording only, from reusable JSON scenes. Levels #696: HUD, Formation and room use real progression. Continue completes and advances EXP. Formation splits level-one base + level growth + equipment, keeping before→after comparisons. Novel #898: op0b moves portraits 2.5 px per update; op18/op0f use fx12 addition. A fixed DS transform prevents stationary portrait drift when another enters or exits. G1–G9: frame visible with portraits or gaps under 1.5 s; arrows only with text; portrait bases meet the box body below its gold border, drawn over it using its physical thickness. G9 keeps cast speakers visible throughout their lines; ROM offscreen voices stay unchanged. A fixed line per mode even when hidden; Skip separated by eight dp; listeners at 85% with a 0.15 s fade only with another visible speaker. Single portraits or narration without a portrait: full brightness; edge travel up to 48 DS px with a 0.25 s fade and visible moves over 64 px, including consecutive ROM legs, crossfading at fixed positions. Rendering divergence only; fx12 data unchanged. G4 entries use the last 15 ROM ticks to prevent overlap; backgrounds and portraits share signed brightness without making portraits transparent. HP/MP bars stay visible during dialogue; only E markers hide (Manuel, 2026-11-06). Prologue uses ROM side/mirror with stable text; black title for 2.5 s plus a 0.4 s exit; place dialogue below H/2 + 30 dp, with a 48 dp footer. Static ARM and per-tick port verification; visual emulator comparison pending. Manuel’s decision, 2026-11-05 (#879): element level increases play no sound. SE_ZOKUSEI remains an asset; progression, visual pulse, results and duel/co-op synchronization are unchanged. Combat #860: VM locally connected to mission simulation with exported bytecode; no 240-tick selector within that contract. Includes bf0000 and its eight dialogue gates (27/27 boss UPBs); full physical fidelity is not established. ExpirationTrig endings preserve script deadlines and defeat_passed; without such an ending the generic deadline remains active. Story #850: chapter loading and save v2 with v1 migration; qc01 → qc02 → qc03 step 1 flow. Internal tutorials 152/153 and bosses #847 remain pending; qc03 does not open qc04 yet. Manuel, 2026-10-30: chapters and battles match the original game. The original game takes precedence; spells and their animations remain identical to the original. Collision follows the original: full crowns block movement and projectiles; crystals use rules.radius_px at their position. Map improvements #739 and exterior margins / outpainting #738 are deferred until after launch. Manuel’s visual exception, 2026-10-31 (#752): battle walk cadence follows effective speed; simulation and networking remain unchanged.
qc01: first playthrough, instance NPC roles and six single rune spells. m001: visible pan spawns, corpse retirement during S147, empty chest wait60/fade31. Local #1011: Manuel decision 2026-11-14: evaded melee hits show a defender step of up to 5 px and an afterimage over 14 ticks. The ROM likely shows nothing. Simulation position, HP and RNG unchanged; excludes defense and projectiles. Replicated in co-op/duel; new visual review pending. Local #985: reward chest open 0–17, loop 18–77 (60 ticks), empty from age 78. Manuel decision 2026-11-14; departs from ROM (loop 10 ticks, empty at age 30). Reward pouch flight and fading pending (static reading, ±1 tick, no emulator). Step2: blue qc01_m002; free battle without marker. Isaac level/EXP awaits design. Local R1 #755: m001 tutorial with S146/S147, stage input locks and Water/Light before wave two. Local #830: Battles reuses the isolated S146/S147 entry; wave one has no victory or Results, wave two ends with six defeated enemies. Replaying does not advance Story; headless verification. Partial original reference; complete verification and windowed Godot replay pending. S146/S147: final fade cleared on battle resume; headless waves/victory regression. Windowed review pending. op19/chest: touch or click/right-click selection and movement; chanting blocked, opening releases BR18. Headless regression uses real input events; port radius remains unmeasured in the original game. Learning events apply only to story; duels and co-op retain their behavior. Local saves #755: erase requires confirmation per slot; cancel preserves, New Game restarts the prologue. Local opening #755: original seal/title, map with place sign and full-screen narration from line 0; Place sign shares novel dialogue, name pill, typewriter and full-screen tap, without skip. op13 restored in 3/5/7/10/15/149. Tests not run; graphical review pending. #844: ROM background composition and initial scroll; uniform cover of the DS 256×192 window centered on its camera. Symmetric crop without distorting artwork; BG16 retains original black. Graphical review pending. #845: large novel rune centered above dialogue, 128×128 crop with NEAREST, no side card; normal ▼. Battle guides unchanged; full op16 animation still pending. Local prologue #755: scene 146 over battle 0, eight pauses and real magic. Diva approaches the Bishop during the final line using Move/Wait/Back; n102 waits 60 ticks. Touches: Wide Light ×3 (86), Gold Light ×3 (50), God Wyrm (69); preloads 86/50/69/73/48/108. Real aiming without runes; direction/fixed_circle confirm on release and cancellation rearms it (original unverified). Bats and Russell take damage and die without early results; Diva remains protected. God Wyrm confirms on press, as in battle/original; releasing does not duplicate the cast. Thunder 49–54: bolts, shade and per-target spark; 353/354 pending. Diva 73/48/108: caster chant and foot ring; 73 starts at the caster, 48 composes its core and rocks. 48: grey dust; 108: sparks and white flash fading to violet; visual review pending. Prologue Bishop: scripted HP 400→367→333→297→188→88→0 on real contacts; numbers 33/34/36/109/100/102 (last visible in the original game: 2964); normal/co-op combat unchanged. 108 anchors the four replay offsets to the Bishop, without AI range displacement. Touch pauses omit the caption and counter (Manuel, 2026-10-31). Bars at −head_px−7; Russell only green HP, Diva and bats red HP; visual review pending. Four individual bats: UPB squares, then two points on Bishop entry, battle Move/Back at level 1. Novel, Formation, Battle and results; progress saves after mission closing scenes. Defeat or withdrawal does not advance. Missing scene 16 blocks its mission; visual review pending. NG+ separate.
Laboratory #715: battle HUD on PC, Q/C/Esc bar and catalog through L or mouse; Reset and Collisions beside the portrait. Phones retain touch controls.
Terror and berserk #734: six new spells; laboratory 385/396. Primary targets remain separate from commands; PlayerNode/BossNode role immunity; protocol v45. Eleven spells remain excluded; sources and pending consumers are listed in AI_STATUSES_734.md.
Blasts #734: fourteen variants including the final six; laboratory 385/396. Globals affect both sides with flight filters. Flood creates no terrain; polygon alpha A=20 (weight 21/32), closure +1 every two ticks to opaque A=31, then removal without fading. Frozen Time does not pause the world.
Dances #734: six variants, approach, 21 physical hits and invulnerability; laboratory 317/396.
Projectiles #734: six point whirlwinds and Gale Arrows; laboratory 311/396. Death Bullet remains excluded pending its absolute preparation clock.
Whirlwinds #735: five wobble states; no trapping or per-tick damage.
Walls #735: original fx12 spacing; drawing and collision share post centres.
Rain #734: six variants and temporary terrain lasting 1200 ticks; laboratory 289/396.
Falling #734: fifteen variants, per-impact terrain and v37 replicas; laboratory 304/396. Missile and preparation pending.
Documentation as of: 2026-10-28.
Persistent cooperative room
Local implementation; network and device verification pending.
Continue preserves the room, code and seats after victory or defeat. The host prepares the next battle; Ready resets. Story retains the room while its sequencer continues. The reservation renews during results and automatically reopens on expiry. R-93 can request the same code or dismiss the notice to stay on LAN. Local link replaces the code until recovery. These actions preserve the room only in the lobby. Leave also closes the battle, pause and transport during reconnection.
Compared with the original: Manuel decision for the port; not sourced from the ROM.
Decision: 2026-11-15 · #1028
Damage reaction and vibration
Implemented; tested on a Samsung Galaxy S20 FE.
Solid white flash (ticks 0–2) and 3 px directional recoil, easing out to zero at tick 8; second flash for spells (12–14). Local vibration from actual HP loss, with a saved setting and a 16-tick cooldown. No hit-stop or simulation changes.
Each body has its own identity: repeated species do not redirect flashes, recoil or vibration. Reinforcements and appearances keep that identity; networking reuses its unique battle ids.
Compared with the original: Approved exception; ROM impact and spell animations remain unchanged.
Decision: 2026-11-14 · #999
Twisted Forest: a port duel map
Local implementation; access checked at radii 7, 10 and 11; visual review pending (#1049).
The host can choose Twisted Forest alongside the usual forest for 1v1 duels. Both players receive the same map and must confirm Ready after a change. Orders from both players are validated against map width and height: X31 measures 1536×768. It does not appear in Story or Battles. Crystals and nexus victory are enabled in #1029; Misty Mush waves follow both lanes in #1030.
Approved by Manuel on November 15, 2026 (#1021). Ground and hay bales generated with Codex; Windmills and wingbeats retain the ROM sprites. Only in X31, four butterflies cross both halves on smooth deterministic curves, without collision or simulation changes. Redesigned in #1049 as Twisted Forest: dense forest corridors with a north edge lane and a south edge lane. Collision is symmetric about x = 768; art varies between halves. Forest collision starts 2 px inside the scheme edge: 1920 boxes and four circles. Overhanging crowns block only when radius-11 access is preserved. The real navigator reaches all eleven crystals and seven camps from both nexuses at radii 7, 10 and 11, using terrain alone. Isaac and his squads start behind the nexus, 36 px from its center. No fences. Seven camps: Stone Golem, Wraith and Gale Hound on each side, plus a central Wyvern boss. The background uses map 008 windmills with 0.75 parallax. The new mask has no water; the eight-frame ANIM layer is empty. Windmills and butterflies retain their ROM animations. This deliberately differs from the original.
Compared with the original: A new port map, absent from Nintendo DS.
Decision: 2026-11-15 · #1021 · #1029 · #1030 · #1031 · #1043 · #1049
X31 duel: neutral camps
Local implementation; visual review pending.
At tick 0 there are six squads of three: Stone Golem, Wraith and Gale Hound on each side, plus two Wyvern bodies. All are level 1. They fight both players and do not count towards victory or crystal presence.
Port exceptions: only damage activates camps against damaging teams; pursue targets within 140 px of the anchor, then return without attacking and fully heal on arrival. Respawn 60 s after the last member dies; Wyvern takes 90 s. A living recruit postpones the timer.
Trap retains the port’s provisional HP threshold and capture limit; published probability is not applied yet. Recruits obey their caster only for that match, with no collection or save reward. Protocol v63 carries neutral side and temporary ownership; only the server simulates.
Compared with the original: Species, stats and combat from the ROM data used by the port.
Decision: 2026-11-16 · #1031
X31: waves along both lanes
Local access, intervals and lane return verified; Xiaomi measurement remains pending (#1049/#1032).
Each wave per lane and side has 3 melee Misty Mush and 3 ranged Purple Cap, level 1 with ROM combat. Every third wave adds 1 melee Knight Orkus as cannon. Units spawn one at a time once the previous unit is 28 px from the seal, waiting at most 2 s (120 ticks): melee, cannon, then ranged. Each walks immediately with ROM blink and column effects. First spawn at 15 s (900 ticks), then every 30 s (1800 ticks). Cap: 2 living waves per lane and side; one survivor keeps the slot. A full lane skips its spawn independently, without a backlog.
They follow lane centre points; an ally occupying a point allows passage within three body radii. They navigate around hills and pits. They fight players and rival waves; they never attack neutrals, even in retaliation. They capture their lane gate, then the inhibitor once both rival gates are lost; they wait there and never capture the nexus.
Proximity never activates camps: only damage activates them against damaging teams. Camps retain their 140 px leash. Waves have a 60 px leash from the nearest lane segment; after the lane it follows the path to the current gate or inhibitor. Beyond the limit they drop enemies and return.
An occupied corner is skipped only when an ally body covers it; units rejoin the segment before advancing. They cannot be selected, commanded or trapped and do not determine battle outcome. Protocol v63: the server simulates 56 reusable slots; guests receive position, HP and ownership. Team colours match crystals and minimap. Map 004 and story do not gain waves.
Eleven ROM seals remain below units from tick 0 until battle ends (ROM limit: 12). Waves use the base frame at (68,344), (68,444), (1468,344) and (1468,444). Camps use earth for Stone Golem, dark for Wraith, wind for Gale Hound; Wyvern base at (768,243). Spawns and respawns use the ROM 64-tick blink and 70-tick column, without changing simulation.
Compared with the original: Waves and objectives created for the duel; absent from the ROM.
Decision: 2026-11-16 · #1030
Duel: crystal capture and victory
Local implementation; order approved in #1030.
X31 activates its eleven positions: four crystals per side, two neutral altars and a neutral sanctuary. Each side has two gates, an inhibitor and a nexus. Forest 004, story and co-op retain their rules.
Both sides capture within 40 px after exceeding 150 points for neutral or 300 for owned crystals; presence within 70 px blocks and the gauge decays without pressure. Each owned crystal heals 30 HP every 100 ticks within 70 px, adds 1 MP every 30 ticks and cuts post-chant wait by 30 ticks.
Order approved in #1030, absent from the ROM: gates are open; the inhibitor stays protected while its original owner holds either gate; the nexus stays protected until the inhibitor is lost. The chain is configured in data. Capturing the rival base or defeating their Isaac wins. Networking shares ownership and gauge; each player sees their crystals blue and rivals red.
Compared with the original: ROM capture and effects; port objectives and victory.
Decision: 2026-11-15 · #1029
World map free battle rolls
Local implementation; emulator comparison pending.
Free battles roll on arrival: 100% in chapter 1 and a nominal 20% from chapter 2 (about 21% due to the ROM’s inclusive comparison). On a miss Isaac stays at the place. Every roll is saved immediately.
In Story, map units add max(Isaac level − 6, 0) to their base level, capped at 50. Port difficulty applies afterwards. This bonus replaces NG+ for that battle; chests, Isaac and squads are unchanged. In co-op the battle preparer decides the bonus and guests receive the same levels and stats. The battle selector keeps base levels.
Without pending arrival, tapping the current place opens no mission and rolls no free battle. When the story moves Isaac to a place (after a mission or at the start of a chapter), he arrives after the chapter card and place banner, opening its mission or rolling its free battle. Story arrival is consumed on mission completion; interruption allows retry by reopening the map or tapping the current place, without an automatic loop. A new n142 stays pending. Free battles save the roll and consume arrival before opening; places without missions also consume it. Dialogue visits that the original offers again stay available for their whole step and take priority over the free battle at that place.
Difference: the port uses a separate random seed per save; the ROM shares its state with combat and resets it to zero on battle entry. Same distribution, different sequence.
Compared with the original: Original probability threshold, with a separate port seed.
Decision: 2026-11-16 · #1000 · #1002 · #1016 · #1044
Ice blocks that close passages
Implemented; not yet compared with the game in an emulator.
74 blocks across five maps, including the nine in “Flee as fast as you can!” (bf0006). A high 16 px circle blocks walkers, flyers and projectiles. A fire hit that includes background objects starts a 31-tick fade and shrink; collision remains intact until removal. FCEL FobjMC03a sequence 0 retains its native pivot and y depth. State and melt tick replicate in coop and duel using v51. Spawns retain permanent terrain connectivity: ice closing a passage does not relocate a free start.
Compared with the original: Rules and sprite extracted from Nintendo DS; no gameplay enhancement.
Decision: 2026-11-14 · #987
Compact item notice
Implemented in the port.
A translucent pill with an icon and one line sits below the objective inside the safe area. Touches and clicks pass through. Chanting hides it and pauses its four-second timer; closing chanting restores the remaining time and queued notices, including coop and duels.
Compared with the original: Port HUD adaptation; original rewards are unchanged.
Decision: 2026-11-13 · #979 · #698
iOS: first Simulator delivery
Local implementation; Simulator execution pending.
Unsigned iOS preset and Simulator build with make ios-sim. Touch input, internal keyboard and native safe areas. No external PCK updates. Multiplayer is disabled with an offline-play message; WebRTC, LAN, Universal Links and network type remain pending. Real iPhone support and App Store availability have not been verified.
Compared with the original: Port platform adaptation; Nintendo DS rules are unchanged.
Decision: 2026-11-09 · #601 · #749
Scenes for video recording
Local port tool.
port_reel_stage loads a map, actors and orders from reusable JSON for video recording only; no story script, victory, defeat or rewards. It does not appear in menus or progression.
Compared with the original: Not a Nintendo DS battle.
Decision: 2026-11-08 · #926
Markers centered on the visible unit
Local implementation; GPU review pending.
Selection, automatic alerts, targets, appearance and bars follow the horizontal center of the current frame’s opaque bounds. This requested visual adjustment preserves logical positions, collision, trajectories and aiming.
Compared with the original: DS centers HP on the logical position; recentering from opaque pixels has not been verified.
Decision: 2026-11-06 · #897
Cooperative player starts
Implemented; visual review pending.
P1 keeps the mission Isaac position. Others use starts ordered by slot and coordinates, reused cyclically with a six-pixel offset; Isaac bodies remain separated.
Squads overlap below and beside their Isaac with 30% formation offsets, three pixels per squad and three pixels downward. Terrain still respects radius, flight and the reachable component; an invalid point moves to the nearest reachable cell.
Isaac renders above overlapping allies and keeps HP/MP visible. Initially stacked ally bars return when damaged or released. Stacks stay still without allied collision until each member first receives a movement order from its player or AI, with no time limit. The order releases the stack before path planning; each member exits its own birth overlap towards its goal. Routes and goals avoid the other stacks without pushing them. Squads arrive in their normal formation. Terrain and enemy collision remain unchanged. Solo, Story and duels keep their deployment. Each mission retains its capacity and available squad slots.
Compared with the original: Manuel decision for port cooperative play; this does not come from the ROM.
Decision: 2026-11-06 · #893
Objective and timer plate
Implemented; captured at 2400×1080.
The HUD shows the first battle objective in the active language. Simultaneous objectives add +N; phases show only their current battle text and briefly flash on change.
Touching the plate opens conditions and the effective time limit; touching outside closes it without pausing. This port presentation changes no victory, defeat or duration rules. The clock turns red at 30 seconds. Cooperative battles share the plate; duels without a mission show only the clock.
No published battle currently has simultaneous objectives: +1 uses an explicit fixture.
Compared with the original: Battle texts and conditions published in objetivos.json.
Decision: 2026-11-05 · #889
Story: persistent formation
Local implementation; not deployed.
Confirming Formation saves species, levels, items and E1–E3 order in the Story slot. Choices persist across battles, reloads and chapter transitions.
Only unavailable choices are replaced using the default proposal, with a brief notice. Saves without a formation use that proposal until the first confirmation. Deliberately empty slots stay empty. Testing, cooperative play and duels retain their flow.
Compared with the original: Persistence requested by Manuel; this does not establish Nintendo DS behavior.
Decision: 2026-11-05 · #882
Tutorial: straight to S4
Manuel decision: skip results only in the story campaign.
Decision dated 5 November 2026: winning qc01_m001 in Story goes straight to S4 with its music 8. Items, captures, affinity, Water and Light runes, progress and saving after S4 are preserved. Failed reward saves must be retried before continuing.
This approved departure from the ROM avoids interrupting the tutorial. Other battles, isolated replays, test mode and duels retain results and their music 10.
Compared with the original: Nintendo DS shows RESULT after m001, with music 10, before S4 (REPORT A10, 40-results-s4).
Decision: 2026-11-05 · #880
Navigation: work per tick
Local change; checks recorded in HISTORIA_CAPITULOS.md.
Orders allow one path search per tick and prepare twelve formation batches when issued. Remaining work continues on later ticks; CPU time is diagnostic only. Path availability no longer depends on device speed.
The automatic player retries each battle and marks an injected victory after exhausting attempts. This allows later battles to be evaluated without counting the injection as a played win or creating loot.
Compared with the original: Port path planning; this does not establish the original Nintendo DS algorithm.
Decision: 2026-11-05 · #859
Story: chapters and save v2
Local story flow implementation; qc02 fidelity remains incomplete.
Missions with consecutive battles close results before opening the next Formation. In qc05_m015, S99 plays before the phase change from 55 to 56; its pause does not hold results.
op0c waits for portrait and background motion; chanting retains its op19 pause and op1a response. S153 presents Fire, Water and both guides with the qc01 tutorial medallions. Interpolation and adaptive layout do not establish audiovisual identity with Nintendo DS.
Story loads chapter missions over the shared map, retaining auxiliary visits, simultaneous offers, F37 branches and repeatable free battles. The flow reaches qc05/qc06 through qc04. Version 1 saves migrate while retaining choices and learned runes.
The two-rune limit is granted after scene 27. S152/S153 have a local controller; fine fidelity and #847 boss patterns remain pending. Injected victories check the contract; they do not prove a played campaign or visual equivalence with Nintendo DS.
Lake and dunes keep independent steps, alternative battles and repeat visits to Seele. Visits t007/t107 open qc04 with its chapter card and node 3; the e2e uses injected victories.
qc04 traverses 17 steps and 12 battles. Rejecting confirmation in S75 repeats the decision. Handing over the Wand opens qc05; keeping it and confirming Yes sets F57 and opens qc06. Both routes start at the temple (node 31), with their own card and port map song 9. Native battle scripts and audiovisual comparison with DS remain pending.
qc05 retains repeatable C1 search visits until F72. Its three areas converge through F67/F68/F69 and F71; t013 grants three runes after S129. C2 selects S155 through 13 and S156 from 14; completing the epilogue and credits marks the save completed. Checks use injected victories; SCRB battle scripts remain pending.
qc06 preserves the F52-dependent order, auxiliary visits and 43 free battles shared with qc05. Trista’s choice leads to S158 or the last four battles and S157. After the epilogue and the original credits, paginated in the port, the save is marked completed. The journey uses injected victories: n179, other battle scripts and the original credit presentation remain pending; qc06 does not yet establish full fidelity to DS.
sc01 preserves Zoe choices in qc04. In qc05, F72 opens its reward and sc02; F71 opens sc03. Nine side battles leave the main step intact. n195 grants a level 35 mage based on C3, with failure when the roster is full. Rewards persist per save slot. qc00 m000/m006/m009 have no campaign offer. Static contracts and injected victories do not establish DS combat fidelity.
Compared with the original: Offers and branches from movementmap; chapter cards and starting places from the ROM.
Decision: 2026-11-05 · #850 · #851 · #852 · #853 · #854 · #861 · #863 · #872
Formation: owned items and tester catalog
Local implementation; visual review pending.
Without switches, Formation only shows item classes and levels acquired in battle. An empty bag never unlocks items. Developer tools alone do not grant items either.
All items offers every class at level 1. Its nested All item levels switch enables levels 1–6; it is disabled and ineffective while its parent is off, retaining its saved preference. Both require developer tools.
Virtual equipment is used in the temporary formation and battle without granting bag ownership or writing virtual items into the checkpoint. Disabling the catalog discards assignments absent from the bag; actually owned equipment is retained.
Compared with the original: Manuel’s decision; testing switches are specific to the port.
Decision: 2026-11-04 · #846
PC signals next to Esc
Local implementation; browser review pending.
In multiplayer, PC adds G to the right of Esc in the action bar. Clicking opens the wheel within the window; dragging from the cell keeps the directional gesture. G keeps its keyboard mode and Esc cancels. The cell is absent in single-player.
The left disk is drawn and receives input only with touch controls. Phone controls stay the same.
Compared with the original: Port input adaptation requested by Manuel.
Decision: 2026-11-04 · #834
Ground signals
Local implementation.
Ring and cross sit below units and canopies. Signals and selection share a 0.5 vertical ellipse ratio, preserved during pulses. Only the colored icon remains above the field.
Compared with the original: Port visual decision; ratio not measured in the ROM.
Decision: 2026-11-04 · #836
Single-player difficulty in Options
Local implementation; balance and visual review pending.
Easy, Normal, Hard, Expert and Custom apply from the next single-player Story or Battles encounter. Normal preserves current port units, orders and deterministic results. Selecting a preset sets all controls; changing one selects Custom. The preference is saved.
Easy: level −3, sight ×0.75, reaction interval ×1.5 and original target order. Normal: 0/×1/×1/original. Hard: +3/×1.25/×0.75/lowest HP. Expert: +6/×1.5/×0.5/lowest HP. Initial tuning needs player testing; effective levels stay within 1–50 and reaction intervals above zero ticks. Larger intervals react slower.
Scripted sight and reinforcements share these adjustments; no new global reinforcement or magic controls. Cooperative play ignores this preference and uses its player-count table. The room lists all four controls relative to Normal without editing. PvP remains unchanged. Replays retain their adjustments.
Compared with the original: Port divergence approved by Manuel on 2026-11-04.
Decision: 2026-11-04 · #692 · #817
Battles reached in Story
Implemented; not yet compared with the game in an emulator.
Battles requires port support and Story progress. A fresh profile only has the first battle. Progress combines all three slots: current mission, completed missions and individually reached battles. Locks, actions and chapter counts share this rule.
Hosts can only create rooms for their available battles; guests can help regardless of their own progress. All battles in Tester mode persists independently without changing saves or bypassing missing engine support. Disabling it restores actual progress.
Compared with the original: Port access rule requested by Manuel.
Decision: 2026-11-04 · #822
Player monster collection
Implemented; not yet compared with the game in an emulator.
Formation, Battles and cooperative My team only offer species captured by that player. Old profiles start with an empty collection: Isaac fights alone. Stored in ajustes.cfg under partida/monster_collection with bag and affinity; shared across story slots.
All monsters in Tester mode enables the full catalog without writing the collection. Each participant declares their list on room admission; the host validates their formation against it. Cooperative captures belong to the trap caster.
The ROM gives Boxdog (62) or Dogbox (63), level 35, through n195 in sc01_t008/t009 (arm9 0x208db00, counter 3 < 2). These side missions are outside the implemented qc01 campaign; their gift is not granted early, and tutorial/demo writes are not treated as starter monsters.
Compared with the original: Captures after victory; port species collection, with no invented starter monsters.
Decision: 2026-11-04 · #821 · #817 · #527
Story: ask for help before battle
Local implementation; physical networking and visual review pending.
Ask for help in Formation opens the existing Battles cooperative room for the current mission and part, with two to four players, code, link or QR. Cancelling preserves Story Formation.
Each participant brings their persisted Isaac and collection monster levels. Results saves items, EXP, affinity and owned captures in each profile. Only the host resumes dialogue and advances Story; guests return to the menu without writing Story slots.
Protocol v50 carries participant and monster levels, capture levels and the result code. EXP is retained in the profile; Isaac and each deployed species receive the full victory pool, including dead and loose monsters. The ROM curve caps levels at 50 and stores EXP within the current level; captures retain their level. HUD, roster, team, detail and room show owned levels when returning from battle. Formation separates level-one base, level growth and equipment in bars and numbers; before→after remains. Stats, MP and UP use owned levels. Results starts with EXP and levels, followed by affinity and items. Skipping the count keeps the saved reward unchanged. Pages of four members include loose units; the bar is full at level 50. Continue completes counting and advances in one press. A zero pool omits the EXP phase.
Compared with the original: Port extension approved by Manuel; solo mode keeps its original simulation.
Decision: 2026-11-04 · #818 · #817 · #821 · #822 · #696
Cooperative: personal army and difficulty per guest
Local implementation; initial tuning still needs player testing.
Traps can affect the caster’s allies or another player’s allies without recording captures. Battle effects remain unchanged; Isaac remains excluded. Only opposing units become captures. The original kind-3 EnemyNode filter is documented in progression/REPORT.md (ov1 0x2113640). Victorious captures feed the player’s persistent collection (#821).
Every player gets the full mission ally capacity and their own E1–E3 slots. Guest Isaacs cost no ally positions. Each player controls only their allies; the host validates each formation separately and can release its slots.
With 2/3/4 players, enemies gain +3/+6/+9 levels, capped at 50 using existing growth curves. Sight ×1.25/×1.5/×1.5, reaction ×0.75/×0.5/×0.5 and weakest target selection. Reaction rounds to the nearest tick: 10 becomes 8/5/5 ticks.
The server fixes the profile at battle start, including reinforcements, and retains it after departures. No extra enemies or map changes. One player retains original statistics and AI. Reviving other players remains unlimited (#674).
Compared with the original: Port divergence approved by Manuel; replaces the shared capacity from #467.
Decision: 2026-11-04 · #817 · #818 · #467 · #692
Cinematics: sound and dialogue window
Implemented.
Op16 requests effects; op17 stops effects without stopping music; op1e controls the dialogue window (ARM9 0x020a35f8, object [r4+0x28] created at 0x020a47d0 with /bg/event/window$n.LYRB). The landscape remains visible. Sustained notes keep their attack and ROM waveform loop.
Fades separate start (00–03) from barrier (04–07). Textures are retained before publishing the step. The catalog builds cards per chapter, rejects loading gestures and distinguishes S146/S147. Every battle card prepares in silence; opening op0d or mission music takes over. Dialogue keeps its context and ROM order. Local validation; Samsung and emulator audiovisual comparison remains pending.
The catalog enables 120 of 121 chapter/scene pairs in ES/EN/FR/DE; chapter 4 S58 remains blocked by op0e. Chapters 2–6 PT/IT dialogue remains pending. The playable campaign keeps chapter 1.
No claim of DS audiovisual identity or complete branch coverage from a first-choice walkthrough.
Compared with the original: ARM dispatch and SDAT waves statically verified; no new DS runtime observation.
Decision: 2026-11-04 · #813 · #823
Desktop RTS mouse and action bar
Local implementation, uncommitted and undeployed.
With a mouse, left click selects and left drag draws a box even with an active selection. Shift toggles clicked units/groups and adds boxed units; right click moves or attacks. Empty ground clears selection.
Resources, minimap and action bar stay visible with a selection. Minimap left click centers; right click orders.
Six centered slots: 1 Isaac, 2–4 existing squads, and 0 All in the fifth position. Unused slots show owned ungrouped units without hotkeys, or remain disabled.
Hold Q for the current chant; C centers on selection or Isaac without zoom; Esc pauses. WASD, arrows and edges still pan. Order mode and Release remain touch only.
Holding Q replaces the six slots with runes in DS element order. Learned tiers grow upward, with MP and the recognized spell above them. The circle keeps its position and scale with one, two or three tiers. Runes require drawing; recognition, cost, quality and accuracy progression keep their rules.
Compared with the original: Port adaptation approved by Manuel; not attributed to Nintendo DS.
Decision: 2026-11-03 · #810
Music declared by each screen
Implemented.
Each screen declares a fixed song, silence, inheritance or content. One director plays music and restores the destination declaration when leaving a battle or cinematic.
Events retain their script position: prologue 16; S003 changes to 5 after narration; S146/S147 use 8 and m001 combat uses 2. World map 9, results 10 and title/menus 21.
Compared with the original: The ROM changes scene music with opcode 0x0d and ARM9 table 0x20e983c.
Decision: 2026-11-03 · #801 · #499 · #783
Story: chapter 1 novel and missions
Local uncommitted implementation; screenshot review pending.
Local R1 #755: m001 story tutorial shared with Battles; co-op remains separate. Original S146/S147 in ES/EN/FR/DE, stage input locks and Water/Light learning before the second wave. Partial emulator capture; full fidelity and windowed Godot replay remain pending. Rejection branch and guide animation pending; complete verification pending.
m001: pans use the existing original appearance effect; corpses retire during S147. Empty chest: 60 ticks then 31 ticks of fading. Step 2: blue qc01_m002 at node 6; qc01_r001 remains accessible without a marker. Isaac results await a design decision; see REPORT.
Manuel decision 2026-11-14 (#985): reward chest open 0–17, loop 18–77 (60 ticks), empty from 78; departs from ROM (loop 10 ticks, empty at age 30). Reward pouch flight and fading pending. Static reading, ±1 tick, no emulator.
Local fix #840: m001 pans adapt the DS centre to the current view and clamp outward and return targets. At 256×192 they keep (230,40)/(0,40); at 480×216 they use (32,28)/(0,28). Original speeds and appearance preserved; graphical verification pending.
Local fix #830: new Story games, Battles and Cinematics S146 use the same tutorial. Wave one leads to S147 without victory or Results; wave two ends with six defeated enemies. Replaying from Battles does not advance Story; headless regression, no new graphical verification.
m001 tutorial: n136(100) sets base MP recovery before S146 and throughout both waves. It refills up to 30/30 after the real wait (180 ticks without crystals); MP is finite. New battles retain base 5; ARM and headless verification, no new windowed replay.
Local fix #793: the m001 tutorial clears selection before chanting, drawing or aiming. Release works in interactive steps and consumes the entire gesture; order mode #710 is preserved.
Local S146/S147 fix: clear the final fade when returning to battle, revealing map and HUD. Headless regression covers both waves and victory; windowed review pending.
Local op19/chest fix: touch or click/right-click selection and movement, with chanting blocked. Headless regression uses real input events; proximity opening releases BR18. Comparison evidence: cinematicas_capitulo_1/REPORT.md, 07-open-chest; port radius not measured in the original game.
Local opening #755: original seal/title in ES/EN/FR/DE, place 0 sign and scene 3 from line 0. Narration op13 restored in 3/5/7/10/15/149; full-screen novel without a map or narrator name. Place sign shares the bottom novel dialogue: name pill, typewriter and full-screen tap, without skip. Tests updated but not run; graphical comparison pending.
Local prologue #755: original scene 146 over battle 0, 96 dp dialogue, eight pauses and real magic. New Game opens it before qc01_m001; Continue skips it. Touches: Wide Light ×3 (86), Gold Light ×3 (50), God Wyrm (69); preloads 86/50/69/73/48/108. Battle aiming without rune entry: press, drag and release; cancelling rearms the same ID. Bats and Russell take real damage and can die without early results; Diva is protected. Original game cancellation remains unverified; God Wyrm confirms on press, matching battle/original. Thunder 49–54: atlas bolts, shade and per-target spark; 353/354 pending. Diva 73/48/108: caster chant and foot ring; 73 starts at the caster, 48 composes its core and rocks. 48: grey dust; 108: sparks and white flash fading to violet; visual review pending. Prologue Bishop: scripted HP 400→367→333→297→188→88→0 on real contacts; numbers 33/34/36/109/100/102 (last visible in the original game: 2964); normal/co-op combat unchanged. 108 anchors the four replay offsets to the Bishop, without AI range displacement. Touch pauses omit the caption and counter (Manuel, 2026-10-31). HP bars at −head_px−7: Russell has only green HP; Diva and bats have red HP. Four individual bats follow UPB squares, then two points when the Bishop enters, using battle Move/Back at level 1 speed. Diva approaches the Bishop during the final line using Move/Wait/Back; n102 waits 60 ticks. No invented staff sprite; visual review pending.
Story opens three real user:// saves. New Game begins at step 1 and the initial place; Continue restores step, place and completed missions. Progress is saved on arrival at each node. Erase requires confirmation and removes only that slot; cancelling preserves the file. An empty slot offers New Game and restarts the prologue. Unrecorded legacy time is labelled.
Map at 1.5 dp per pixel, BFS routes, bounded dragging, camera following Isaac and original markers. Speed is 21 × 1.875 = 39.375 px/s; walking cadence reuses the #752 formula.
Novel dialogue overlays the bottom third. #898 uses a fixed DS portrait transform; op0b moves 2.5 px per tick, op18/op0f use fx12 steps, without stationary portrait drift. G1–G9: frame visible with portraits or gaps under 1.5 s; arrows only with text; portrait bases meet the box body below its gold border, drawn over the border using its StyleBox physical thickness. No portrait pixels enter the body. G9 keeps cast speakers visible throughout their lines; original offscreen voices remain unchanged. Skip separated by eight dp and listeners at 85% brightness with a 0.15 s fade, only with another visible speaker; single portraits or narration without a portrait stay at full brightness. Edge travel up to 48 DS px with a 0.25 s fade; visible moves over 64 px, including consecutive ROM legs, crossfade at fixed positions. Authorized rendering divergence: fx12 data unchanged, pending motion ends before typing; HP/MP bars stay visible during dialogue, only E markers hide (Manuel, 2026-11-06). G4 entries use the last 15 ROM ticks to prevent overlap; backgrounds and portraits share signed brightness. Prologue uses ROM side/mirror with stable text; chapter title on black for 2.5 s plus a 0.4 s exit; place dialogue below H/2 + 30 dp, with a 48 dp footer. Backgrounds use uniform cover of the DS 256×192 window centered on its camera (#844), with symmetric crop. This port framing adaptation neither distorts nor adds artwork; BG16 retains the black original data. Novel runes #845: large centered actor 19, no side card; 128×128 crop with NEAREST, still static. Battle tutorial guides are preserved. Missions use conditional scenes, real Formation, Battle and results. Progress is saved after closing scenes; losing or withdrawing returns without advancing. Original text: ES/EN/FR/DE; IT/PT use EN. Missing scene 16 reports an error and blocks completion.
Compared with the original: The original game moves each leg in 60 ticks; the port uses constant speed approved by Manuel.
Decision: 2026-11-01 · #755 · #752
Battle walking follows movement speed
Manuel’s decision; local implementation. Tests and visual review pending.
Visual exception approved by Manuel on 2026-10-31 (#752): only walk adapts its cadence to effective speed, including items, statuses, terrain and formation limits. Simulation positions, timing, networking and spell animations remain unchanged.
Stride = 0.57 × walking cell height. Rate = (cycle ticks / 2) × speed in px/tick / stride, clamped between 0.5 and 2. Level 1 Isaac yields about 1.0074. The accumulator retains millionth fractions for tick and seek.
This change covers battles. The issue’s world map criterion remains outside this change; mockups are untouched. Tests were updated without running them in fast mode.
Compared with the original: The original game keeps fixed walking NANR ticks even when movement speed changes.
Decision: 2026-10-31 · #752
Cooperative invitations and readiness
Local uncommitted implementation; visual verification and tests pending.
Cooperative opens the host room. When alone, it prioritizes the real link, QR and Wi-Fi discovery. Multi opens nearby rooms: tap a room to join or enter a code in its card.
Compact teams use formations transmitted by the session. Formation submits the lineup before marking Ready; Back returns without readiness. The host explicitly starts the battle.
The existing capacity of up to four participants and current invitation codes remain. Formation keeps its current catalog, so its composition differs from the mockup. No graphical verification this round.
Compared with the original: Port UI approved in docs/godot/maquetas/; this does not describe an original game screen.
Decision: 2026-10-30 · #684
Chapter 1: Trap
Original game recorded; local correction. Graphical port comparison pending.
The HP threshold includes equality. Capture resolution in the port remains provisional without RNG; these two cases do not verify the other eighteen variants or every rounding boundary.
Book and three green hands behind the body, with original palettes. Failed entry lasts 46 ticks, closes at +60 and removes hands at +92. Capture is recorded at +33 without dealing damage.
Isaac holds the staff through age 20 and idles at 21. Empty enemy HP is white. The recipient retains native rotation, scale and offsets for trapped or captured. The viewer shows the selected outcome and does not simulate HP or RNG. Pixel equivalence requires graphical Mac comparison.
HP32: the jump starts at age 62; the open book and hands appear at 63. HP and E use each species’ head_px relative to the unit point; they do not follow the body jump.
Contact adds the 16 px trap radius and body radius: Misty Mush enters at 21 px and stays out at 22. The exact edge is excluded. Placement remains 40 px. It expires at 300 ticks; the book retains two drawing ticks without capture logic.
Compared with the original: Spell 6, rune 13: HP32/128 captures; HP33/128 fails before RNG.
Decision: 2026-10-29 · #740
Chapter 1: Heal Light
Original game recorded; local correction. Graphical port comparison pending.
Health changes before the first healing drawing. The green number shows requested power, even when it exceeds missing health; the health bar stays capped at maximum.
Three chains, a circle and NANR 57/58 sparkles follow the receiver without extra elevation. Entry 48 and bank 50/54 cover the receiver; 51/55 stay behind. Ornament 49 and ring 52 stay in front. The framebuffer lags dispatch by one tick: empty start, visible exits at 63 and 79, removal at 118. Isaac holds his casting pose through age 21 and returns to idle at 22.
The viewer and Godot keep sequences, palette and NANR transforms. Raster color, scale and occlusion still require graphical Mac recordings compared at the same scale.
Compared with the original: Isaac 100/300 → 300/300; at full health he remains at 300/300 and a healing number appears.
Decision: 2026-10-29 · #740
Chapter 1: projectile origins
Compared with the original game in the emulator on 29 Oct 2026: origin, height and timing.
The fidelity request of 29 Oct 2026 replaces the initial 36 px jump for these three spells. The lab can fix distance and direction; damage and removal use the real simulation.
At 96 px against Misty Mush, the viewer uses both radii: 28 flight ticks for Fireball and 21 for Ice Shot and Wind Blades, after 8 launch ticks. Speeds: 3/4/4 px per tick.
The first drawing follows emission by one tick, with the casting pose and NCER flashes. There is no extra twelve-tick charge or change to speed or contact.
The star and rings retain original palettes: the elemental parent stays in front of its children. Impact uses two sequence 65 displays: damage on the unit and contact at the head, with the 32×32 NCER cell 67 at scale 1. Graphical recapture of this correction remains pending.
The ending retains the NCER row: blue fire rings and orange wind rings. Freeze 119/120, burn 189, push and the pink previous-HP bar survive a lethal hit. Impact rendering follows dispatch by one tick; its 15-tick sequence is unchanged.
The logical origin keeps Isaac’s Y. Raster height, scale, layers and color still require graphical verification; logical coordinates do not establish an extra 10 px elevation.
Compared with the original: Fireball, Ice Shot and Wind Blades start at Isaac in the emulator replay.
Decision: 2026-10-29 · #740
Map collision matches the original
Manuel’s decision: map improvements deferred until after launch.
Manuel’s decision on 2026-10-30: chapters and battles must match the original game to launch before December. The original game takes precedence over any divergence. Spells and their animations remain identical to the original.
The full crown blocks movement and projectiles. Crystals, pillars and statues retain original collision; crystals use rules.radius_px at their position. NORM crowns remain unsplit and decorations are sorted by y + height.
Map improvements from #739 and exterior margins / outpainting from #738 are deferred until after launch. The reports remain as research for a future improvement.
Compared with the original: The original game uses the full crown as an obstacle; crystals keep their position and radius.
Decision: 2026-10-30 · #739 · #738
Chapter 1: NPCs and rune learning
Local first playthrough contract; New Game+ remains separate.
Leonard (UID75) in battles 3/4 and Trista (UID72) in battle 5 are allied NPCs with instance orders. They inherit neither the global spell list nor the random 240 tick casting routine.
Darkness is learned inside m003; Wind and Earth before combat in m004 and m005. Water and Light follow annihilation in m001. Only six single rune spells belong to qc01.
The qc01 learning events run only in story battles. Duels, co-op, other chapters and the lab retain their behavior.
Free battle uses runes from the save contract; without it only Fire is granted. Both m003 battles and the m005 escape remain. The qc02 contract test uses outcome fixtures; world map integration and story save controls are still pending.
Compared with the original: UPB classes and n131 checked against the Original USA game; no visual emulator comparison.
Decision: 2026-10-29 · #740
Terror and berserk
Six new spells; laboratory 385/396.
Terror and Pure Terror interrupt orders for 1200 ticks. Units flee their primary target until the centre-to-centre keep_distance threshold. Missing targets do not create a substitute direction. Orders remain pending and target preference is restored afterwards. Purge does not remove terror.
Mad Warrior, The Berserk, Last Rage and Big Brawl chase the primary target without the sight limit and use normal attacks, capped at twice base attack. Allegiance is unchanged. Refreshing the buff does not restart its active interrupt. Isaac and BossNode are immune.
Original overlays 143 and 139 and catalogue icons are reused. The server controls movement and damage; replicas receive positions, HP and visual clocks under protocol v45. Charm, betrayal, invisibility, Free Lift, Death Gamble and Death Bullet remain excluded pending the consumers and clocks listed in the report. Physical LAN transport has not been verified.
Compared with the original: Behaviour checked statically against the Original USA game; no emulator observation.
Decision: 2026-10-29 · #734
Laboratory collisions and paths
Tested by Manuel on Samsung on 29 Oct 2026.
Flat mode also shows both added laboratory trees. Each retains its original 34 px crown circle for movement and projectiles; the margin does not shift collision.
Pause → Tester mode opens a tool list: Tester mode, Collisions, A* grid and Diagnostics. Collision and grid switches are independent and persist between matches. Enabling a layer enables tester mode; disabling it hides layers without clearing preferences. Back returns to pause. The Col. shortcut shares these settings. The actual grid shows solids, weights and paths. NHIT is material for spell effects, not a movement blocking grid.
Compared with the original: The two added trees belong to the port laboratory, not to original map 901.
Decision: 2026-10-29 · #715
Orders in the map margin
Future improvement after launch, by Manuel’s decision on 2026-10-30.
The experimental 64 px decorative margin for 003, 004 and 006, matching 901, is deferred. Every original pixel is preserved. BACK and NORM stay above the margin; there is no backdrop. NORM only covers the original map: the foreground does not extend into the margin.
Tapping outside the map moves selected units towards the nearest point in the playable rectangle. The marker and network intent use that destination. Normal navigation preserves body clearance and resolves blocked terrain. Attack picking still uses the original touch; dragging the margin only pans the camera.
Compared with the original: Port adaptation requested by Manuel; not attributed to the original game.
Decision: 2026-10-30 · #738
Bombs, transport and barrier
Eleven new spells; laboratory 379/396.
Bomb Man marks units on either side for 180 ticks. Living bombs explode at their current position; overlapping bombs hit each victim only once per cast. Transport and Flight move the caster at tick 30, with an arrival flash at tick 20. The destination must be free; the caster remains vulnerable before moving.
Barrier and Invincible protect allies for 600 ticks and prevent movement and attack. Each sphere keeps its original animation; its upper half passes behind the body. Holy Pulse refreshes allied attack +25/128 or enemy defense −25/128 for 600 ticks. Switch Life swaps current HP, clamped to each maximum.
Self Cannon moves the caster at 2 pixels per tick. Contact uses raw wind powers 620 on the target and 255 on the caster. Target death or the 240-tick limit cancels without damage. Gather moves allies only, one every six ticks, with three placement attempts. Snapshots carry states and effects without replica damage. Free Lift and Death Gamble remain excluded pending composition and behavior verification. Static original game evidence does not establish original visual equivalence or physical network behavior.
Compared with the original: Checked against the Original USA game; barrier occlusion adapted to the port. Local implementation.
Decision: 2026-10-29 · #734
Blaze Cloud and circular wind zones
Four new spells; laboratory 368/396.
Blaze Cloud pulses nine times every 60 ticks with raw power 40. Each hit rolls strong burn 89: base chance 15/128, power 35 and 1200 ticks; fords extinguish and block it. A central cloud and eight puffs retain native sequences and staggered retirement.
Wind, Swift and Gale Zone set their centre on press and radius on drag. They last 600/1080/1200 ticks and refresh status 139→136: speed +100% for 30 ticks, allies only. Their grey disc has 16 sectors and seven sparkles using original geometry and palette.
Dry terrain lasts 1200 ticks from release, independently of acceleration. It paints mf04 sand over bog and clears mf05 on sand. It affects walkers on either side; earth ignores slowing. Clouds, zones and terrain retain identity and age on reconnect without presentation damage. The three charm clouds remain excluded. Static evidence and local tests do not establish original visual equivalence or physical network behavior.
Compared with the original: undefined
Decision: 2026-10-29 · #734
Contagion and Gold Song
Four new spells; laboratory 364/396.
Virus, Plague and Epidemic reduce attack and defense by 26/128 for 1080 ticks. Only original cast victims spread by touching radii plus 4 px, to both sides without another roll. Secondary victims inherit the spell time remaining and cannot spread. Cured or removed sources leave the list. There is no periodic damage. Heal Prayer and purification remove the status.
Gold Song applies sleep 98 to all present units including the caster, without a radius limit: base chance 58/128 with quality, rank and element, lasting 480 ticks; damage wakes the unit. It produces no gold. Virus keeps sequences 136–138 ten px above center; sleep uses 252. Replicas receive confirmed records and clocks without simulating contagion.
Terror, berserk, side switching and invisibility remain unavailable: target selection, interrupt stacks and hiding consumers need verification. Known durations and icons do not establish behavior. Static evidence; no claimed original audiovisual equivalence or physical network verification.
Compared with the original: Original USA 0x2115574–0x2115898; 0x210ec18–0x210edbc; STAB 85/98; 0x21278c4–0x2127bb0.
Decision: 2026-10-29 · #734
Area cures, strong burn, recoil and peace
Fifteen new spells; laboratory 360/396.
Seven cures use a fixed radius of 50 and affect current allies once. Fire Calm removes freezing; Shine Ice removes both burns; Heal Heart removes berserk and charm; Heal Prayer removes disease and virus. Fire Soul, Pure Soul and Heal Soul add attack +26/128, evasion +26 and speed +26/128 for 1200 ticks, stacking independently and removable by stat purification.
Burn Up and Roast Up apply strong burn: power 45, fire damage every 60 ticks, lifetime 1200. Expiry precedes damage: up to 19 hits, with magic defense, elements, auras and randomness. Fords reuse Crisp Up burn removal and prevention; water and cures also remove it.
Rebound, Reprisal and Revenge harm their bearer when attacking for 1200 ticks. A physical hit costs 1/4, 1/2 or all of attack/2 minus target defense/4, truncated before each independent random roll. The three kinds coexist; reapplying one refreshes its lifetime. Projectiles check bearer status at contact. They do not reflect spells or incoming damage.
Peace lasts 900 ticks and gates physical attack processing while retaining its counter; movement and magic remain available. Existing projectiles survive. Replicas receive confirmed states, clocks and HP without computing damage. Overlays 190, 178, 322 and bonus start/loop sequences are retained. Static evidence and local tests; rendered pixels and physical transport remain unverified.
Compared with the original: Original USA ov1 0x212ce38–0x212cf4c; 0x2123cc4–0x2123e04; 0x2130aa8–0x2130c88.
Decision: 2026-10-29 · #734
Crisp Up, Big Drop and four global spells
Six new variants; laboratory 345/396.
Crisp Up explodes on the selected unit and hits nearby enemies within radius 50 at tick 1. It applies strong burn 89; fords extinguish and block burns on walking units of either side. Big Drop uses a fixed radius of 40 and one enemy hit at tick 108, without added knockdown.
Frozen Time, Flood, Clip Wings and Insane Rock select the whole map, including both sides. They hit at ticks 104, 90, 83 and 222. Frozen Time applies status 92 with the original chance and 360-tick duration; the world keeps running. Flood leaves no persistent terrain. Clip Wings damages flyers while retaining flight; Insane Rock hits and knocks down ground units only.
Presentation uses Meteo, Flood, Zero, Sky and Earthquake with original atlases and palettes. Global shading and positions adapt to the visible field. Flood separates blue from alpha: A=20 weighs 21/32; closure rises one point every two ticks to opaque A=31. The original game removes the flat color without fading out or creating terrain. Insane Rock moves the complete field without changing the simulation camera. Protocol v42 generates state from catalog, seed and age; presentation never runs combat. Pixel review remains pending.
Compared with the original: Original USA ov1 0x210ecb8–0x210f4b4; 0x2141ab8; 0x2144f24; 0x2147a00; 0x214e4d0; 0x21513b0.
Decision: 2026-10-29 · #734
Restore terrain and recover HP
Five variants; laboratory 345/396 including freezing.
Restore and Pure Wind restore terrain without dealing damage or cleansing unit statuses. Wish, Prayer and Blessing also heal allied residents at tick 41. The restore overlay lasts 1200 ticks and cancels terrain alterations within the spell radius.
Purification clouds use a fixed visual radius of 60, independently of the hit radius. They alternate with sparkles 9/10 over 31 ticks and spawn two successive children eight ticks apart. Native scale, growth, alpha and retirement are retained. Healing is drawn at each recipient.
Protocol v41 generates pieces from the catalog and seed without presentation-side HP or statuses. Crisp Up, Big Drop and the four global spells are described in their own section; no new emulator observation is claimed.
Compared with the original: Original USA ov1 0x210f25c–0x210f4dc; 0x214a1a0–0x214a944.
Decision: 2026-10-29 · #734
Ice Maiden, Queen and Goddess
Three variants; laboratory 345/396.
Indirect status 140 redirects to 90: 180-tick freezing after the normal status roll. One hit at tick 61 affects enemy circle residents. The freeze terrain overlay lasts 1200 ticks and uses the original frozen-water tiles. A zero-duration status 140 is never stored.
One white 16-sector disc fades in; five snowflakes appear within two thirds of the hit radius. The disc fades to 16/31, holds for 121 ticks, then shrinks one pixel per tick. Absolute parent/child scheduling retains one-tick uncertainty; no new emulator observation is claimed.
Compared with the original: ARM9 0x20a78bc–0x20a78c4; ov1 0x214611c–0x2146424.
Decision: 2026-10-29 · #734
Knockdown and mines
Nine new spells; laboratory 331/396.
Flag 0x800 requests knockdown for a nonzero effect input, without an HP loss threshold. Original counters 40/10 finish below zero: 41 ticks down and 11 getting up. Both phases interrupt movement, orders, attacks and chanting. Units can still receive damage.
Each unit uses its own knocked_back and get_up sheet frames, preserving its anchor and facing. The fall does not loop. Flag 0x400 pushes independently over 30 ticks with decreasing speed; mines only have 0x800 and do not move their victims.
Rage Trap places one mine; Death/Sin Trap place up to four in a 35 px circle, free for radius 4. A ground enemy triggers within radius 14 plus body; the blast also affects nearby enemy flyers. Earth damage and knockdown happen once. Lifetime is 920 ticks; recasting disarms prior same-side mines.
Armed sequence 294 uses palette row 0; the earth explosion uses 80. All six Final blasts reuse their areas and damage delays and now knock down. Self Cannon needs another behaviour; Insane Rock now reuses knockdown. Protocol v40 and UnitFrame 7 preserve the confirmed clock and phase; presentation never applies damage. Static evidence and local tests do not establish original audiovisual parity.
Compared with the original: Original USA ov1 0x210f084–0x210f154; 0x2133c4c–0x2133dcc; 0x2112a74–0x2113264.
Decision: 2026-10-29 · #734
Tubs and mud hands
Five variants; mines described under Knockdown.
Prank, Joke, Trick, Swamp Fog and Swamp Abyss available: laboratory 322/396. Each tub stays at the selected recipient origin, falls for 20 ticks and deals 1 HP on the next tick. Damage wakes sleepers, without using powers 40/40/500 or cure status 118.
The effective 512 px hit radius follows the original consumer scale mismatch. Tubs do not track units: they bounce from their fixed origin and fade. Trick uses sequence 269; Prank and Joke use 270.
Fog and Abyss place 2/5 hands in annular sectors, with parts 140/141/142 and a base area. For 360/720 ticks the zone refreshes status 66 on ground enemies: speed −100%. Flyers are exempt. Hands deal no contact damage; the port retains its own RNG.
Replica v39 preserves origin, clock and contact result without applying HP, statuses or MP. Rage/Death/Sin Trap are added with knockdown in the previous section. Neither emulator observation nor exact original game visual parity is claimed.
Compared with the original: Original USA ov1 0x2113ab4–0x2113e7c; 0x210d734–0x210d8d4; 0x21395e4–0x21397b8.
Decision: 2026-10-29 · #734
Six dances: approach and physical hits
Implemented; not yet compared with the game in an emulator.
Fire, ice, wind, earth, light and dark dances available: laboratory 317/396. The caster runs at 2 px/tick for up to 180 ticks and starts dancing when the collision gap is ≤12 px.
Dancing lasts up to 300 ticks, following at 0.125 px/tick. Ticks 9/19/30 of each 43-tick cycle hit up to 21 times with full attack minus defense/4, physical elemental affinity and randomness. No magic or accuracy roll. Death, disability or a gap >34 px ends the dance and caster invulnerability.
Aura 39 follows the caster on its own 361-tick clock from release; damage feedback 65 appears on the recipient only when HP changes. Replica v38 receives phase, pose and anchors without damage or MP costs. Floating point collisions and layering remain port adaptations; no emulator observation is claimed.
Compared with the original: Original USA ov1 0x2116b44–0x2116c7c; 0x2134480–0x2134958; 0x21173f0–0x2117500; 0x212bd34.
Decision: 2026-10-29 · #734
Point whirlwinds
Implemented; not yet compared with the game in an emulator.
Six new point whirlwinds: burn-whirl, ice-whirl, storm-whirl, rock-whirl, shine-whirl and pitch-whirl. Laboratory: 311/396. They spawn at the selected point without the directional arrow offset.
Body 86 and parts 87–89, speed 1 px/tick, contact radius 14 px and lifetime 300 ticks. They acquire targets ahead within 50 px and pierce with contact memory, without trapping or per-tick damage.
Replicas share the motor and preserve the point without applying HP or MP. The site path is illustrative. Contact sparks and floating point collisions remain port adaptations; exact visual parity is unverified.
Compared with the original: Original USA ov1 0x210faf4–0x210fc54; 0x210ff24–0x2110094; 0x21112d0–0x21118e4.
Decision: 2026-10-29 · #734
Circle arrows
Local implementation; missile pending.
Gale Arrows selects up to one resident nearest the circle centre; an empty circle fires nothing. It opens 16 px toward the target and prepares for 73 ticks: 21 → 22 → 23 without overlapping phases.
Flight retains 60 full ticks at 5 px/tick with piercing contact radius 8 px. Damage, impact and trails share the same trajectory. Laboratory: 311/396.
Death Bullet remains excluded pending the absolute preparation clock and full owner/ring composition. The illustrative site window does not establish native timing.
Compared with the original: Original USA ov1 0x210fd70–0x210feac; 0x21109f8–0x2110b54; 0x21356c8–0x2135934.
Decision: 2026-10-29 · #734
Rain and temporary terrain
Implemented; not yet compared with the game in an emulator.
Six rains available: Storm, Fire Rain, Swamp, Earth Explode, Death Rain and Love Song. Laboratory: 289/396. One hit on circle residents at tick 21; Love Song heals. Twenty clouds, ten drops and ten splashes share one receiver and retire at tick 84.
Heat, hardening and swamp create terrain lasting 1200 ticks after the hit. Rendering uses 8 px NHIT tiles and original atlases; the rasterized circle produces a stepped edge. Hardening cancels heat in their overlap. Expiry has no fade.
Physical map zones determine effects on walkers of either side. Heated ground ticks every 60; fire units heal, water units take extra damage and flying units are excluded. Swamp slows on sand; heat slows on ice. Replicas animate without applying HP or MP. No emulator observation, new pixel captures or deployment is claimed.
Compared with the original: Original USA ov1 0x210f1d4–0x210f4b4; 0x214aa70–0x214b938; ARM9 0x2083818.
Decision: 2026-10-28 · #734
Dragons: one creature, curve and contact
Local implementation; visual review pending.
Manuel decision, 29 October 2026: local dynamic God Wyrm prototype inspired by the tutorial cinematic. Links are 18 px apart, oscillation takes 32 frames, wings fold and the veil ramps over 20 frames. Drawing only: contact remains on the simulated head. Video and approval pending; not integrated or deployed. The other 23 variants retain their presentation.
All 24 dragons are available: laboratory 283/396. They start at the caster centre and seek nearby enemies. They redirect every eight ticks, aiming 192 px beyond nearby targets. Cubic weights use t/120 with a reset at 60 ticks; there is no invented constant speed.
Outside the prototype, parts share one creature anchor with native rotation, history, NCER origins and emergence 23+index only in the final tier. The 4 px cap is removed: connected history keeps its length; only gaps between bounds are corrected. The native grey veil ramps from alpha 10/31 to 20/31, in front of the field and behind the dragon, and disappears with it.
The contact radius is 8 px at every size. Continuous overlap does not repeat damage; exit and reentry allow another hit with defence, element and randomness. Pass counts are not guaranteed. The final tier pauses duration during emergence: activation at call 121, retirement at 240. DeSmuME from a clean copy of the original game: White, Light and God Wyrm run for 61, 91 and 121 updates respectively. God Wyrm uses part 3, NANR 9/cell 24; parts 8/9 stay hidden. The web route remains illustrative. New Godot captures and visual review remain pending; no verified deployment.
Compared with the original: Original USA game ov1 0x2111c8c–0x2112384; 0x2140c04–0x21419b0.
Decision: 2026-10-29 · #734
Take Light and Draw Light: damage and hearts
Local correction; no deployment verified.
Take Light hits one victim; Draw Light hits enemies inside a circle up to 50 px. Each takes dark magic damage with defense, element and randomness. Full caster HP does not prevent damage.
Actual HP lost is summed and capped at 32,767. The caster recovers it once directly and once with dark weakness or halving modifiers; each recovery respects maximum HP.
Each victim sends one large heart to the initial caster position over 60 ticks, with four growing, fading afterimages. Native pink/red palette, always upright. The heart then fades; there is no line. The website scene retains an illustrative stationary heart. Static original game evidence, no new emulator observation; ±1 tick phase.
Compared with the original: Original USA game ov1 0x21168e0–0x2116b38 and 0x21397c0–0x2139e34.
Decision: 2026-10-28 · #735
Earth Wall: native qc01 capture
Local correction; graphical port comparison pending.
DeSmuME: 100 px line centred 40 px right; five posts spaced 19.7991 px. The fx12 reciprocal moves drawing and collision together. Radius 14, zero damage and 900 ticks stay.
Zero selector preserves NCER rows 0/3/5: ochre rock, without the yellow healing palette. Rise 26, hold 27, exit 28; drawing follows dispatch by one tick. Isaac faces along the segment and idles at age 23. Port and viewer sort by base Y; unit occlusion and native blocking remain pending.
Compared with the original: Original USA game, qc01-earth-wall-r2 replay; EffectWall and normalizer 0x2099230.
Decision: 2026-10-30 · #740
Walls: original post spacing
Local correction; no deployment verified.
Spacing retains the original game fractional division before truncating the post count. A 115 px line places five posts 19.53 px apart instead of 23 px. Drawing and collision centres move together; radii, damage and lifetime stay the same.
Posts appear every five ticks. Body, orb and aura sort together by the post base to form one wall; the orb disappears when exit begins. Earth King keeps six pillars in a ring with a random phase. Grouped drawing adapts the site scene; no emulator verification.
Compared with the original: Original USA game ov1 0x2118c00–0x2118ca8; static evidence.
Decision: 2026-10-28 · #735
Whirlwinds: heading and contact
Local correction; no deployment verified.
The six wobble whirlwinds draw five states: four turns and one that keeps heading without rerolling. Turning states reroll after 32–64 ticks. The straight state was previously missing.
All 18 whirlwinds have a 14 px contact radius, speed of 1 px/tick and published lifetime of 300 ticks. They pierce: continuous contact hits once; leaving and returning may rearm contact. They do not trap the recipient or deal damage every tick. A random curve may miss the enemy.
The twelve homing variants acquire ahead within 50 px. Spark 65 remains port presentation: native piercing skips the removal hitmark. Tests at 80 px control the straight wobble state; they do not guarantee hits for every random draw. No new emulator observation.
Compared with the original: Original USA game ov1 0x2110b84, 0x21113a0, 0x2110e6c and 0x2111000; static evidence.
Decision: 2026-10-28 · #735
Circle-targeted shots and lasers
Local implementation; no deployment verified.
Six new spells: Blazer, Freezer, Blade Gale, Rocker, Judgment and Dark Crush. Laboratory: 258/396. Wind Shards was already available; blast rain remains excluded.
First touch fixes the centre; dragging sets a radius from 5 px to target_radius_px (50 px). After eight ticks, up to five enemies nearest the centre receive one shot each, from the caster. Five possible targets do not mean five hits against one enemy.
Shots travel with their published speed, range, damage and status; lasers are not instantaneous. The circle selects targets without clipping trajectories or preventing interception. Burn, freeze, attack reduction and knockback reuse the existing engine.
The provisional AI can select them. Original atlases, sounds and airborne projectile layers are reused. Shared straight launch simplifies the original lock-on opening; network presentation, exact original boundaries, graphical and emulator checks remain pending. Rain requires temporary terrain, its own status or dedicated healing; these mechanics are not omitted to enable it.
Compared with the original: llm.md, published data and Original USA game; static evidence.
Decision: 2026-10-28 · #734
Zones and area statuses
Local implementation; no deployment verified.
39 new spells: seven fixed zones and 32 direct circular effects. Laboratory: 252/396. The provisional 240-tick AI can select them and aims buffs towards its allies.
Zones use the release point and published radius. Residency and side filters are checked each tick. New statuses are attempted every 30 ticks; an existing status of the same kind is renewed at one remaining tick. Same-kind zones do not continuously stack new instances.
Leaving or expiring a zone keeps the remaining 30- or 33-tick status tail. Circular direct effects use the dragged centre and radius once; late entry has no effect. Stats, auras and curses stack independently; poison and sleep restart their duration.
Zone discs and sparkles stay on the ground; assembly and colour are simplified. Terror, strong burn, side changes, berserk, contagion and pacification remain excluded. Network presentation, exact original boundaries and graphical verification remain pending.
Compared with the original: llm.md, published data and Original USA game; static evidence.
Decision: 2026-10-28 · #734
Elemental armors
Local implementation; no deployment verified.
Six new armors bring the laboratory to 213/396. They target an ally and follow it for 900 ticks. The provisional 240-tick enemy AI can also select them.
Pulses reach enemies within 12 px plus their body radius. Contact deals calculated power and applies a 36-tick status: 100 raw power initially and every 30 ticks, without magic or stroke scaling.
Renewing at one remaining tick preserves the status clock. Continuous residency gives 26 contacts and 31 status hits, including the tail after aura expiry. Existing auras and weaknesses keep independent instances and their elemental balance.
Barrier and Invincible await invulnerability and movement/attack locks. Native NANR banks and depth offsets are retained locally and in network snapshots. Rendering and emulator checks remain pending.
Compared with the original: llm.md, published data and Original USA game; static evidence.
Decision: 2026-10-28 · #729
Fixed-area blasts
Local implementation; no deployment verified.
20 new spells bring the laboratory to 207/396: explosion, crumble, ice_bomb, thunder and sickle. Fixed circles use the release point and published radius. Wind Shards allows dragging the radius.
Each blast hits once after its delay, using the units present then. Graphic duration adds no hits. These records apply no status: ice does not freeze merely because of its name.
Site composition: explosion charge, rings, cores and particles above actors. Hell Blast charges toward the caster, shows its ring, then its core on the target; the core uses original radius/24 scale for 48 ticks. Thunder rings are centered on the target. Thunder retains three rings without computed bolts, like the site. Network presentation is pending.
Final versions, rains and Freezing are implemented and described in the #734 sections. Crisp Up, Big Drop and the four globals complete the fourteen BLASTS_734 variants.
Compared with the original: llm.md, published data and Original USA game; no emulator observation.
Decision: 2026-10-28 · #729 · #735
Persistent clouds
Local implementation; no deployment verified.
Eleven new clouds bring the laboratory to 187/396. Touch sets the centre; dragging sets the radius. Clouds remain stationary and hit both sides inside their area, including the caster.
Every 60 ticks they apply raw power and roll their status. Magic, quality and rank do not scale that damage; quality and rank still scale status chance. Defense, element and randomness still apply.
The first pulse occurs on the first active step; expiration adds no hit. Clouds use the site’s native scale, sequences, palette and ending at the target centre, above units. Their clock invalidates a stationary field; the launch pose and feedback retain their timing. Local fix without pixel comparison. The provisional 240-tick enemy selection uses maximum radius.
Blaze Cloud awaits strong-burn extinction in shallows. Sleep Wind, Sleep Gale and Sleep Storm await side changes, orders and immunities. Network presentation remains pending.
Compared with the original: llm.md, published data and Original USA game; no emulator observation.
Decision: 2026-10-28 · #729 · #735
Falling objects
Local implementation; preparation and visual review pending.
Fifteen additional variants: six rays, three bows and six fire/ice falls with terrain. Laboratory: 304/396. Each object retains its count, four-tick cadence and impact radius.
Fallthing falls 192 px at eight px per tick; ice and bows wait 31 ticks before NANR 1. Ray keeps its head, vertical body, bases and ring, retiring after 21 impact ticks. Each hit creates its own terrain circle for 1200 ticks: heat, harden or restore.
Simulation and binary v37 replicas share the point and clock; presentation never calculates damage. Storm Bow uses unit targeting. Death Bullet remains excluded pending absolute phase placement. Owner preparation for the other fifteen is also unverified; audiovisual equality is not claimed.
Compared with the original: Original USA game: Main states and terrain; absolute phases ±1 tick, no emulator verification.
Decision: 2026-10-29 · #729 · #734 · #735
Effects on one unit
Local implementation without a commit; no deployment verified.
The direct/unit family adds 43 spells: stats, auras, weaknesses, freeze, sleep and poison. The laboratory increases from 109 to 152 of 396. Aiming respects each spell’s ally or enemy targets.
Statuses refresh their timer; stats, auras and curses keep independent durations. Elemental damage uses the weakness/aura balance. The existing enemy random check every 240 ticks can select them.
Burn awaits ford detection; recoil, terror, berserk, betrayal, virus, peace and hiding remain excluded. Enemy mission scripts remain pending in #711.
Compared with the original: Rules from llm.md, spells.json, statuses.json and static original game analysis; no emulator observation.
Decision: 2026-10-28 · #729
Affinity through accuracy
Approved; integration not yet confirmed (#719 open).
Manuel’s decision, 2026-11-05 (#879): element level increases play no sound. SE_ZOKUSEI remains an asset. Progression, the visual pulse, results and duel/co-op synchronization are unchanged.
Each element will have an accuracy counter per battle. Drawing will add 0 to +1; a perfect rune, +1. A hit will add +1 and a miss subtract −1. Perfect hit: +2. Perfect miss: 0. Drawing score 0.4 and a miss: −0.6.
An attack will count as a hit if it damages at least one enemy. Healing or support will count if it affects at least one ally. Hitting three targets will count once. A falling counter will remove levels gained in that battle, never below the starting level. Rank will remain floor((level − 1) / 10), from 0 to 4.
Points per level will be adjustable; ten perfect hits should give growth similar to the original. The issue does not yet fix a points-per-level value.
Until #719 is confirmed, the documented port rule rewards casting: starting levels 1–20 gain +1 on the first cast and +1 on the tenth; 21–30 gain +1 on the tenth; 31–50 have no base gain. The first sole leader to reach ten uses earns +1 favourite. If it started above 30, its opposite loses 1 if it started at 22 or higher. Ten dominant uses from level 10 yield level 13.
The port saves affinity at results on victory or defeat; campaign m001 saves it before S4 without results (#880). Leaving earlier discards it. Each co-op player keeps their own levels; the server applies changes. Duels do not save them.
Compared with the original: The original changes levels at battle end based on uses, without requiring hits. Accuracy growth will replace that rule; growth during battle is already specific to the port.
Decision: 2026-11-05 · #719 · #879
Melee without circling
Integrated; Manuel confirmed on a phone that circling was gone (#707).
A unit stops advancing within reach R and faces its target when each swing starts. During a swing it tolerates distances below R + 22 px; at R + 22 it interrupts and chases again. Between swings it uses R.
Three attackers on one enemy receive no artificial sideways push and seek no ring positions. Geometric separation can still move them: they are not locked in place.
Compared with the original: Follows reach and tolerance found in the original game. The fixed positions initially proposed in #707 were discarded. Chasing along routes around walls is a port improvement.
Decision: 2026-10-28 · #706 · #707
Timing, targets and shots
Integrated into main according to #708; enemy magic tracked separately in #711.
Attack timing keeps advancing during pursuit. For example, Orkus has interval 70 and animation 22: the tested period is 94 ticks. Battles run at 60 ticks per second.
Autonomous and enemy units reconsider targets every 10 ticks using edge distance and HP. They do not spread targets to avoid attacking the same enemy. An explicit attack order keeps its target until it dies, hides or becomes unavailable.
Shots fly straight towards the target’s former position. They do not home and have no minimum attack distance; ranged units do not automatically retreat when approached.
Manuel decision 2026-11-14 (#1011): when a melee hit misses by evasion, the defender takes a visual step of up to 5 px and leaves an afterimage for 14 ticks. The ROM likely shows nothing. Simulation position, damage and RNG are unchanged; zero damage from defense and projectiles, which already bounce on a miss, are excluded. Replicated in co-op and duel.
Compared with the original: These rules restore original game behavior; they add neither target distribution nor retreat. Research is static, without measuring the original in an emulator.
Decision: 2026-10-28 · #706 · #708 · #1011
Army formation and routes
Routes and formation integrated; phone measurements and #709 follow-up remain pending.
A group order shares one route. The army moves at its slowest member’s speed, keeps its block where it fits and switches to a column in narrow passages, then restores formation. Arrival fills the back before the front, one body at a time. Initial preparation keeps its 4 ms budget and publishes each route segment only after it is complete for the entire group.
The order signal shows the real path. An unreachable destination leads to the nearest reachable point. Attacking leaves marching formation: each unit routes around obstacles until it reaches attack range.
A group order for 12 units in the maze measured 1.6 ms median and 1.7 ms maximum on a Mac M2 (#681). This does not establish phone performance. #702 covers screen layout; it is not the movement rule source.
Compared with the original: The original follows straight segments and requires drawn waypoints to go around obstacles, without this formation. New routes serve player and companion orders; enemy AI routes are unchanged.
Decision: 2026-10-28 · #681 · #702 · #709
Order mode
Integrated; phone video pending in #710.
Manuel’s decision, 2026-10-28 (#731): moving one ally or its squad shows the same destination signal as Isaac. The marker and route disappear on arrival or when movement is interrupted.
After releasing spell aim, the next touch selects on the field or selection strip. Casting and flight do not capture that new gesture; a subsequent ground tap retains the move order and processes it immediately through normal navigation. Chanting is unchanged (#910).
Selecting units hides the HUD and minimap. Tap an enemy to attack, tap ground to move, or swipe to pan the camera without issuing an order. Selection remains after each order.
For example, order a move where the minimap was, then correct the destination without selecting again. Release selection at the bottom left, with a touch area of at least 72 dp, restores the HUD. Tapping the selected unit again also releases it. FPS and, online, ms and connection status stay at the top right. There is no selection counter or bar.
Compared with the original: A port adaptation for issuing orders on one screen. The original page documents orders and movement, not this HUD mode.
Decision: 2026-11-07 · #710 · #731 · #910
Spell laboratory
Proposed and in progress; availability not confirmed (#715).
On PC, the laboratory uses the normal battle HUD with Q/C/Esc and catalog access through L or mouse. Reset and Collisions remain beside the portrait; phones retain touch controls.
The proposal adds at least one map under Tests with stationary high-HP enemies and wounded allies. It will provide unlimited MP and runes, spell and level selection, casting with or without drawing, and reset without leaving the map.
For example, it will allow repeated attacks on a dummy and healing on an ally. Obstacles and crystals will help inspect walls and layers. The final map is not yet fixed.
Compared with the original: The original game contains unused test sprites, but no complete laboratory. fm202 has 12 spawn points and no mission uses it; that does not prove it was a test map.
Decision: 2026-10-28 · #715
Spell layers
Documented policy with partial implementation; graphical verification pending.
Circles, seals and capture books sit on the ground below bodies. Walls and raised pieces overlap units and objects according to their base. Airborne projectiles and dragons may pass above them, always below the interface.
For example, a unit covers a trap book, while its hands remain above. Wall segments may appear in front of or behind a unit. This changes visibility, not damage or timing.
The table includes families not yet castable and pieces not yet drawn. Some rings and fragments share a sequence and remain unseparated. Not every spell is complete. #709 tracks movement and combat; the layer source is CAPAS-BATALLA.md (#669), related to #715.
Compared with the original: Relative spell occlusion remains unverified in the original game. This policy is a port visual decision, not a confirmed reproduction. The original page documents aiming.
Decision: 2026-10-28 · #669 · #709 · #715
Enemy magic scripts
Partial local integration; #860 remains open.
Battle executes exported bytecode when advancing simulation. Missions with this contract disable the 240-tick random selector and connect requests, rival mana, handles, orders, reserves and triggers. Replicas receive state; preparing their world does not execute the VM.
Deadlines use the active script clock when ExpirationTrig defines an ending; otherwise the generic deadline applies. Action 5 preserves defeat_passed: progression continues while the result displays defeat.
Worlds without objectives and missions without an exported program keep the provisional emitter. Prologue bf0000 runs its original program and synchronizes all eight dialogue gates; all 27 boss UPBs enter the VM. The oracle independently interprets bytecode using queries from the same recorded world; it does not prove complete physical equivalence or a new Nintendo DS playthrough.
Compared with the original: Static USA ROM rules: 3/1/2/0 admission, signed16 payload, T+1 chant and two LCG streams. Limits and reproduction are documented in extraccion/investigacion/battle_vm/REPORT.md.
Decision: 2026-11-05 · #706 · #708 · #711 · #860
Port rule: spells have no side (#598)
Always enabled in story, duel and co-op: damage, healing and statuses affect the first living, visible unit in the trajectory regardless of side. Piercing may continue to subsequent units. Healing an enemy heals it. Unit effects intercept the line when resolved, without invented travel time. Areas affect everyone inside, including the caster. Outgoing projectiles exclude the caster; self-targeted spells retain their target. Traps accept any capturable monster, including allies; bosses and story characters remain excluded. This is a port rule: original unit spells filter by side; original clouds already hit all sides (extraccion/investigacion/balance/REPORT.md:41). Original projectile side filtering remains unverified. Original target fields remain original data. See /data/rules.json, port_spells.