# TBG (J) — power details: durations, end conditions, exact rules Supplements `re/notes/battle.md` (handler table, effect overview). [C] = confirmed in Mesen, [I] = from code only. "caster" = player who cast; "victim" = the other player. DP offsets are per-player (P1 D=$0202, P2 D=$0462). ## Tooling (this pass) - `re/lua/pw2_cast.lua` — P1 casts any power from a savestate; optional board files (`TBG_B1/B2`, 220 bytes, playfield rows top→bottom), pokes (`TBG_POKE`, `TBG_POKEREL`, `TBG_HOLDPOKE`), `TBG_CLEARP1TOP` keeps P1 alive, per-frame log of both players' state/power/counters + `TBG_WATCH` bytes, `boards.bin`, optional CDL dump. - `re/tools/pw2_run.py` — parallel batch runner (`PW2_FRESHCDL=1` → sequential, deletes Mesen's persistent `~/.config/Mesen2/Debugger/tbg_jp.cdl` first: **Mesen accumulates CDL per ROM across runs**). - `re/tools/pw2_summary.py`, `pw2_cdldiff.py`, `pw2_unique.py` (code executed only for a given power → `re/runs/pw2_unique.txt`), `re/tools/asm.sh BB:LLLL BB:HHHH` (listing from the union-CDL disassembly `re/runs/pw2_asm/`). Boards used: `re/runs/pw2_boards/{A,B,C,Z}.bin`. - Poking `$DE` mid-battle does not work as a "make P1 an AI" trick (`$DE=3` ends the round immediately). ## Global rules [C] - One power slot per player: DP `$27` = active power (FF none). DP `$2A` = power id for status display/cleanup. Casting requires own `$27 == FF` (`81:AC2A`), so **you cannot cast while your own power is still running**, including your status powers that are still counting down. - Ending a power: `82:DBBF` sets caster `$27 = FF`, runs cleanup (`81:D6E1` meter gauge redraw, `81:9280`, `82:D99A` = restore button masks/palette etc.), `$2A = FF`. - Instant (board-edit) powers clear `$27` themselves when their animation ends; lifetimes in frames in the table below are animation length (play of *both* players is suspended while it runs — both in state 00). ## Duration mechanisms [C] Two per-power flag tables, indexed by power id: | table | bit | meaning | |---|---|---| | `80:DB25` | 0 | counted in **caster's** pieces: caster DP `$28` −1 each time a new caster piece enters play | | `80:DB50` | 1 | counted in **victim's** pieces: victim DP `$29` −1 each time a new victim piece enters play | Both run in `82:DAE6` / `82:DB00`, called from the per-player state 03→04 transition (queue animation done, piece about to fall; P1 `81:AA75`, P2 `81:B1D7`). When the counter reaches 0 the caster's power ends (`82:DBBF`). **Casting discards the falling pieces** [C] (`re/runs/pw2_disc_*`, `pw2_rem_*`): the caster's at once (state 13), every other player's when the cut-in ends (rel ≈100: state 05 → 00, board unchanged — not locked); Mirror (1D, no cut-in) leaves the opponent's piece falling. So the power covers the **N−1 new pieces** after the cast and ends as the Nth new piece enters play (e.g. Remocon N=3 → the victim's next 2 pieces, Reverse N=5 → 4). Victim `$29` is written via `82:DBDE` (P2's = `$048B`). ### Victim-counted (`80:DB50` bit1) — N victim pieces | id | power | N | conf | |---|---|---|---| | 04 | マヤカシ Mayakashi | 5 | [C] | | 06 | ダイナシ Dainashi | 7 | [C] | | 08 | ノロイ Noroi | 6 | [C] | | 12 | リバース Reverse | 5 | [C] | | 13 | マヒ Mahi | 4 | [C] | | 14 | カイテン Kaiten | 4 | [C] | | 20 | ヌー Nu | 4 | [C] | | 21 | リモコン Remocon | 3 | [C] | | 22 | ハンテン Hanten | 4 | [C] | | 23 | ナカヨシ Nakayoshi | 8 | [C] | | 25 | ルーレット Roulette | 4 | [C] | | 29 | ダーク Dark | 4 | [C] | ### Caster-counted (`80:DB25` bit0) — N caster pieces | id | power | N | conf | |---|---|---|---| | 17 | ドトン Doton | 5 | [C] (counter set after the cast animation) | | 1C | シールド Shield | 8 | [C] | | 1D | ミラー Mirror | 11 | [C] | | 1E | ヘビー Heavy | 6 | [C] | | 1F | セレクト Select | 5 | [C] | | 28 | ダブルス Doubles | 9 | [C] | ### Fever (26) — own counter [C] Handler `82:8361`: forced type `7E:3237` = **caster's current piece type** (DP `$06`, may be a crystal variant 7–13); immediately overwrites `$016F` and all three previews `$016B..D` with it; caster `$28 = 8`. Queue generator override `82:86F2` (called for every generated piece, whichever player's lock caused it): `$28 -= 1`; if still ≠ 0 the new piece is the forced type, else the power ends and that piece is generated normally. Net: **11 forced pieces** (4 overwritten + 7 generated) in the shared queue, shared by both players; the power (and its "can't cast" lock) ends at the 8th generation while forced pieces may still be queued. ## Board-edit powers — exact rules Board coordinates: playfield rows 0 (top) … 21 (bottom), columns 0 … 9 (the 22 visible rows; logic board DP `$94..`). "Own" = caster's field. Tested on layouts A/B/C (`re/runs/pw2_boards`, runs `re/runs/pw2_bd__`) with attack stocks pinned to 0 so no garbage interferes. Unless noted, these powers **never** add attack stock or meter, and coins destroyed by them are simply lost. The board is final when `$27` returns to FF (verified: no writes in the following 40 frames). | id | power | rule | conf | |---|---|---|---| | 00 | ミルルン Mirurun | delete own bottom **4** rows; everything above drops 4 (regardless of content) | [C] 3 layouts | | 01 | コピー Copy | own field := copy of victim's field | [C] | | 02 | メデューサ Medusa | every victim cell `1` → `4` (stone); coins (6) unchanged | [C] | | 03 | ボム Bomb | for each victim cell index i = 219…1 (cell 0, top-left, is never hit) that is nonzero: `a = rng&3; b = rng&3; if (b < a)` mark it → P = 6/16 per cell, independent. Marked cells animate `07→08→…→0C` (15 frames per step) then become 0. No collapse. Coins/stone can be destroyed. (`86:B691`, `86:B709`) | [C] code + 3 layouts | | 05 | ペンタリス Pentris | push **5** garbage rows under the victim's field (field rises 5); rows from the normal garbage generator (`81:D4C2`: same hole for consecutive rows — observed identical hole in all 5) | [C] | | 07 | フライ Fly | own bottom **3** rows (19–21): holes and coins := `1`, **stone (4) kept** (`re/runs/pw2_flys`). They are cleared by the normal line scan at the caster's next lock (counting as 3 lines) | [C] fill; clear [I] | | 09 | バンパイア Vampire | the victim's **whole** meter moves to the caster (after the caster's own reset to 0 by casting), capped at the caster's level-4 cost: victim 3 → 0 / caster 3 (`re/runs/pw2_vamp3`), victim 5 → 0 / caster 4 (`pw2_vamp5`). Victim meter 0 skips the transfer (`81:F387` reads `$0481`). The old "−1/+1" came from a run where the victim had 1 | [C] emulator | | 0A | クリアー Clear | own field := empty | [C] | | 0B | シーソー Seesaw | runs with `$27 = 0D`. Remove own bottom **2** rows (own field drops 2); victim field rises 2 and those two rows (unchanged, incl. coins) become the victim's bottom rows | [C] 3 layouts | | 0E | カット Cut | find own highest occupied row t; empty rows t…t+3 in place (no movement) | [C] 3 layouts | | 0F | モーゼ Moses | own field: new col 0,1,2 := old col 2,3,4; new col 7,8,9 := old col 5,6,7 (old cols 0,1,8,9 discarded); cols 3–6 empty; then the ordinary blocks of each column fall (animated, ~3 f/row) — **coins and stone stay where they are** (and hold up what lands on them; `re/runs/pw2_mos`); finally the bottom cell (row 21) of cols 1,2,7,8,9 is set to `2` unless it is a coin. Value 2 = ordinary block (clears normally). Wiki: nothing falls while the caster is under Dainashi (not verified) | [C] 3 layouts + floating coin/stone | | 10 | マンボ Mambo | victim field, 64 steps (one every 4 frames, 256 frames): for each column x: `if rng ≥ $C0` (P 1/4): `if rng < $80` shift column **up** 1 (row 0 lost; row 21 := `rng < $E0 ? 1 : 0`) else shift column **down** 1 (row 21 lost; row 0 := 0). Cell count not conserved. (`81:B8D6`, `81:B915`, `81:B97B`) | [I] code; non-conservation [C] | | 11 | スターダスト Stardust | 3 stars, staggered 0/20/40 f, each strikes 3× (9 strikes total, ~34 f apart). Strike: column `c = (rng&7)+(rng&1)+(rng&1)` (0–9, centre-weighted; if column 0 is full to the top, c = 4); at launch compute target row `r = (top occupied row of column c, 22 if empty) − 1`; ~20 f later at impact **delete row r** of own field (rows above drop 1). Usually only clears junk above a ragged surface; on a flat stack it does nothing | [C] simulated = emulator on 6 layouts | | 15 | ヨセ Yose | compact every own row to the **left** (order kept, coins kept) | [C] | | 16 | ギャング Gang | victim coins (6) → 0 in place (no collapse), **and the caster's meter gains one per coin taken** (`re/runs/pw2_all_16`: 2 coins, meter 0 → 2 at rel 361; capped like any meter gain) | [C] | | 18 | プレス Press | delete own bottom **3** rows (field drops 3), then compact every row toward the centre: cells of cols 0–4 slide right against col 4, cells of cols 5–9 slide left against col 5 (order + coins kept) | [C] 3 layouts (always 3 rows; behaviour for stacks < 3 rows untested) | | 19 | ソル Sol | empty 3 own columns **c, c+1, c+2** over the full height (no collapse). **Aimed**: loop `82:C395` from rel ≈103 shows a 3-second countdown (`7E:323E/D/C`, `82:C675`); each new Left/Right press (`82:C6E2` edge latches `7E:3244/45`) moves c (`7E:3242`, start 4, range 0–7; sun x `7E:323B` ±8); a new A press (`7E:3243`) fires at once (rest of the countdown skipped: rel 351 instead of 383), else it fires when the countdown ends. With no input c = 4 → columns 4–6 | [C] `re/runs/pw2_sol_*` | | 1A | スリトテ Suritote | victim field, from its highest occupied row down to row 21: `cell = (cell==6) ? 6 : (cell ? 0 : 1)` | [C] for 0/1/6; stone (4) untested | | 1B | ファックス Fax | victim field := copy of own field | [C] | | 24 | イノリ Inori | random power. `r = rng & $3F`; `r == $15 or $2F` → **backfire**: Medusa (02) is cast from the victim's side (caster's blocks become stone); else `i = r < $11 ? r : r & $0F`, cast `T[i]` with `T = 03 03 1A 1A 21 21 01 01 10 10 02 02 17 17 27 27 0A` (`86:D051`, table `86:CFA6`). Odds /64: Suritote 8, Copy 8, Mambo 8, Medusa 8, Doton 8, Bomb 7, Remocon 7, Change 7, Medusa-backfire 2, Clear 1 | [C] code; one roll observed (Suritote) | | 27 | チェンジ Change | swap the two fields | [C] | | 2A | ハイパーフライ HyperFly | own bottom **4** rows (18–21): every empty cell := 1 (existing cells incl. coins kept); cleared at next lock as 4 lines | [C] fill; clear [I] | ## Stone (4), cracked stone (3), value 2 [C] Line scan (`81:D06B`/`81:D0E0`) on a full row that contains stone: the row is counted as a cleared line (attack stock +1) but is **not removed**: its non-stone cells flash and become 0 (no collapse) and each stone becomes `3`. A row that was entirely stone therefore becomes a full row of 3s, which the immediate rescan clears normally (+1 more attack, so 2 in total). Values 2 and 3 behave as ordinary blocks. Coins in cleared rows add to the meter, capped at the level-4 cost (DP `$2E`, default 4) — not 20 — when the cap is lower. (`re/runs/pw2_st2_*`) ## Cast suspension (play stopped for both players) — approximate frames From cast to the victim's state machine resuming (`re/runs/pw2_all_*`): board powers 150–800 f (Mirurun 154, Fly 152, Cut 160, Moses 177, Yose 215, HyperFly 212, Press 256, Seesaw 269, Pentris 274, Stardust 407, Suritote 410, Sol 436, Bomb 450, Medusa 479, Copy 486, Vampire 514, Clear 572, Fax 600, Gang 603, Change 607, Inori up to 750, Mambo 798). Status powers ~30–60 f (Kaiten 35, Hanten 36, Reverse 38, Select 38, Mahi 40, Mayakashi 60, Nu 62, Remocon 63), Shield 108, Doubles 164, Fever 185, Nakayoshi 236, Dainashi 266, Roulette 331, Noroi 528, Doton 543. **Mirror (1D) has no cut-in and no cast sound** (`82:D3BD` skips the sound for 1D) — it is invisible to the victim. ## Status powers — semantics Durations: see the tables above (N victim pieces / N caster pieces). "Victim pad masks" = DP `$5F` A, `$61` X, `$63` L, `$65` R, `$67` B, `$69` Y, `$6B` Select, `$6D` Start, `$6F` Up (cast), `$71` Down, `$73` Left, `$75` Right (defaults = the SNES bit for that button). Restored by the end-of-power cleanup (`82:D99A`). | id | power | target | exact effect | conf | |---|---|---|---|---| | 04 | マヤカシ Mayakashi | victim | every victim piece entering play (state 04, `81:AAA4`/`81:B206`) is transformed: `t' = (t + k) & $0F`, `k = rng&3` with 0→4 (k ∈ 1..4, P(k=4)=1/4); `if t' >= 14: t' &= 7`. The preview showed the untransformed piece, so the preview lies; normal↔crystal can flip | [C] code | | 06 | ダイナシ Dainashi | victim | spider-web overlay over the victim's field, and **the victim's cleared rows empty in place — nothing above them drops** (`re/runs/pw2_dai_y` vs `pw2_dai_n`: the cleared bottom row stays empty, the stack above stays put). Lasts the victim's next 6 pieces. Wiki "Ruin" agrees | [C] emulator | | 08 | ノロイ Noroi | victim | (a) garbage delivered to the victim is stone (value 4) with a **fresh random hole every row** (`86:E645` resets `$019C`); (b) every victim lock that clears no lines (and doesn't top out) pushes up one stone garbage row (`86:E9AF` from state 0A `81:AD4D`) | [C] code | | 12 | リバース Reverse | victim | victim masks: Left↔Right and A↔B swapped (`81:C57A`), re-applied at each victim spawn (`81:C642`) | [C] code | | 13 | マヒ Mahi | victim | rotation disabled: pressing A or B puts the piece into states 14→15→16 (1-px shake + paralysis sprite, `81:B67A`) instead of rotating; movement/drop unaffected. AI planner skips rotation targets | [C] code | | 14 | カイテン Kaiten | victim | the victim's piece spins: rotate requests bypass the press latch (`81:9CC6`/`9C88` path) so a held A/B rotates repeatedly, and Down also issues an A-rotate request (`81:9E0A`). **Held Down is no soft drop**: a 3-frame cycle 05 → 06 → 16 (rotate) → 05 with the piece one row lower; when the piece can't rotate (at the floor) Down does nothing — no drop, no Down lock delay (`re/runs/pw2_kai_d`: 20 rows in 60 f then 62 f idle to lock; normal soft drop 25 f, idle 702 f). Wiki "Rotation" agrees. COM victim rotated 35× vs 5× baseline in the same span | [C] emulator (human + COM) | | 17 | ドトン Doton | caster | on each of the caster's line clears the full rows empty **in place** (nothing collapses), then the caster's **ordinary blocks fall** column by column (animated ~2 f/row; coins and stone stay put), and rows completed by the fall clear too (chain; `re/runs/pw2_dot_y`: row 21 completed by the drop clears at rel 728–736; `pw2_dot2`: floating coin + stone unmoved). The earlier "[I] bottom row also removed" reading of `86:CA78` was wrong. Lasts the caster's next 4 pieces. Wiki "Thwack" agrees | [C] emulator | | 1C | シールド Shield | caster | each incoming garbage unit is **discarded** (stock already decremented in state 00; state 10 skips the row, `86:F0AC`) | [C] code | | 1D | ミラー Mirror | caster | silent (no cut-in/sound). While up, if the opponent casts anything, the Mirror owner **becomes the caster of that power** and the Mirror ends (`82:8E07` in the generic prologue `82:D3E9`): opponent-targeting powers bounce back, self powers are stolen (Mirurun/Copy/Fax tested). If the opponent casts Mirror while yours is up, both Mirrors are cancelled (`82:8D5E`). Reflection animation ≈ 260 f | [C] emulator (03,00,12,1A,01,1B) | | 1E | ヘビー Heavy | victim (6 caster pieces) | not in any character's list (unused). Victim piece drawn with gfx 7; gravity/lock override vs DP `$79/$7A` (`82:8CA7`) | [I] | | 1F | セレクト Select | **caster** (correction: not the victim) | caster's L / R cycle **their own** falling piece: L → type+1, R → type−1 within the normal set (0–6, wrapping) or the crystal set (7–13); a change that would collide is reverted (`82:BC01`, latches `$0141`/`$0143`) | [C] code, button↔direction [I] | | 20 | ヌー Nu | victim | victim forced to speed level 0 (slowest gravity) and **soft drop disabled** (Down bit masked, `82:8F98`); the victim's previous level is saved (`7E:3238/9`) and restored at the end | [C] emulator (level 5 → 0 → 5) | | 21 | リモコン Remocon | victim | **the victim's pad is replaced by the caster's** (`82:B02E`, called per player from `81:9C50`: victim pad := caster pad, only Start kept; in 1P mode with the COM as caster the human's pad := the COM's `$1F7`). The victim's own buttons do nothing; the caster's pad keeps driving the caster's own piece too, so one pad steers both. Lasts the victim's next 2 pieces (counter 3, see above). The ROM COM caster just plays its own piece (no special steering) | [C] emulator (`re/runs/pw2_rem_a..e`: P2 Right/Down ignored; P1 Left moves both pieces) | | 22 | ハンテン Hanten | victim | victim masks remapped at cast (`82:8BDA`): A=0200(Left button), B=0800(Up), Left=0080(A), Right=4000(Y), Down=0040(X), Up/cast=8000(B); and at **every victim spawn** cast/A/B masks are zeroed when victim DP `$26` bit1 = 0 (`82:8C69`; bit1 was 0 for both players in all observed battles) → effectively: move left = A button, move right = Y, soft drop = X, **no rotation, no casting** | [C] code + COM rotated 2× vs 5× | | 23 | ナカヨシ Nakayoshi | caster (8 victim pieces) | each incoming garbage unit instead **deletes the caster's bottom row** (`86:E1B5` → `81:D462` = shift field down 1) | [C] code | | 25 | ルーレット Roulette | victim | roulette animation then the victim's 8 masks [Down, B, A, X, Y, Right, Up, Left] are rotated as a ring `n = (rng&$0F)+$24` times (`82:B4AD`: Down←B←A←X←Y←Right←Up←Left←Down) → uniform over 8 rotations; plus the Hanten-style per-spawn zeroing of cast/A/B (`82:BA0D`) → **no rotation/cast**, move/drop on shuffled buttons. Overlay shows the new layout ("PUSH A") | [C] code + screenshot; COM rotated 0× | | 26 | フィーバー Fever | both (shared queue) | see Fever above | [C] | | 28 | ダブルス Doubles | caster | each full row found by the caster's line scan adds **2** attack stock instead of 1 (`86:CC4F` in `81:D0C0`) | [C] code (M0) | | 29 | ダーク Dark | victim | victim's field blacked out except a light cone under the falling piece (`86:C48D` sprite at piece pos) | [C] visual | ## Corrections to re/notes/battle.md - 07 Fly fills the bottom **3** rows (overwriting coins, keeping stone), 2A HyperFly the bottom **4** (keeping coins, stone → `1`; `re/runs/pw2_flys`, `pw2_hfly`). - 11 Stardust is not "bottom 4 rows" — see rule above (row deletions above column tops). - 1F Select changes the **caster's own** piece. - 22 Hanten remaps the victim's buttons and disables rotation/casting (not just "masks zeroed"). - 24 Inori is a random power (table above), not a fixed effect. - Meter cap from coins is min(20, level-4 cost DP `$2E`). ## Wiki audit (2026-10-21) — https://tetris.wiki/Tetris_Battle_Gaiden vs the ROM vs our code Durations measured in Mesen (2P mode, `re/runs/pw2_dur*`: pieces entering play while the power slot is set). "ours" = after this audit. Where the wiki and the ROM disagree the ROM wins (Classic); noted, not changed. | power | wiki | ROM (emulator) | action | |---|---|---|---| | (all casts) | casting discards the active piece for both | caster's at once, others' at the cut-in end (rel ~100); Mirror leaves the opponent's | **fixed** (was kept) | | Remocon | opponent's next 2 pieces controlled by the caster | victim pad := caster pad (victim has no control), caster's pad drives both; 2 pieces | **fixed** (was ORed pads, 3 pieces) | | Sol | can be directed, 3-second timer | Left/Right aim (col 0–7), A fires early, else after 3 s | **fixed** (was fixed cols 4–6) | | Gang | steals the crystals, player gets some back | coins removed; caster meter + coins taken (2 → +2) | **fixed** (meter gain missing) | | Dainashi (Ruin) | 6 pieces: cleared lines don't drop the rows above | same (no collapse), 6 pieces | **fixed** (was overlay only) | | Doton (Thwack) | 4 pieces: non-crystal blocks drop after clears, lower lines can clear | rows empty in place, loose blocks fall (coins/stone fixed), chained clears; 4 pieces | **fixed** (was: bottom row removed) | | Moses | floating non-crystal blocks fall; stone doesn't; nothing while webbed | coins and stone stay put (verified); web part not verified | **fixed** (coins/stone fell) | | Kaiten (Rotation) | 3 pieces spin when soft-dropping; can't rotate → no soft drop / manual lock | Down = rotate + 1 row per 3 f; nothing when it can't rotate; 3 pieces | **fixed** (Down soft-dropped) | | Fever | until a combined 6 pieces are placed | 6 combined (3 + 3) | ours already 6 ✓ | | Reverse | 4 pieces | 4 | ✓ | | Mahi (Paralysis) | 3 | 3 | ✓ | | Hanten (Inversion) | 3 | 3 | ✓ | | Roulette | 3 | 3 | ✓ | | Select (Wish) | 4 | 4 caster pieces | ✓ | | Mayakashi (Fraud) | 5 | **4** (counter 5, the cast discards the piece in play) | ROM kept — wiki differs | | Nu (Nue) | 4 | **3** (counter 4) | ROM kept — wiki differs | | Doubles (Double) | rows cleared by the next piece send double | **8 caster pieces** (counter 9) | ROM kept — wiki differs | | Noroi, Dark, Shield, Mirror, Nakayoshi | "short time" / no count | 5 / 3 / 7 / ≤10 / 7 | ✓ | | Shield, Nakayoshi | only line garbage, not power-raised stacks | same | ✓ | | Fly / HyperFly | 3 rows, coins overwritten, not collected / 4 rows, coins collected | same | ✓ | | Inori (Prayer) | random opponent level 4 | table `86:CFA6` (Suritote, Copy, Mambo, Medusa, Doton, Bomb, Remocon, Change, Clear; Medusa backfire) | ✓ (ROM table) | | Press | "pushes the stack together by 1 row" (garbled) | bottom 3 rows go, rows squeezed to the centre | ✓ (ROM) | | others (Vampire, Bomb, Mirurun, Pentris, Suritote, Seesaw, Fax, Mirror, Copy, Stardust, Mambo, Yose, Medusa, Cut, Change, Clear) | | | ✓ match | Mechanics: shared 3-piece contested preview ✓; a crystal is collected only when its line clears ✓; crystals per level 1–5 ✓ (Options "power cost" = n, 2n, 3n, 4n); 10×22 visible-plus-vanishing field, no hold / hard drop in Classic ✓; top out = rows above the field after a lock without clears ✓ (`81:D9A7`); **blocks pushed into the vanishing zone are deleted** — `81:D442` shifts only the 22 rendered rows, the hidden rows stay → **fixed** (ours shifted the whole 24-row board, so pushed blocks could linger in the hidden rows and top a player out). ## Open questions - DP `$26` bit1 meaning (gates the per-spawn mask zeroing of Hanten/Roulette). If a human 2P victim had bit1 = 1, they would keep rotation. Poking `$DE=0` mid-battle (from `battle_mid`) does give P2 to port 2 — the earlier "doesn't" was a script bug: Mesen 2.1.1's `emu.setInput(t, 1)` still feeds port 1; port 2 needs `emu.setInput(t, 1, 1)` (fixed in `pw2_cast.lua`, `anim_cap.lua`, `snd_log.lua`; `re/lua/vs2_make.lua` drives a real 2P battle from boot). - What the X/Y masks (`$61`, `$69`) do in normal play (alternate rotate?) — relevant for Roulette's shuffle. - Kaiten exact per-frame rotate rate for a human holding a button; Heavy (unused) details. - Press / Mirurun / Cut on stacks lower than the removed row count; Suritote/Medusa on stone cells. ## Fandom audit (2026-10-21) — https://tetris.fandom.com/wiki/Skills_(Tetris_Battle_Gaiden) Every entry compared with the notes above; new emulator runs where they disagreed. | power | fandom | ROM (emulator) | action | |---|---|---|---| | Vampire (H3) | steals every crystal the opponent has | all of them, capped by the caster's meter cap (`pw2_vamp3/5`) | **fixed** (was 1) | | Fly (H1) | crystals erased, stone preserved | same (`pw2_flys`) | **fixed** (stone was overwritten) | | HyperFly (G1) | crystals collected, stone erased | holes + stone → blocks, coins kept (`pw2_hfly`) | **fixed** (stone was kept) | | Nu (W2) | disables fast-dropping, 3 pieces | Down masked + speed 0, 3 pieces | Modern: hard drop now masked too | | Noroi (S3) | user's next 5 pieces send 5 stone lines | victim's 5 pieces: no-clear locks raise stone, garbage is stone | ✓ (same total) | | Fever (B2) | current piece ×10 for both, act after 7 | 6 combined | ROM kept | | Gang (B3) | 1 crystal per 2 columns robbed | 1 per coin (2 coins → 2) | ROM kept | | all others | durations 3/4/6/7/8/10, effects | match | ✓ |