# Shared bosses C (Phase C, 2026-10-26) isaac-classic branch rif/shared-enemies: Satan and Isaac under the Enemies option Repentance+ (gated overrides of the base records in resources/data/repentance_plus/entities.json; Flash's clips kept). ## satan: NpcAI::ENTITY_SATAN 0x47f640 (84.0; feet 84.10 in the same routine). Changed (partial) - Position: init moves him down 80 (targetPosition held while sealed), and every height in the routine sits 80 below Flash's: hover aim y = max(305, Isaac.y * .93) - 60 (Flash 140), floor y 245 (Flash minY 165), summons at +30 (Flash +110). So Rep pos = Flash pos + 80; the beams' (0, -60) origin is Flash's +20. - I1 0 sealed (cell value 2000 under him, SmallIdle): stateFrame 2 sound, past 130 SpawnEx 81.0 at +30 and 55.1 at (+-50, +30). I1 1: with one alive enemy, at stateFrame 25 health = config, Change clip, music 0x17; at its end I1 2, state 4 (Flash's rise: matches). - I1 2 state 4 (Walk): friction *.8; ahead = Isaac.x + 2 * vel.x * 25 (player velocity is per 60 Hz update, so the doubling makes it Flash's 25 ticks), dy = max(py * .93, 305) - y - 60. Beam (state 9, Attack02, I2 9) when dx * ahead < 0, dy > -70 and (I2 != 9 or rand%10 == 0), or I2 == 10, |dx| < 40 and rand%3 == 0; else rand%15 == 0, or rand%3 == 0 with I2 not 8 / 11: rand%10 < 3 spit (state 8, Attack01, I2 8), else burst (state 11, Attack03, I2 11); else move v += clamp(dx, 15) * .1 / f, clamp(dy, 7) * .1 / f while |dx| > 100 or dy < 0; else split (state 10, Attack03, I2 10) when |dx| > 40, |ahead| < 200, dy >= 0. Position clamped by GetClampedPositionImpl(pos + v, 0, 120, 0, 120). - Spit (state 8): aim Isaac + 2 vel * 5. Shoot: FireProjectiles mode 5, Spread 1.15, Scale 1.4, FAmod -.07, Height -40, FSmod 5.5; Shoot2: mode 4, same but no height / fall mods; speed (8.2 within 300, else 10) * .85; both boosted (modes 4/5). At the clip's end: Isaac 300+ away or rand%3 == 0 -> walk, else replay from frame 10 (Flash repeats when FAR; Rep when NEAR). - Beam (state 9): Shoot (21): Entity_Laser::ShootAngle(1, pos + (0, -60), 90, timeout 16), scale 1.2, then x -5; from Shoot until Shoot2 (46) x +10 on odd update ticks, -10 on even. - Split (state 10): Shoot (17): two ShootAngle(1) from (-100, -60) at 120 deg and (+100, -60) at 60 deg, timeout 14, rotationDegrees -40 / +40 at -1.5 / +1.5 a tick (both turning inward), x -2.5 each; shake +-5 until Shoot2. - Burst (state 11): Shoot (17): FireProjectiles from pos + (-100, 0) and (+100, 0), mode 9 (7.5, 14), Scale 1.4, Height -40, FSmod 2.5, FireDirectionLimit (-1, 0) / (1, 0), DotProductLimit -.38 (9 of the 14 each side). - I1 2 health below 0 -> I1 3: Death clip (Shoot: ground poof, ShakeScreen 12; Shoot2: blood gibs 1000.16 at the table 0xc5c5cc), then two 84.10 linked as parent / child, Satan removed. - Feet (84.10, I1 4): hidden state 3; each tick rand%9 == 0 starts a Stomp unless the other foot's stateFrame < 21 (the child checks its parent only after its first stomp; the parent always checks the child): snapped onto Isaac, pushed 111 clear of the other foot; below 4 alive enemies rand&1: 55.1 at FindFreePickupSpawnPosition(Isaac, 200). Stomp event: sound 0x34, BombDamage(300, radius 70), shockwave, poof; collidable from Stomp to Lift (26-75 of 88), then hidden again. Health shared (min of the two); one dead kills the other and every enemy. - Port: burst {share .7, on 18, offset [100, 80], count 14, speed 7.5, dot -.38, scale 1.4, height -40, fall 2.5}, beam_shake, stomp_wait {9, 21}, spit_repeat near, volley fall_velocity / height, fans of modes 5 / 4 at Spread 1.15 times .85, the beam one laser width 48 lifetime 16 from frame 22, the split two turning lasers lifetime 14. - Left: both feet appearing together after the Death clip, the stomp's collidable window (Flash's clip is 75 frames), radius 30 for the body, the hover clamp. ## isaac: NpcAI::ENTITY_ISAAC 0x463100 (102.0, ??? 102.1, ??? alt 102.2). Changed (partial) - I2 byte 0 is the stage: variant 0 at health < 75% stage 1 (state 16, 1StandUp), < 50% stage 2 (2Evolve); 102.1/2 at 70% (spawning two 96.0 Eternal Flies parented to it) and 50%. - Return fire: V2.x the last health, V2.y the damage gathered (capped 200). While not in state 8 (and in stage 2 only in state 3) and V2.y > 10, on GetIntervalTicks(n) with n = 20 (stage 1: 30; stage 2: 25), halved for 102.1/2: 1 shot (2 past 100, 3 past 150) mode 0 aimed at Isaac (stage 2 variant 0: along his main axis) plus a random unit * .1, resized to 8 (stage 1: 6; ??? x .75), stage 2 adding .3 (??? .6) of its velocity, Variant 4, FSmod -.1, FAmod -.1 (??? 1 in 10 homing at scale 1.2); V2.y -= count * 10 (??? 5). - Stage 0 attack (1Attack, state 8): waves of FireProjectiles mode 9 rings (variant 0: 10 at 7 rotating by V1.x; pattern I1 % 5: CURVE_LEFT 0x40000 / CURVE_RIGHT 0x80000 curving .002, an extra 11-speed ring curving .015 with FAmod .15, 8-count variants at 12 with flags 0x42000); ??? fires 6-9 curving homing shots instead. - Stage 1: light beams (1000.19) every 5 ticks of a 10-tick window (projectileCooldown 40 after a 1 in 4), one in 3 at Isaac's position + d * .2 * his velocity; 1 in 10 with fewer than 2 enemies: two 38.1 Angelic Babies 100 away (cooldown 120). - Stage 2: 3FBAttack3 teleports out (I1 1000 / 2000: beam sweeps along the left / right walls, 10 beams each step), 3Appear back at a random spot 100+ from Isaac; 3FBAttack4Start / Loop / End ring waves. - Port: isaac thresholds [.75, .5, 0] (??? form [.7, .5, 0]) and return_volley (periods [20, 30, 25], speeds [8, 6, 8], carries [0, 0, .3], more [[100, 2], [150, 3]], axis_states [2], cost 10; ??? [10, 15, 12], [6, 4.5, 6], [0, 0, .6], no axis, cost 5). Left: every attack pattern above (Flash's rings, bolts and summons stay), the Eternal Flies at 70%, ???'s homing return shots.