notes/names: monster fidelity pass 5 (70 common Rebirth records: gaper/skinny/hopper/clotty families, Death's Heads, wall creeps, round worms, dip, squirt, wizoob, meatball, mobile hosts, portal, Mom's hands, revenant, quake grimaces, evis, holy eye, Polycephalus, the Stain, Rag Man, Little Horn, Dark One, Mega Fatty)
This commit is contained in:
1 parent
4df26355ef
commit
962ec27869
8 files changed
+781
No files matched your search
@@ -1457,3 +1457,4 @@
|
|||||||
005b1890 Game::room_restart_flag_set sets game+0x67744 = 1 after D7's Room::RespawnEnemies
|
005b1890 Game::room_restart_flag_set sets game+0x67744 = 1 after D7's Room::RespawnEnemies
|
||||||
00736c30 ItemPool::on_pill_used the gold pill (colour 14) after a use: clears its identified byte (ItemPool+0x7e0+colour) and gives effects[colour] (ItemPool+0x7a4+colour*4) a random available pill effect none of colours 1-14 holds (rif/rebirth-pills)
|
00736c30 ItemPool::on_pill_used the gold pill (colour 14) after a use: clears its identified byte (ItemPool+0x7e0+colour) and gives effects[colour] (ItemPool+0x7a4+colour*4) a random available pill effect none of colours 1-14 holds (rif/rebirth-pills)
|
||||||
007ea2d0 Room::time_scale_update misnamed GetDevilRoomChance: the global time scale (manager+0x2a2d4) SetBrokenWatchState stores: Stop Watch effect (0xe8) / Hourglass effect (0x42) / Broken Watch state 1 -> 0.7, state 2 or challenge 22 -> 1.43, Stop Watch owned -> 0.9, collectible 0x2a5's countdown eases it; plus (GFuel count - 1) * 0.1 (rif/rebirth-pills)
|
007ea2d0 Room::time_scale_update misnamed GetDevilRoomChance: the global time scale (manager+0x2a2d4) SetBrokenWatchState stores: Stop Watch effect (0xe8) / Hourglass effect (0x42) / Broken Watch state 1 -> 0.7, state 2 or challenge 22 -> 1.43, Stop Watch owned -> 0.9, collectible 0x2a5's countdown eases it; plus (GFuel count - 1) * 0.1 (rif/rebirth-pills)
|
||||||
|
00703190 Game::spawn_bomb_crater spawns effect 1000.18 (BOMB_CRATER) at pos, sprite scale from XMM2, and appends an EntitySaveState (1000.18) to the room save list; called from NpcAI::ENTITY_SKINNY Black Bony death after BombDamage (pass5_g2)
|
||||||
|
Can't render this file because it contains an unexpected character in line 18 and column 80.
|
@@ -0,0 +1,94 @@
|
|||||||
|
# Group g1 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
NpcAI::ENTITY_GAPER 00508f40 serves types 10, 208 (0xd0), 252 (0xfc), 257 (0x101), 284 (0x11c), 302 (0x12e) and 807
|
||||||
|
(no branch of its own); type 10 variant 3 goes to NpcAI::ENTITY_ROTTEN_GAPER 004da590 first.
|
||||||
|
Shared facts:
|
||||||
|
- FindGridPath(CalcTargetPosition, speed in field 0xc34, 900 (100 for Stoney, -1 for rotten subtype 2), 1) every tick
|
||||||
|
outside the attack state. Speeds: default .6; 208/257 .3 (208.2 .33); 302.10 .48; 252 .9; variant 1 or 284 .498;
|
||||||
|
variant 2 .548; a gaper whose Head overlay frame is past 0 .72. Evade (flags 0x1000800): EvadeTarget, friction *.8.
|
||||||
|
- field 0xb40 is the pathfinder's `_hasDirectPath` (0x414 + 0x72c in REPENTOGON's NPCAI_Pathfinder). It gates the
|
||||||
|
groan (rand%3, PlaySound cooldown 40), Cyclopia's shot and the Head overlay (variant 0, not 208/257/302).
|
||||||
|
- Entity friction 0x36c: the attack state multiplies it by .4 each tick (no pathing then).
|
||||||
|
- Death (health > -25, then Random()&1 == 0, i.e. 1 in 2): 10.x -> 11 (rand%3 == 0 and not variant 2: 11.1);
|
||||||
|
208.1 -> Morph 210.0 (Blubber) at full health; 208.2 spawns 33.10 at its spot (and still dies); 257.0 -> Morph 208.0.
|
||||||
|
|
||||||
|
## fatty: NpcAI::ENTITY_GAPER 00508f40 (208.0). Changed
|
||||||
|
- State 4: stateFrame counts up to 100; attack when hostile, dist^2 < 40000 (200), rand%120 == 0 and stateFrame > 99
|
||||||
|
(100 ticks after spawn and after each attack). No line-of-sight test. AttackHori (flipX by velocity) if |vx| > |vy|
|
||||||
|
and moving, else AttackVert; sound 0xa7. Shoot (frame 21): Game::ButterBeanFart(pos, 120, npc, 1, 0).
|
||||||
|
- Changed: `sight` removed (period 1, one_in 120, range 200, cooldown 100, retention .4, gas radius 120 already matched).
|
||||||
|
- Not expressed: the pose is picked by its velocity in Rep, by Isaac's side here; first 100 ticks without an attack.
|
||||||
|
|
||||||
|
## pale_fatty: NpcAI::ENTITY_GAPER 00508f40 (208.1). Changed
|
||||||
|
- As fatty, plus FireProjectiles(pos, (8, 6), mode 9) = ring of 6 at speed 8 on Shoot (matched).
|
||||||
|
- Death: 1 in 2 (Random()&1), not past -25 overkill, Morph to 210.0 at max health. transformation one_in 3 -> **2**;
|
||||||
|
`sight` removed.
|
||||||
|
|
||||||
|
## flaming_fatty: NpcAI::ENTITY_GAPER 00508f40 (208.2). Changed
|
||||||
|
- Init: field 0xb8 = 1, overlay "Fire" (its fire layer at the FirePos null). Path speed .33 (0x3ea8f5c3).
|
||||||
|
- Same attack gate as fatty (200, 1 in 120, 100 ticks). Shoot: ButterBeanFart radius 120, then Game::Spawn(33, 10) at
|
||||||
|
its position (a moveable fireplace, NpcHelper::fireplace_moveable_update 006d0ec0).
|
||||||
|
- Death: 1 in 2, not past -25 overkill: spawns 33.10 where it dies.
|
||||||
|
- Changed: move chase .3 / retention .8 -> **path .33 / 1**; attack range 90 / period 7 / 1 in 4 -> **200 / 1 / 1 in 120,
|
||||||
|
cooldown 100**, retention .5 -> .4, gas radius 85 -> 120; the fire_jet bolts replaced by a **moveable_fireplace
|
||||||
|
spawn** (spawn_offset 0); **death_spawn moveable_fireplace one_in 2, overkill 25** added.
|
||||||
|
|
||||||
|
## conjoined_fatty: NpcAI::ENTITY_GAPER 00508f40 (257.0). Changed (partly)
|
||||||
|
- Same attack gate as fatty. "Target" (frame 15): aim = normalize(Isaac - pos), any angle. From "Shoot" (21) until
|
||||||
|
"Stop" (28), each tick n = 0, 1, 2...: green creep 1000.23 at pos + aim * 25n, scale .9 + .07n, value 0x45c/0x460
|
||||||
|
= 15; a blood explosion and a 1000.7 splat beside it while in the room. First puddle plays sounds 0xd4 / 0x25.
|
||||||
|
- Death: 1 in 2 (not past -25) Morph to 208.0.
|
||||||
|
- Changed: one_in 40 -> **120**, cooldown **100** added, retention .5 -> **.4**, creep **1 puddle a frame** (was 2),
|
||||||
|
reach 140 -> **150**, scale .9 growing .07; transformation one_in 3 -> **2**.
|
||||||
|
- Not expressible: the creep line aimed at Isaac at any angle and ordered outward (the data keeps two axis attacks gated
|
||||||
|
by a row/column line within 60, puddles at a random share along; the vertical one picks up or down at random).
|
||||||
|
See the parent's engine_g1.md proposal (creep `aimed` + `stepped`).
|
||||||
|
- Port follow-up: engine creep `aimed` + `stepped`: one attack (no row/column line gates), along [175, 0] = 8 puddles 25 apart from Shoot (21) to Stop (28) toward where Isaac stood as it began (Rep aims at Target, frame 15).
|
||||||
|
|
||||||
|
## blue_conjoined_fatty: NpcAI::ENTITY_GAPER 00508f40 (257.1). Changed
|
||||||
|
- Same attack gate as fatty. Shoot: sound 0xd5, FireProjectiles(pos, (Isaac - pos) resized 7, mode 0) with
|
||||||
|
BulletFlags |= 3 (SMART homing + EXPLODE) and Scale 1.5. No death morph.
|
||||||
|
- Changed: range 300 -> 200, one_in 90 -> 120 (draw_first dropped), cooldown 100 added, retention .7 -> .4; the Flash
|
||||||
|
green lob -> **aimed shot speed 7, homing, scale 1.5, still, landing explosion**.
|
||||||
|
|
||||||
|
## nulls: NpcAI::ENTITY_GAPER 00508f40 (252.0). Skipped (matches)
|
||||||
|
- Path speed .9 (0x3f666667) matches. Init writes (.1, 0, 0, 1 ...) into the colour block at 0x1e4 (its tint/fade
|
||||||
|
start); the fade itself is not in this routine (not read). The Head overlay rule does not apply to type 252's speed.
|
||||||
|
|
||||||
|
## wraith: NpcAI::ENTITY_GAPER 00508f40 (807.0). Skipped (matches)
|
||||||
|
- No branch of its own: path .6; its Head clip has one frame so the gaper .72 speed-up never happens. Matches.
|
||||||
|
|
||||||
|
## cyclopia: NpcAI::ENTITY_GAPER 00508f40 (284.0). Changed
|
||||||
|
- Path .498. Red creep 1000.22 when Entity::GetIntervalTicks(7, offset index % 7) fires: timeout 20, scale .2 + rand*.3.
|
||||||
|
- State 4 with cooldown < 1, direct path (0xb40), rand%30 == 0 and dist^2 < 40000: cooldown 60 (from the start; the
|
||||||
|
Attack overlay is 15 frames, so 45 idle), state 8, overlay "Attack". Shoot (frame 3): FireProjectiles (Isaac - pos)
|
||||||
|
resized 7, mode 0. Friction *.4 while attacking.
|
||||||
|
- Changed: creep period 8 / scale .6 -> **7 / .35 (the mean), serial**; attack **sight** added (the direct-path test).
|
||||||
|
- Not expressed: the creep's 20-tick life, its random scale.
|
||||||
|
|
||||||
|
## stoney: NpcAI::ENTITY_GAPER 00508f40 (302.0). Changed
|
||||||
|
- Init: collision class 2, invulnerable (flags 1 / 8), i1 = rand%60 + 90. State 4 (path .6, range arg 100): i1 counts
|
||||||
|
down; at 0 state 16 "Pant", i1 = ((rand&3) + 2) * 21 = 42/63/84/105 ticks with velocity zeroed each tick, then
|
||||||
|
state 4 with i1 = rand%60 + 90. No enemies left (GetAliveEnemyCount < 1): state 18 (death), collision off.
|
||||||
|
- Changed: the pant length repeat 1 + random(4) -> **ticks 42, ticks_random [4, 21]**; **first_cooldown [90, 60]**
|
||||||
|
(the first walk is also 90-149 ticks). Cooldown 90 + random 60 (drawn once) already matched.
|
||||||
|
|
||||||
|
## cross_stoney (302.10), not in the group's list, read in passing
|
||||||
|
- Path .48; ShootAndRotate1/2 alternating (i2), Shoot: FireProjectiles from pos + vel*2, (10, 0), mode 6 (+1 on
|
||||||
|
ShootAndRotate2: cardinal then diagonal), HeightModifier -15, FallingAccelModifier .3, sound 0x106.
|
||||||
|
|
||||||
|
## rotten_gaper_10_3_*: NpcAI::ENTITY_ROTTEN_GAPER 004da590 (10.3.1-5). Changed
|
||||||
|
- Subtype 0 Morphs to subtype (seed-derived) % 5 + 1 at init (already ported by pass 5's choice).
|
||||||
|
- Speed = .6 * table[subtype], table at 0x00babec0: {1, 1.2, 1.5, .8, .9, 1.9} -> .72 / .9 / .48 / .54 / 1.14.
|
||||||
|
- Subtype 2: FindGridPath range argument -1 instead of 900.
|
||||||
|
- Subtype 3: while Isaac (target) is farther than 80, it latches onto a nearby rotten gaper of another subtype
|
||||||
|
(QueryRadius, i1 = rand%15 + 30 ticks) and paths to it instead. i2 counts up; past 60 a 1 in 8 tick spawns 853.0
|
||||||
|
(Small Maggot) while fewer than 6 of its group (QueryNPCsGroup) live, i2 back to 0. On a 1 in 20 tick with
|
||||||
|
GetIntervalTicks(4) a cosmetic 1000.63 (Worm).
|
||||||
|
- Subtype 5: speed times .75 + .25 * clamp((dist - 80) / 100, 0, 1). With CheckLine clear: aims at Isaac + 60 px
|
||||||
|
toward its own velocity turned rand*40-20 degrees, velocity += speed * dir, friction *.9. Without a line: FindGridPath.
|
||||||
|
- Changed: 10.3.1 chase .6 -> **path .72**; 10.3.2 ground_chaser .9 -> **scripted path .9**; 10.3.4 ground_chaser .6 ->
|
||||||
|
**scripted path .54**; 10.3.3 the spawn attack now keeps pathing (attack **chase .48**, retention 1); 10.3.5 hover
|
||||||
|
.9 -> **1.14** (retention .9 kept).
|
||||||
|
- Not expressible: 10.3.3's partner following and group cap (the cap counts all Small Maggots); 10.3.5's near slowdown,
|
||||||
|
its 60-px side aim and the FindGridPath fallback without a line; the worm effect.
|
||||||
@@ -0,0 +1,123 @@
|
|||||||
|
# Group g2 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
Skinny family, bonies, One Tooth, Fat Bat, Dart Fly, Oob and Fly Bomb, read for isaac-classic branch
|
||||||
|
rif/monster-fidelity-8. Base friction is 1 for all of them (entities2.xml); "friction *x" below is the AI's per-tick
|
||||||
|
multiplier (Entity +0x36c). Speed convention as pass4_00.md (path/roam speed = the call's argument, retention = the
|
||||||
|
AI's friction multiplier).
|
||||||
|
|
||||||
|
## skinny: NpcAI::ENTITY_SKINNY 00538b70 (226.0). Changed
|
||||||
|
- State 0 -> 4, head overlay "Head" (226 only). State 4: FindGridPath(CalcTargetPosition, .5, 900, 1); feared or
|
||||||
|
charmed (flags 0x1000800, no controller) it runs PathFinder::EvadeTarget instead (friction *.8 more).
|
||||||
|
- AnimWalkFrame("WalkHori", "WalkVert", .1). Friction *= .8 at the end of every tick, all types of the routine.
|
||||||
|
- Red creep 1000.22 on IsFrame(7, index) unless friendly (flag 0x1000000): Scale (+0x478) .5, timeout and lifespan 30,
|
||||||
|
sprite scale starting at .1 (it grows in the effect's own update).
|
||||||
|
- Idle groan: IsFrame(20) and rand%3 == 0, sound 0x5b (226.0) / 0x59 (others), volume .8, only while hostile.
|
||||||
|
- Port: retention 1 -> .8, creep period 8 -> 7 (serial), scale .6 -> .5. The groan and the evade are not ported.
|
||||||
|
|
||||||
|
## rotty: NpcAI::ENTITY_SKINNY 00538b70 (226.1). Changed
|
||||||
|
- Walk and creep as the Skinny (same fixes).
|
||||||
|
- On death (`_dead` set in the AI): rand&1 == 0 -> sound 0x73, Morph(227, 0) (Bony) and health = max, `_dead` cleared.
|
||||||
|
Otherwise, unless +0xc76 (short) is set, one Attack Fly 18.0 at velocity RandomVector*2 (flag 4 cleared), and on a
|
||||||
|
second rand&1 == 0 another one at the opposite velocity: 1 or 2 flies, mean 1.5.
|
||||||
|
- Port: transformation one_in 2 -> bony matches. death_spawn stays at 2 flies (no random count in death_spawn).
|
||||||
|
- Port follow-up: engine `death_spawn/count_random`: count 1 + random(2) Attack Flies, as Rep.
|
||||||
|
|
||||||
|
## crispy: NpcAI::ENTITY_SKINNY_crispy 0054a350 (226.2). Changed
|
||||||
|
- Heat t = 1 - clamp((hp - .4 max) / (.9 max - .4 max), 0, 1): 0 above 90 % health, 1 below 40 %.
|
||||||
|
- Below half health: overlay HeadTransition, then HeadAngry once it ends.
|
||||||
|
- Walk: target = CalcTargetPosition + Isaac's velocity * 10. With a clear ground line (CheckLine mode 0) velocity +=
|
||||||
|
unit * .65; otherwise FindGridPath(.6 + .5 t, 900, 1). Friction *= .8 + .15 t.
|
||||||
|
- Every tick rand < .2 t: an ember 1000.66 at (x + rand*16 - 8, y - 15 - rand*15), velocity (rand*.4 - .2, -.8 - rand*1.6).
|
||||||
|
IsFrame(2) and rand%5 == 0: a blood splat (MakeSplat .4 + rand*.4).
|
||||||
|
- IsFrame(30, InitSeed % 30): TakeDamage(1, 0, self, 30) (vtable +0x20): 1 health a second.
|
||||||
|
- Colour: layer 1 alpha 1 - t; layer 0 (1 - .9 t, 1 - .8 t, 1 - .8 t). Above t .3, a grid collision keeps its speed
|
||||||
|
(velocity renormalised to the pre-collision length at +0x194).
|
||||||
|
- Port: speed .5/retention 1 -> .6/.8, with four hp_share_below phases (.775, .65, .5, .4) stepping to
|
||||||
|
.725/.838, .85/.875, 1.0/.92 (head swap) and 1.1/.95. The old gate was `hp_below 10` (absolute health). regen
|
||||||
|
-.0333 lethal already matched the 1-per-30-ticks burn. Not ported: the continuous ramp, the direct push, embers,
|
||||||
|
splats, tint, the wall bounce.
|
||||||
|
|
||||||
|
## bony: NpcAI::ENTITY_SKINNY 00538b70 (227.0). Skipped (matches)
|
||||||
|
- Init sets flag 0x10000. Walk: GridPath set (900) under it, MoveRandomlyAxisAligned(1.25); WalkUp/WalkDown/WalkHori by
|
||||||
|
the velocity's major axis (speed^2 >= 1, else WalkDown frame 0).
|
||||||
|
- Attack check on IsFrame(3), not spawned by 0x38a, not feared/charmed (0x1000a00): T = Isaac + Isaac.vel * rand*16,
|
||||||
|
clamped 20 inside the room; its grid cell's centre (index % width * 40 + 40, index / width * 40 + 120) within 20 of
|
||||||
|
T on either axis, distance < 200, CheckLine(cell centre, T, 3) -> state 8, AttackHori/Down/Up by T's major axis.
|
||||||
|
- State 8: friction *.3 (so .24 with the .8); on "Shoot" (frame 4) one projectile, variant 1 (bone), toward Isaac
|
||||||
|
resized to 10, sound 0xf9; ends with the clip. No cooldown.
|
||||||
|
- Data matches: roam 1.25/.8, period 3, alignment 20, range 200, sight, speed 10, retention .24. Not expressed: the
|
||||||
|
rand*16 lead on the alignment test.
|
||||||
|
|
||||||
|
## black_bony: NpcAI::ENTITY_SKINNY 00538b70 (277.0). Changed
|
||||||
|
- Init: flag 0x10000 and a Color (.3, .3, .3, 1) assigned (target not identified).
|
||||||
|
- As Bony, but at the attack clip's end with StateFrame < 2 it replays the clip (StateFrame++): three throws an
|
||||||
|
attack (repeat limit 2 already matched). Its bones: Color (.4, .4, .4, 1).
|
||||||
|
- Death (not friendly): Game::BombDamage(pos, 40, radius 60, line check, flags 4) + FUN_00703190 (spawns and saves
|
||||||
|
a 1000.18 bomb crater) + explosion 1000.1.
|
||||||
|
- Port: shot tint [.4, .4, .4, 0, 0, 0]. The 40/60 blast is left on the generic death_explosion.
|
||||||
|
|
||||||
|
## one_tooth: NpcAI::ENTITY_SKINBALL 005381c0 (234.0, shared with 232). Changed
|
||||||
|
- Init: PositionOffset (0, -20), no grid collision, V1 = a random unit heading, StateFrame = rand%30. Leaving the
|
||||||
|
room's clamp redraws V1 and resets StateFrame to that tick's rand%30.
|
||||||
|
- StateFrame counts up each tick; at every multiple of 20 V1 is redrawn.
|
||||||
|
- Steering: aim A = Isaac + vel*20 + V1 * (distance * .85) - pos. FlipX turns when A.x is past 40 the other way; the
|
||||||
|
x of the unit is then replaced by the facing sign (always full), y kept: target velocity (+-3, 3 uy);
|
||||||
|
v += (target - v) * .1.
|
||||||
|
- Dash: StateFrame > 100, 80 < distance < 160, StateFrame % 3 == 0, rand&1, unit toward Isaac + vel*20 within dot
|
||||||
|
.98 of one of (+-.894, +-.447) -> sound 0x92 (pitch 1.5 / .5 for champion colours 18 / 19), state 8, StateFrame 20,
|
||||||
|
V2 = that unit. State 8: Dash clip, friction *.6, v += V2 * 3.5 / friction, StateFrame -= 1; at 0 back to 4 with
|
||||||
|
StateFrame = rand%30.
|
||||||
|
- Data matched: hover .333/.9, period 3, one_in 2, range 80..160, slope .5 within 11.48 deg, lead 20, lunge 5.833
|
||||||
|
for 20 ticks at .6, cooldown 70 + 0..29. Added first_cooldown [71, 30]: the first dash also waits for StateFrame > 100.
|
||||||
|
- Not expressed: the orbit offset (V1 * .85 distance, redrawn every 20 ticks) and the full-x swoop.
|
||||||
|
|
||||||
|
## fat_bat: NpcAI::ENTITY_FAT_BAT 00540510 (258.0). Changed
|
||||||
|
- Init PositionOffset (0, -30). Table 0x00c5c84c: four diagonal units. u = the one with the largest dot with d =
|
||||||
|
Isaac - pos; P = -(d.u) u (Isaac to the nearest point of his diagonal along u).
|
||||||
|
- Attack: ProjectileCooldown == 0, rand%15 == 0, |d + P| < 40, |d| < 750 -> state 8, cooldown 30. Shooting clip;
|
||||||
|
on "Shoot" (frame 6) one shot toward Isaac at 10, sound 0x92, state 4 (the clip is cut there).
|
||||||
|
- Move every tick, in both states: v += .45 * unit(d + .8 P); friction *.8. ProjectileCooldown counts down each tick.
|
||||||
|
- Tear dodge: QueryRadius(pos, partition 4) for tears heading at it within 100: a sideways push (1 - dist^2/10000) *
|
||||||
|
.5 * min(|d|^2, 10000)/10000, doubled away on a 1 in 2 when touching a grid.
|
||||||
|
- Port: stop "Shoot", cooldown 30 -> 24 (counted from the attack's end here). Not ported: the dodge, moving while it shoots.
|
||||||
|
|
||||||
|
## dart_fly: NpcAI::ENTITY_DART_FLY 005400d0 (256.0). Skipped (matches its pull)
|
||||||
|
- With Skatole (collectible 9) it Morphs into a Fly (13). V1.X = phase, rand * 2 pi at init, += .18849558 a tick.
|
||||||
|
- v += (cos(phase/2) * 10 + 13.5 nx, sin(phase) * 10 + 13.5 ny) * .0225 (= .75 * .9 / 30), n = unit to Isaac;
|
||||||
|
speed capped at 8; friction *.95. Fly clip, FlipX by velocity.
|
||||||
|
- The data's hover .32/.95 is the .304 net pull. No lead, no backing off in Rep (the reference text was the wiki's).
|
||||||
|
Not expressed: the figure-eight wobble.
|
||||||
|
|
||||||
|
## oob: NpcAI::ENTITY_OOB 0053ab40 (224.0). Changed
|
||||||
|
- Init: grid collision 3, I1 = 30 + rand%45, a colour (.5, .1, .1) setup.
|
||||||
|
- State 4: Walk; d = CalcTargetPosition(10) - pos; v += unit(d.x, 3 d.y) / f with f *= .8 (net 1 a tick).
|
||||||
|
- Charge: |3 d.y| < 20 and FrameCount (+0x3a4) > 45 (no roll, every tick) -> face Isaac, Charge clip, sound 0x77,
|
||||||
|
TargetPosition = pos, grid collision 2 (walls on y only), state 8, velocity 0.
|
||||||
|
- Spawn: I1 counts down on idle ticks; below 0 -> I1 = 30 + rand%45, Spawn clip, state 13, velocity held at 0; on
|
||||||
|
"Shoot" (frame 27), unless a grid stands under it, sound 0x109 and a Brain (32.0). No enemy count test (callees
|
||||||
|
have no query).
|
||||||
|
- Charge (decompile partly mangled here): from WasEventTriggered("Shoot") (frame 21) velocity.x = +-25 every tick,
|
||||||
|
Charge Shake looping once Charge ends; past the room's edge + 160 it wraps to the other side - 160 (StateFrame++),
|
||||||
|
and it stops back at its TargetPosition.x after a wrap, grid collision 3, state 4.
|
||||||
|
- Port: charge line within 20 -> 6.67 and period 3 -> 1, first_cooldown [45, 0]; spawn period 7 / one_in 12 /
|
||||||
|
enemy_limit 6 -> period 1 / one_in 52 (the timer's mean), no limit, retention 0. Not ported: the y*3 weighting, the
|
||||||
|
wrapping 25 px/tick charge (still lunge 2 / .92 with Charge Shake), the over-a-grid test.
|
||||||
|
|
||||||
|
## fly_bomb: NpcAI::ENTITY_FLY 00506bd0 (819.0, 0x333). Changed
|
||||||
|
- Init: Color (0,0,0,1, offsets .1176); variant 1 (eternal) is invincible, orbits its parent 40 px at 5 deg a tick
|
||||||
|
and is launched at 15 when the parent goes.
|
||||||
|
- It runs the Level 2 Fly (0xd6) branch everywhere: target Isaac (IsFrame(3)), steering only on GetIntervalTicks(2)
|
||||||
|
(interval constant 0x00baa630 = 2), aim (dx - dy, dy + dx) with y * .5, stop distance 25, push min((|a| - 25) * .08,
|
||||||
|
1.2) doubled (types 0xd6/0xf9/0x333 without Skatole).
|
||||||
|
- Drift as every fly: frame%4 == 1: V1 = (RandomVector * .6 + V1) * .4; frame%3 == 2: room-edge nudges .06 and
|
||||||
|
v += 2 V1 / f, f *= .6. Wall bump: grid collision and rand%3 == 0 -> V2 = velocity resized to -(2 + rand*1.5),
|
||||||
|
added each tick, *.9, dropped below length 1.
|
||||||
|
- Touch: Entity_NPC::HandleCollision (asm 006cdd07): with Isaac (or, charmed, anything but its parent) and not
|
||||||
|
friendly: BombDamage(pos, 40, radius 60, line check, flags 4), explosion 1000.1, Remove (vtable +0x28).
|
||||||
|
- Death: a small bomb 4.14 with the fly's velocity, "Appear", fuse/timer (+0x410/+0x414) 60 - rand%15, its parent kept.
|
||||||
|
- State 16 (shot by a Blaster): Cannonball, speed set to 10 on launch, Deploy after 46 ticks or below speed 5,
|
||||||
|
bouncing off grids (reflect, sound 0x28).
|
||||||
|
- Port: acceleration 1 -> 2.4, distance_gain .08 -> .16 (the doubling), drift_radius .6 kept, drift_retention .8 -> .4.
|
||||||
|
Not ported: the 45-degree steer turn (pass3_b's steer_turn proposal), the wall bump, the delayed death bomb.
|
||||||
|
- Sibling check for the owners of level_2_fly / full_fly (pass3_b "matches"): they keep acceleration 1.2 / gain .08
|
||||||
|
and drift 1.2 / .8, but the same code doubles their push (2.4 / .16) and draws drift .6 / .4.
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
# Group g3 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
Hopper family, Clotty family, Dinga and Poison Mind, read for isaac-classic branch rif/monster-fidelity-8. Numbers are
|
||||||
|
exact from the decompile unless marked. The hopper records were ported from this routine in monster-fidelity-3
|
||||||
|
(spring hops) without notes; this pass re-read them.
|
||||||
|
|
||||||
|
## ministro: NpcAI::ENTITY_HOPPER 00526470 (305.0). Changed
|
||||||
|
- Shared hop (all types of the routine): state 3 waits stateFrame >= W (Eggy 8, Tainted Hopper 26, Raglings 15, else 0),
|
||||||
|
then picks a landing: r = 0 except Trite/Ragling (50u + 70u, 120 when controlled) and type 54 (50u); range
|
||||||
|
130 + 1.3r (x .7 for 29.2 and 246.1). Isaac (CalcTargetPosition(60)) farther than range -> a random spot r + 95 away;
|
||||||
|
else his spot + (his offset) * r / 200 (type 54 also + his velocity * 5); GetClampedPosition(5); a blocked cell
|
||||||
|
starts no hop. State 4: before Jump the pull is offset * .1 * .05 / friction, after it offset * .05 / friction, or
|
||||||
|
unit / friction within 30; collision 5/4 before Jump, 3/2 after (flies over rocks); done (to state 3) once the clip
|
||||||
|
is over and within 10, or slower than .75 / past 30 ticks on a 1 in 10. Friction *.7 every tick (end of the AI).
|
||||||
|
- Ministro (0x131): in state 3 with no target, ProjectileCooldown < 1, Isaac within 200 (40000) and
|
||||||
|
Room::CheckLine(mode 3) -> state 8 "Attack", cooldown 2. The cooldown only falls (-1 a tick) in state 3 while above 0,
|
||||||
|
and the hop pick runs on the same tick, so every shot is followed by exactly two hops.
|
||||||
|
- Shoot: sound 0x13e, FireBossProjectiles(5, pos + unit * 7, traj 10, Scale .5) and nothing else (the mode-1 pair at 7
|
||||||
|
is the path of the other types; 0x131 jumps past it). Flip X by the aim.
|
||||||
|
- Changed: removed the aimed pair, volley scale .5. The hop chain had next 3 with three attacks (out of range,
|
||||||
|
undefined behaviour: the loader only checks next lists): now shot -> hop [2] -> hop [1] -> idle.
|
||||||
|
|
||||||
|
## eggy: NpcAI::ENTITY_HOPPER 00526470 (29.2). Changed
|
||||||
|
- Wait 8, range * .7, Land: white creep 1000.25 scale .8 timeout 150 (not when friendly), SetGridPath 900; on Land
|
||||||
|
1 in 3 ends the hop with stateFrame 9999 (hops again at once). All matched.
|
||||||
|
- Death (state 5, stays alive at .1 hp, invincible, velocity holds it in place): Die clip (70 frames; Jump at 7
|
||||||
|
resets stateFrame to 0). Swarm spiders (884) spawn at stateFrame 2, 5, 8, 11, 14 (every 3 below 15), 19, 25, 31
|
||||||
|
(every 6 below 32), 45, 60 (every 15 below 61): 10, each in state 6 with a weighted hop (HopShort 5: speed 5-6,
|
||||||
|
Hop 9: 8-10, HopLong 7: 10-13) at a random angle. A regen champion's revives (+0xc76) make each spawn 1 in
|
||||||
|
min(3, revives + 1). Kill at the clip end.
|
||||||
|
- Changed: death_spawn count 4 -> 10, frame 8. Not expressible: spawns spread over 60 ticks, their outward hops.
|
||||||
|
|
||||||
|
## sticky_leaper: NpcAI::ENTITY_HOPPER 00526470 (34.1). Changed
|
||||||
|
- Big jump roll (type 0x22, tail of the AI): whenever the target is clear (each hop or big jump end, and idle ticks
|
||||||
|
whose landing pick was blocked), rand%7 == 0 -> state 6 to CalcTargetPosition(60) (FindFreePickupSpawnPosition 120
|
||||||
|
if blocked). BigJumpUp: friction *.8 before Jump; from Jump V1.X += .02 a tick, pos = lerp(pos, target, V1.X),
|
||||||
|
untouchable. BigJumpDown keeps lerping until Land: sounds 0x45 / 0xb2, black creep 1000.26 scale 2 timeout 300,
|
||||||
|
blood explosion, FireBossProjectiles(6, random, traj 10, Colorize (.5, .5, .5, 1), Scale .7). Plain Leaper (34.0):
|
||||||
|
FireProjectiles mode 6 at 9 (12 in hard / greedier).
|
||||||
|
- Hop Land: black creep scale 1.5 timeout 300.
|
||||||
|
- Changed: landing volley scale .7 (the unused speed 10 dropped: a random-direction FireBossProjectiles is 7).
|
||||||
|
|
||||||
|
## ragling / rag_mans_ragling: NpcAI::ENTITY_HOPPER 00526470 (246.0 / 246.1). Changed
|
||||||
|
- Wait 15, r = 50u + 70u, 246.1 range * .7. At each pick rand%3 == 0 (and not friendly) -> state 8 "Appear".
|
||||||
|
- Shoot: FireProjectiles(pos, unit * 7, mode 0) and (pos, -unit * 7, mode 0), params: Color tint (.5, 0, .5, 1),
|
||||||
|
BulletFlags 0x2800 (ORBIT_CW | NO_WALL_COLLIDE), TargetPosition = its position.
|
||||||
|
- Orbit flight (Entity_Projectile::Update, flags & 0x1800): d = pos - centre, t = perp(d) (negated for CCW),
|
||||||
|
v = normalize(t + d * .5) * |v| with OrbitDistance 0: speed constant.
|
||||||
|
- Changed: the shots (were two at 3, +-90 deg, x1.03 to 8) -> fan [1,0] / [-1,0] at 7, orbit clockwise, wall_free,
|
||||||
|
still. Tint left (colour of the Rebirth art).
|
||||||
|
- 246.1 death: state 16 (Die, invincible, regen via Rag Man), Regen in state 2: as before (death_link).
|
||||||
|
|
||||||
|
## pon: NpcAI::ENTITY_HOPPER 00526470 (840.0). Skipped (matches)
|
||||||
|
- r 0, range 130, far 95. A blocked landing, or one whose GridPath >= 200, is redrawn up to 10 times at 95 px a random
|
||||||
|
angle (Room::GetClampedPositionImpl). Land: red creep 1000.22 scale 1.25, blood explosion, SetGridPath 900. After
|
||||||
|
Land, each tick 2 in 3 marks the hop done (ends when within 10). Not expressed: the redraws, the early end.
|
||||||
|
|
||||||
|
## mega_clotty: NpcAI::ENTITY_CLOTTY 0050d370 (282.0). Changed
|
||||||
|
- Friction *.9 every tick; walking states also *.85 (after the move): .765. Walk: PathFinder::MoveRandomly (007e6300):
|
||||||
|
with no target a free point 40 px at a random angle; push unit * .5 * speedMult / friction; done (returns 1, clears
|
||||||
|
the target) within 3, on a grid hit, or below .1 speed squared on a 1 in 10. That is the engine's move hop
|
||||||
|
(wander.cpp hop_step). Every MoveRandomly arrival starts state 8 ("Attack"); V1.X = 45 while walking, -1 a tick in
|
||||||
|
state 8, which ends at the clip end or once V1.X <= 0 on rand%30 != 0 (about 46 ticks).
|
||||||
|
- Shoot (sound 0x30): (rand & 3) != 0 -> FireProjectiles mode 9 (10, 6): a ring of 6 at 10, CircleAngle rand*360-180.
|
||||||
|
Else rand%3 == 0 and fewer than 5 enemies -> rand%3 == 0 a Globin (24.0, ReGen, state 3) else a Clotty (15.0) at
|
||||||
|
FindFreePickupSpawnPosition(40); else 4 red creeps (1000.22) within 40 at a random angle, scale 1 + .5u, timeout 210.
|
||||||
|
Odds: ring 27/36, creep 6/36, clotty 2/36, globin 1/36.
|
||||||
|
- Death: 2 - revives Clotties at pos + 20 * a random unit each.
|
||||||
|
- Changed: move wander -> hop (.556 / .765), choice one_in 40 -> on_hop attacks tried in order creep (1 in 6),
|
||||||
|
spawn (1 in 10, enemy_limit 5, clotty 2 : globin 1), ring of 6 at 10 (was 8); 46 ticks, retention .9; creep
|
||||||
|
count 4, base 40, scale 1.25 (was one at 1.6); death_split offset 20, speed 0, random_axis.
|
||||||
|
- Not expressible: the spawn branch falling back to creep with 5+ enemies (here the ring), each child's own angle.
|
||||||
|
|
||||||
|
## clotty: NpcAI::ENTITY_CLOTTY 0050d370 (15.0). Skipped
|
||||||
|
- The Rebirth layer only adds floor_hazards (ignites into a Grilled Clotty); behaviour is Flash's Clotty.
|
||||||
|
|
||||||
|
## dinga: NpcAI::ENTITY_MEMBRAIN 0051c040 (223.0). Changed
|
||||||
|
- Friction *.8; walk PathFinder::MoveRandomly (.5 / .8 = .625), its arrival unused. Each tick rand%30 == 0 with fewer
|
||||||
|
than 8 enemies (not friendly) -> state 8 "Attack" until the clip ends, no walking.
|
||||||
|
- Shoot (sound 0x30): fewer than 6 enemies and rand%7 != 0 -> two Dips (217) at pos +- RandomVector * 30; else
|
||||||
|
FireProjectiles mode 8 (10, 0) (eight), Scale 1.4, Variant 3. Then every Dip (QuerySublist type 0xd9) within 150 gets
|
||||||
|
v += unit away * (150 - d) * .1 * speedMult / friction.
|
||||||
|
- Death: two Squirts (220) at +- a random unit * 10 (matched).
|
||||||
|
- Changed: move wander -> hop, choice options [0 x6, 1] (was 1:1), enemy_limit 6 (dips) / 8 (eight), eight at 10
|
||||||
|
(was 8) scale 1.4, attack retention .8 (was .7), dips spawn_offset 30, spawn_outward 12 (the push at 30).
|
||||||
|
- Not expressible: the push on older Dips.
|
||||||
|
|
||||||
|
## poison_mind: NpcAI::ENTITY_BRAIN 00512110 (301.0). Changed
|
||||||
|
- State 4 (0x12d branch): velocity *= .8, stateFrame -1 a tick; below 0 or on a grid hit, stateFrame = rand%90 and the
|
||||||
|
heading = an axis unit turned 45 deg (a random diagonal); velocity += heading * .5 (terminal 2.5).
|
||||||
|
- Every GetIntervalTicks(7, index % 7): P = Isaac + his velocity * 16u, clamped 20 in; d = pos - P turned 45 deg; if
|
||||||
|
|d.x| < 20 or |d.y| < 20 (on a diagonal through it), |d| < 200 and not friendly -> state 8, target = unit toward P.
|
||||||
|
- State 8: friction *.8, velocity += target / friction (net 1.25, terminal 6.25), until a grid collision -> state 4.
|
||||||
|
- Creep: green 1000.23 scale 1.23 every 12 ticks (24 with 5 or more enemies), also on a third interval when faster
|
||||||
|
than 3. Grid path 900 under it. Death (not friendly): Game::BombExplosionEffects(pos, 40, ...).
|
||||||
|
- Pass 1 had given it the Brain's axis-aligned walk and lane charges (the else branch, types 32/279). Changed: move
|
||||||
|
bounce (.3536 a side under .8: 2.5 along the diagonal), attack: Idle, period 7, line diagonal within 20 lead 8,
|
||||||
|
range 200, lunge 1.25 under .8 for up to 300 ticks, ends on a wall; creep periods 24 / [[5, 12]], fast_speed 3.
|
||||||
|
- Not expressible: the rand%90 heading redraws (bounce reflects off walls instead), the random 0-16 lead.
|
||||||
|
- Port follow-up: engine `bounce_redraw [1, 90]` (diagonal redrawn every 1 + random(90) ticks and on terrain hits) and `bounce_random`.
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
# Group g4 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
Death's Heads, wall creeps, round worms and the Gurgling, read for isaac-classic branch rif/monster-fidelity-8. These
|
||||||
|
records were ported in fidelity pass 1 with no notes. Numbers are from the decompile; speed convention as in
|
||||||
|
pass4_00.md (the engine brakes first, then pushes: engine push = Repentance push / friction * friction).
|
||||||
|
|
||||||
|
## deaths_head: NpcAI::ENTITY_DEATHS_HEAD 00532cf0 (212.0). Changed
|
||||||
|
- Init: state 4, grid collision 3; variants other than 1 and 4 get flags 1 / hi 8 and _isInvicible (touch-only,
|
||||||
|
initially_invulnerable). Velocity = a unit vector at rand * 2pi (a random diagonal start).
|
||||||
|
- Move (state 4): friction *= .9, then velocity += +-.45 / friction per axis by the sign of that axis (zero counts as
|
||||||
|
positive) = net .45 a tick under .9. Speed .5 -> **.45** (retention .9 kept); .5 under the engine's brake-first order
|
||||||
|
was a terminal of 5 instead of 4.5 per axis.
|
||||||
|
- Room clear: when GetAliveEnemyCount() < 1 (unless Room+0x7229 is set with Room+0x11ec >= 9: unread) and
|
||||||
|
not variant 1: state 0x12 (death), sound 0x13c, collision 0. Matches cleared {after 1, Death, dies}.
|
||||||
|
- Not expressed: the random start heading (the engine starts at rest, so the first push is always up-left: see
|
||||||
|
engine_g4 bounce_start). Cursed (212.2) is pass3_c, Brimstone/Redskull (212.3/.4) pass4_00.
|
||||||
|
- Port follow-up: engine `bounce_random` now starts every move-bounce Death's Head (212.0-212.4, 286.0) on a random unit heading, as Rep's init.
|
||||||
|
|
||||||
|
## dank_deaths_head: NpcAI::ENTITY_DEATHS_HEAD 00532cf0 (212.1). Changed
|
||||||
|
- Same move: speed .5 -> **.45**. Variant 1 is not made invulnerable and is excluded from the room-clear death; it
|
||||||
|
shuts doors (entities2 has no shutdoors="false"). Matches otherwise.
|
||||||
|
|
||||||
|
## flesh_deaths_head: NpcAI::ENTITY_DEATHS_HEAD 00532cf0 (286.0). Changed
|
||||||
|
- Same move: speed .5 -> **.45**. Type 0x11e is hurtable (no invulnerable flags), shutdoors false, dies on room clear.
|
||||||
|
- Death (dead, or state 0x12, unless flag 0x1000000): FireProjectiles mode 9 (7, 6) = **6 shots at 7** (was 8), with
|
||||||
|
ProjectileParams CircleAngle (+0x18) = rand * 360 - 180: the ring is turned at random. The random turn is not
|
||||||
|
expressible (engine_g4 death_volley angle_random).
|
||||||
|
- Port follow-up: the ring's random turn was already there: the port's circular volley (cirf) starts at random(pi).
|
||||||
|
|
||||||
|
## wall_creep / rage_creep / blind_creep: NpcAI::ENTITY_WALL_CREEP 0053c0d0 (240.0, 241.0, 242.0)
|
||||||
|
- Init: snaps to the nearest room wall (inner bounds +-5), I1 = 1 top, 2 bottom, 3 left, 4 right; V1 = (5, 0) or
|
||||||
|
(0, 5) along the wall. Velocity is set, not added (no friction): along the wall v = V1 toward the target x (y for
|
||||||
|
side walls) when more than 10 px off, else 0. Speeds: 240 **5**, 241 **2.5** (x .5), 242 **1.25** (x .25),
|
||||||
|
0x130 (304, The Thing) 5; the soy/ultra soy variants (240.1/.3) x .7. All three records match (speed 5 / 2.5 / 1.25,
|
||||||
|
retention 0). Side walls aim at Isaac's y + 5 (240), - 10 (241), + 15 (others): not expressed.
|
||||||
|
- Blind Creep (0xf2) never targets Isaac: it walks V1 * .25 and bounces at the wall ends (wall_wander), and it is the
|
||||||
|
only one that attacks off camera.
|
||||||
|
- Attack gate (all three): stateFrame counts down in state 4 only; at < 0, on camera (except 242), not
|
||||||
|
charmed/confused (flags 0x1000800) -> state 8, "Attack", stateFrame = **15 + rand % 45** (drawn as the attack
|
||||||
|
starts, counted after it ends). No alignment test for 240/241/242 (the 25 px test is 0x130's). Initial stateFrame 0:
|
||||||
|
it attacks on its first tick on camera. Data cooldown 15, cooldown_random [45, 1], cooldown_once matches.
|
||||||
|
- Attack state: velocity = targetPosition - pos with target = its spot at the attack start (it stands still).
|
||||||
|
- Wall Creep 240.0 Shoot (anm2 Attack 18 frames, Shoot on 10, 13, 16): FireProjectiles mode 0, velocity 8 straight out
|
||||||
|
of its wall (offsets (0,+-4..12) per wall). Rag Creep 240.2 adds BulletFlags 1 (SMART) and HomingStrength .8. Matches
|
||||||
|
(outward aimed, speed 8, one per Shoot).
|
||||||
|
- Rage Creep 241.0: at the attack start a following effect 1000.198 (charge glow) at its facing; on Shoot (frame 16 of
|
||||||
|
74) Entity_Laser::ShootAngle(variant 1 thick red, angle 90/-90/0/180 by wall, timeout **45**), laser +0x358 = 1000.
|
||||||
|
Variant 1 (split rage creep) fires two beams at +-30 degrees offset 2 px either side. Our package has a LaserEnd
|
||||||
|
event on 59 (a 43-tick beam). Changed: laser to LaserEnd -> **lifetime 45** from Shoot.
|
||||||
|
- Blind Creep 242.0 Shoot (Attack 18 frames, Shoot on 10): FireProjectiles mode **2** at 8 straight out = the centre
|
||||||
|
shot plus two at 0.9 x speed turned +-16 degrees. Changed: count 3 / spread .25 -> **fan [[1,0],[.8649,+-.2484]]**.
|
||||||
|
After every Shoot it reverses its walk on rand & 1 == 0 (not expressed).
|
||||||
|
|
||||||
|
## round_worm: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (244.0). Skipped (matches)
|
||||||
|
- It never idles: state 0 -> 6 (DigIn, 17 frames) -> 4 underground (invisible, collision 0) -> 8 DigOut (61 frames,
|
||||||
|
collision 4) -> 6 ... While underground, every tick (stateFrame < 1) it draws room centre + RandomVector * (60 + 250
|
||||||
|
rand), clamped 20, nearest free cell, and takes it on rand & 1 == 0 when the nearest player is 100-1000 px away.
|
||||||
|
Data: DigIn period 1 one_in 1, teleport mode far (130-1000 from Isaac): the closest built-in (pass2 tube_worm
|
||||||
|
proposed a "room" mode).
|
||||||
|
- Shoot (frame 38): target = Isaac + his velocity * 10 (the lead shortened to the wall trace - 8 when longer than 10
|
||||||
|
px), clamped 20; FireProjectiles mode 0 at **10** toward it, only with CheckLine(pos, target, 3). Matches (aimed 10,
|
||||||
|
aim_lead 10, sight).
|
||||||
|
|
||||||
|
## night_crawler: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (255.0). Changed
|
||||||
|
- Same never-idle dig loop: DigIn period 4 / one_in 10 / sight -> **period 1, no roll, no sight**.
|
||||||
|
- Shoot (frame 14 of DigOut): FireProjectiles mode 6 (cardinal four) at **10** with BulletFlags 0x800 = **ORBIT_CW**
|
||||||
|
and TargetPosition = its own position: the four shots spiral clockwise out about where it surfaced. No line test.
|
||||||
|
Changed: curve .05 -> **orbit clockwise** (the existing Rebirth ORBIT_CW shot).
|
||||||
|
|
||||||
|
## ulcer: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (289.0). Changed
|
||||||
|
- Same never-idle dig loop: DigIn one_in 25 -> **period 1, no roll**; teleport given mode **far** like its family.
|
||||||
|
- Shoot (frame 42 of 91), only while on camera: line = CheckLine(pos, Isaac + lead, 3). If (rand % 100 < 75 or no line)
|
||||||
|
and GetAliveEnemyCount() < **7**: spawn a Dart Fly 256.0 (flag 4 cleared) on itself. Otherwise
|
||||||
|
FireBossProjectiles(1, Isaac's position, trajectory 8) with +0x420 = 1: velocity 7 toward him plus a random up to
|
||||||
|
3.5, fall accel .32 + .8, fall speed 5 - 8 - rand * 24.
|
||||||
|
- Changed: the shot aimed 8 / fall -3 / .05 -> **boss_volley count 1, aim_speed 7, aimed_spread 3.5, fall_base -3,
|
||||||
|
fall_acceleration 1.12** (roundy's mapping), still gated enemies_above 6; spawn_limits 6 -> **7**. The 1 in 4 shot
|
||||||
|
instead of a fly while it sees Isaac is not expressible (engine_g4 spawn_or_shot).
|
||||||
|
|
||||||
|
## gurgling: NpcAI::ENTITY_MAGGOT 0052db50 (237.0). Changed
|
||||||
|
- Walk and charge as gurgling_boss (pass4_00): MoveRandomlyAxisAligned .6 under .85 (matches roam .6 / .85); charge on
|
||||||
|
IsFrame(4, index), within 20 on an axis, dist < 200, Isaac + vel * rand * 16; AddVelocity(axis * 1.3) under f *= .9.
|
||||||
|
Changed: lunge 1.3 -> **1.17** (the pass4 net push; terminal 11.7 instead of 13). The prediction lead is not
|
||||||
|
expressed in this attack form.
|
||||||
|
- Stop (state 3, f *= .85): on Shoot (frame 7 of 20) variant 0 plays 0xb2 and fires FireProjectiles mode 9 (7, 6) =
|
||||||
|
**6 shots at 7** (was 7.5).
|
||||||
|
- Creep: only while speed^2 > 9 (faster than 3, so mostly charging), every GetIntervalTicks(5): red creep 1000.22 at
|
||||||
|
sprite scale 1.23, tinted by its champion colour. Changed: creep period 6 -> **period 5, min_speed 3, scale 1.23**.
|
||||||
|
Every 5 ticks above that speed it also MakeSplat(.2 + .39 rand) (cosmetic, not ported).
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# Group g5 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
Read for isaac-classic branch rif/monster-fidelity-8. All entities2.xml frictions here are 1, so the AI's friction
|
||||||
|
multipliers are the whole brake. Engine proposals: the parent's engine_g5 list (own-spawn cap, aim at chain start,
|
||||||
|
aimed creep steps, Isaac-centred teleport, untouchable windows without events).
|
||||||
|
|
||||||
|
## dip: NpcAI::ENTITY_DIP 00534860 (217.0). Changed
|
||||||
|
- State 3 (Idle): rand%10 == 0 per tick -> state 4. Impulse at a random unit vector (MusicManager::RandomVector) of
|
||||||
|
speed rand*5 + 5 (x2 for corn 217.1), added / friction, then friction *= .8 on that tick. Feared/confused: away from
|
||||||
|
Isaac instead.
|
||||||
|
- State 4 (Move): friction *= .95 each tick, back to 3 when speed^2 < 1. FlipX by velocity. rand%10 MakeSplat .2-.7.
|
||||||
|
- Port: impulse lands one tick later under .95 instead of .8; impulse 5 / spread 5 -> **4.21 / 4.21** (x .8/.95), which
|
||||||
|
gives the same per-tick speeds (.8I, .76I, ...). Roll, retentions .8/.95 and end_below 1 already matched.
|
||||||
|
- The friendly-dip conversion (Dirty Mind 0x240 / trinket 0xa3 -> ThrowDip) is the trinket's (see trinkets.json).
|
||||||
|
|
||||||
|
## squirt / dank_squirt: NpcAI::ENTITY_SQUIRT 00535280 (220.0 / 220.1). Changed
|
||||||
|
- Every tick friction *= .95 first. State 3: rand%5 == 0 and IsFrame(5) -> state 8, then friction *= .7 (.665 idle).
|
||||||
|
- State 8 Attack01: on Slide, velocity += unit(Isaac - pos) * 20 / friction (net +20 under .95). Clip end -> state 4.
|
||||||
|
- State 4 Slide: V1.X += 1 a tick; while V1.X < 10 (9 ticks) velocity += unit(velocity) * .5 / friction; after that,
|
||||||
|
speed^2 < 1 -> state 3, speed^2 < 9 -> friction *= .8. Five or more ticks against a wall (I1) -> friction *= .85.
|
||||||
|
- Port: lunge_ticks 10 -> **9**. Impulse 21.05 / lunge .526 under .95 already give the net 20 / .5; pulse .8 below 3 matches.
|
||||||
|
- Dank (220.1): every 3rd room frame in state 4 (or state 8 after Slide) black creep 1000.26, sprite scale (1, 1),
|
||||||
|
timeout 60. creep scale .8 -> **1**. Death: two Clots 15.1 at pos +-10 on x, velocity 0: death_split speed 3 -> **0**
|
||||||
|
(the fixed x axis is not expressible; ours splits across the line to Isaac). 220.0 death: two Dips at +-10 x (as before).
|
||||||
|
- Not ported: the five-wall-tick .85 brake; the slide pushing along its own velocity (ours along the aim).
|
||||||
|
|
||||||
|
## wizoob: NpcAI::ENTITY_WIZOOB 005374a0 (219.0). Changed (rebuilt)
|
||||||
|
- Init: state 13 AppearDown (no collision), then 16 VanishDown, then 3: invisible, collision 0, grid class 3.
|
||||||
|
- State 3 (hidden): StateFrame counts down; once < 1, rand%30 == 0 per tick: moves to
|
||||||
|
Room::FindFreePickupSpawnPosition(Isaac, 120), TargetPosition = Isaac, I1 = way to Isaac (0 left 1 up 2 right 3 down),
|
||||||
|
state 4.
|
||||||
|
- State 4 Appear<way> (visible, still untouchable) -> state 8 Shoot<way> (collision 2): on Shoot (frame 13),
|
||||||
|
FireBossProjectiles((rand&3) + 6, TargetPosition, traj 7, params {BulletFlags |= 0x10 (GHOST), VelocityMulti 1.5,
|
||||||
|
FallingSpeedModifier +10, HeightModifier = ShootPos.y / .65 (-18 / .65), PositionOffset x = ShootPos.x / .65}).
|
||||||
|
-> state 9 Vanish<way> -> state 3 with StateFrame 60. Friction *= .1 every tick.
|
||||||
|
- FireBossProjectiles (006ccdd0), read for this: per shot velocity = 7 * unit(target - pos) + random angle * rand * 3.5
|
||||||
|
(target (0,0): random angle * 7), FallingAccel = traj * .1 + .32, FallingSpeed = 5 - rand*30*.8 - traj, scale
|
||||||
|
.9 + (rand&1)*.4 + rand*.05 (x params Scale, x .8 for flag 0x40000000000000), then params added, velocity *= VelocityMulti.
|
||||||
|
- Port was: visible standing in ShootDown, Shoot -> Vanish -> Appear(teleport, cooldown 60). Its Appear had no release
|
||||||
|
event, so the teleport never ran, and the boss volley used speed 7 / spread 3.5 / fall 5 / .32.
|
||||||
|
Now: `hidden` (not drawn, no contact while idle) on an unused idle pose (Bestiary), behaviour teleport near with snap on
|
||||||
|
that pose (re-drawn every hidden tick), spawn clip AppearDown -> VanishDown chain (spawn_clip attack 3), rolled Appear
|
||||||
|
(period 1, one_in 30) -> Shoot (boss volley 6 + 0..3, volley aim_speed **10.5**, aimed_spread **5.25**, fall_base **8**,
|
||||||
|
fall_acceleration **1.02**, over_terrain kept for GHOST) -> Vanish with cooldown 60. retention .8 -> .1.
|
||||||
|
- Not expressible: aiming at Isaac's position from the teleport tick (ours aims at release), Isaac-centred spot search,
|
||||||
|
untouchable during Appear, HeightModifier.
|
||||||
|
- Port follow-up: engine shot `aim_start` (aims at the spot Isaac held as the Appear attack began, kept across hand-overs) on its Shoot volley.
|
||||||
|
|
||||||
|
## swinger: NpcAI::ENTITY_SWINGER 00536d00 (216.0, head 216.1, cord 216.10). Changed
|
||||||
|
- Body: friction set to .7 each tick, then FindGridPath(Isaac, .25, 100, 1). FindGridPath (007e33c0) itself does
|
||||||
|
friction *= .7 and pushes min(d/10, 2) * speed / friction, so the net is v' = .49 v + 2 * .25.
|
||||||
|
The engine's path does v *= retention then v = .7 v + min(d/10, 2) * speed, so speed is the call's argument:
|
||||||
|
.357 -> **.25** (retention .7 kept).
|
||||||
|
- Head 216.1: cord length V2.Y grows 100/60 a tick to 100; angle V1.X += (V2.X + 1) * pi / 50 a tick (uncontrolled
|
||||||
|
V2.X = 0: .0628); velocity = (body + cord) - pos, friction .7. swinger_head's orbit radius 100 / spin .0628 /
|
||||||
|
growth 1.67 match (its own record was not changed). Head gone -> body becomes Globin (24); body gone -> head Maw (26). 12 cord links (216.10).
|
||||||
|
|
||||||
|
## fat_sack: NpcAI::ENTITY_FAT_SACK 00530a80 (209.0). Skipped (matches)
|
||||||
|
- Walk FindGridPath(target, .3, 900, 1), no brake; rand%50 jump (sound 0x26) at Isaac + vel*10 (free spot near if
|
||||||
|
blocked). Jump: friction .8, collision 0; from StateFrame 11 V1.X += .02 (cap 1), pos lerps to the target.
|
||||||
|
Land: friction .7, Splash: FireProjectiles mode 9 (12, 6) = ring of 6 at 12, 7 red creeps 1000.22 within rand*50,
|
||||||
|
scale 2. Hit event: collision back. Death: health > -25 and rand%3 == 0 -> Morph 210.0 (Blubber).
|
||||||
|
- All matched. Left: untouchable through Jump (the clip has no events for untouchable windows).
|
||||||
|
|
||||||
|
## meatball: NpcAI::ENTITY_MEATBALL 00541ce0 (290.0). Changed (rebuilt)
|
||||||
|
- Walk: PathFinder::MoveRandomly (007e6300: 40 px hops to free random points, push .5 / friction, ends within 3 px,
|
||||||
|
on a wall, or slow with rand%10 == 0) = the engine's **move hop**, speed .5; friction .8 always. Was wander .5.
|
||||||
|
- Roll: Isaac within 300 (dist^2 < 90000), CheckLine, rand%20 == 0 per tick, ProjectileCooldown < 1 (it counts down only
|
||||||
|
while walking) -> Charge (cooldown 90). Charge end: rand&1 picks Shoot1 or Shoot2 (aim = unit to Isaac).
|
||||||
|
- Shoot1: every tick from Shoot (6) to before Stop (27): FireBossProjectiles(1, (0,0), traj 10) -> a random-angle
|
||||||
|
shot at 7, fall -5 - rand*24, accel 1.32.
|
||||||
|
- Shoot2: every tick from Shoot (6) to before Stop (12): red creep 1000.22 scale 1 at pos + k*25*aim (k from 0).
|
||||||
|
- Death: Redirect -> Morph into Host (27) with full health (death_spawn host kept).
|
||||||
|
- Now: Charge (period 1, one_in 20, range 300, sight) -> next [Shoot1, Shoot2]; Shoot1 boss volley 1 shot, spread 0
|
||||||
|
(radial 7), on Shoot until Stop, fall_base -5 / accel 1.32; Shoot2 creep Shoot..Stop along [125, 0]; both cooldown 90.
|
||||||
|
Was: two separate rolls (period 5, 1/8 and 1/7, range 220, cooldown 40), Shoot1 a 10-shot ring at 3, Shoot2 gated on
|
||||||
|
Isaac's row. Left: the creep line aimed at Isaac (ours horizontal toward his side, random share, one more puddle).
|
||||||
|
- Port follow-up: engine creep `aimed` + `stepped`: Shoot2 is now the aimed line, along [150, 0] (puddle k at 25k toward where Isaac stood; one puddle more than Rep, Stop's frame included).
|
||||||
|
|
||||||
|
## mobile_host / flesh_mobile_host: NpcAI::ENTITY_MOBILE_HOST 005321d0 (204.0 / 247.0). Changed
|
||||||
|
- Walk: FindGridPath(Isaac, .5, 300, 1), friction .8 (path .5 / .8 match). 204 (subtype != 99) is closed (flag 0x10)
|
||||||
|
while walking; closed hits are absorbed and add (int)(dmg + .5) / 2 to StateFrame (cap 10), > 20 damage plays Bombed.
|
||||||
|
- Roll, while StateFrame < 1: rand%3 == 0 -> ProjectileCooldown-- (only on those ticks); at <= 0,
|
||||||
|
IsTargetInAttackRange(false, 7) (006cae60: IsFrame(7), dist < 240 (DAT_00baaad4), CheckLine) -> Shoot, cooldown 70.
|
||||||
|
The cooldown also counts down every tick of the 61-frame Shoot clip, so ~9 are left, spent at 1/3 a tick: ~27 idle ticks.
|
||||||
|
- Shoot: friction *= .5 (was .7), hurtable from Destructible (10) to Invincible (53) (guarded open [11, 54] matches),
|
||||||
|
on Shoot (24): FireProjectiles mode 2 (204) / mode 5 (247) at 7 * unit(Isaac - pos), default params.
|
||||||
|
Mode 2: [1, 0] and .9 * (.961, +-.276) = **[.8649, +-.2484]**; mode 5: [1,0], [.978, +-.208], [.914, +-.407].
|
||||||
|
- Port: speed 7.49 -> **7**, fans as above (204 was [.8, +-.2], 247 had rotated 4-term terms), attack retention **.5**,
|
||||||
|
attack cooldown 70 -> **27** (204; 247 had none -> 27).
|
||||||
|
|
||||||
|
## portal: NpcAI::ENTITY_PORTAL 00543720 (306.0). Changed
|
||||||
|
- Init: state 3, I2 = 15, I1 = rand%5 + 1 spawns (spawn_total 1 + random 4 matches). Removed at once on LevelStage 9
|
||||||
|
(Blue Womb) and 11+ other than 12 (the Void uses the room config's stage).
|
||||||
|
- State 3: when I2 < 1, count its own live enemy spawns (SpawnerEntity == it); < 3 -> spawn (state 8) and I2 = 90 + rand%60,
|
||||||
|
else I2 = 60 + rand%30. Spawn: RandomInt(7) from the table at 0x00b613e0 (7 per group) by stage: 1-2 [10, 217, 85,
|
||||||
|
244, 16, 29, 18], 3-4 [25, 61, 26, 234, 258, 208(.1 Pale Fatty), 23], 5-6 [24, 41, 34, 227, 212, 229, 32], 7-8 [32, 15,
|
||||||
|
58, 56, 59, 55, 204], Cathedral (and default) [38, 55.2, 86, 90, 260.10, 219, 86], Sheol [259, 252, 225, 55.1, 278, 258,
|
||||||
|
55.1], Downpour [10, 810, 814, 813, 817, 15, 806], Mines [10, 810, 870, 813, 817, 872, 806]. Spawned at its own
|
||||||
|
position, then a shockwave; I1-- and it dies at 0. Friction .7, position pinned.
|
||||||
|
- Port: period 7 / one_in 8 -> first_cooldown [15, 0], period 1, cooldown 90 + cooldown_random [60, 1] once,
|
||||||
|
spawn_offset 0; chapters 3-4 gain fat_bat; chapter 9 (Sheol with Cathedral as its alt) is the union of both lists with
|
||||||
|
Rep's repeats (Imp, Black Globin and Lil Haunt added). Left: the own-spawn cap of 3 (ours enemy_limit 5 of the room),
|
||||||
|
the 60-89 retry while capped, Sheol vs Cathedral pools apart, Downpour/Mines pools.
|
||||||
|
- Port follow-up: engine `spawn_cap {below, own}` counts the actor's own live spawns (each spawned actor keeps its spawner's serial): Portal below 3, Lil Portal below 4, replacing enemy_limit 5. The capped retry delay is not ported (it retries every tick).
|
||||||
@@ -0,0 +1,158 @@
|
|||||||
|
# Group g6 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
What each routine does, as read for isaac-classic branch rif/monster-fidelity-8. Numbers are exact from the decompile
|
||||||
|
unless marked otherwise. `./decompile.sh 0x<addr>` reprints the code.
|
||||||
|
|
||||||
|
## moms_hand: NpcAI::ENTITY_MOMS_HAND 00533b80 (213.0). Changed (grab reach)
|
||||||
|
- Init: state 4, StateFrame = -(rand % 150), JumpDown held on frame 0, collision classes 0, shadow 0; Mom's laugh
|
||||||
|
(sound 0x54) and ShakeScreen(10).
|
||||||
|
- State 4 (shadow): StateFrame +1 a tick; shadow size = StateFrame / 90 * .4333 (capped). While StateFrame < 78 it is
|
||||||
|
put on Isaac + (0, 1) each tick (CalcTargetPosition when charmed/confused/feared). At StateFrame > 89: sound 2,
|
||||||
|
state 7, JumpDown. So a drop comes 90 ticks after each JumpUp (first 90 + rand%150) and tracking stops 12 ticks
|
||||||
|
before it: our first_cooldown [90, 150], cooldown 90 and track_stop 12 already match.
|
||||||
|
- State 7 (JumpDown, 18 frames, Land on 12): Land -> sound 0x30 and EntityCollisionClass 4; end -> state 3 Stunned.
|
||||||
|
- State 3: StateFrame >= 51 -> state 6 JumpUp (Stunned 2-frame loop, 51 ticks; ours repeat 25 = 52 frames, kept).
|
||||||
|
- State 6 (JumpUp, Jump on 11): Jump -> collision 0, shadow * .7; end -> state 4, StateFrame 0.
|
||||||
|
- Grab: Entity_NPC::HandleCollision 006cd410 (asm 006cf8ad): type 0xd5 touching a player while in state 7 (after Land,
|
||||||
|
frames 12-17) stores I1/I2 = the player's type/variant and sets state 16. State 16 plays Grab (invulnerable, health
|
||||||
|
restored); at its end, I1 == 1 (a player) and I2 == 0 -> Game::StartRoomTransition(starting room), players' held
|
||||||
|
items dropped.
|
||||||
|
- Changed: grab range 40 -> 50 (collision radius 40 + Isaac's 10, centre to centre). Not expressible: the grab staying
|
||||||
|
live for the 6 ticks after Land (ours tests the Land tick only); the Grab clip before the teleport.
|
||||||
|
|
||||||
|
## moms_dead_hand: NpcAI::ENTITY_MOMS_HAND 00533b80 (287.0). Changed (death spiders)
|
||||||
|
- Same machine as Mom's Hand without the grab (HandleCollision only grabs for 0xd5).
|
||||||
|
- Land (type 0x11f): 3 + (rand & 1) SHOCKWAVE_DIRECTIONAL effects (1000.72), spawner = the hand, angle field +0x474
|
||||||
|
= 0, 360/n, ... from 0 deg: our bolts directions {count 3, count_random 1, angle 0} match. The wave's own stepping is
|
||||||
|
in Entity_Effect::Update (does not decompile), so spacing 30 / period 3 / offset 40 are unverified.
|
||||||
|
- Death (_dead, type 0x11f): (rand & 1) + 2 spiders, each ThrowSpider'd (height -30) to a free spot rand * 80 from it,
|
||||||
|
whatever the overkill. Was: 2 spiders within 20, none on overkill 20. Now: death_spawn throws 2 spiders (radius 80)
|
||||||
|
plus a 1 in 2 third (one_in 2, overkill_limit 1000000, radius 80; placed, not thrown).
|
||||||
|
|
||||||
|
## revenant: NpcAI::ENTITY_REVENANT 004ecc10 (841.0; 841.1 Quad Revenant shares it). Changed
|
||||||
|
- Friction * .8 every tick in every state (so attacks keep .8 too). State 4: MoveRandomlyAxisAligned(.8); a 1 in 3
|
||||||
|
sound 0x74 on the interval tick. StateFrame < 0 counts up (the cooldown).
|
||||||
|
- Attack test, every tick once StateFrame >= 0: Isaac within 256 (a plain distance, not squared), the unit way to him
|
||||||
|
dotted with its axis-aligned rounding > .9 (he stands within 25.8 deg of a row or column through it), and
|
||||||
|
Room::CheckLine mode 3. V1.X = the axis' angle (the head's aim), state 8.
|
||||||
|
- State 8: AttackStart<dir> (17 frames, Shoot on 12): on Shoot sounds 0x131/0x130 and StateFrame = 60; then Attack<nn>
|
||||||
|
overlay loops. Each tick StateFrame -1; on even StateFrame one projectile (four at 90 deg for 841.1) at
|
||||||
|
V1.X + (rand - .5) * 10 deg, speed 8, Spawn(9, 2) fire (stage colour), FallingSpeed * .4. The head angle V1.X
|
||||||
|
approaches (approach_angle 00682a50) Isaac + his velocity * .1 * distance by 5 deg a tick (841.1: +3 deg a tick, a
|
||||||
|
spin). The Attack nn overlay is chosen from V1.X: floor((90 - a) / 30 + .5), 12 poses (3 for 841.1).
|
||||||
|
- StateFrame < 1: AttackEnd<dir>, then state 4 with StateFrame = -60 - rand%30.
|
||||||
|
- Changed: speed 1 -> .8; range 160 -> 256, period 4 -> 1; retention .5 (start 0) -> .8 in all three clips;
|
||||||
|
shots every other frame (on 1, 3, 5, 7, 9 of the 10-frame loop) for 6 plays (repeat 4 -> 5) = 30 shots, speed
|
||||||
|
6 -> 8; cooldown 60 + random(30) after AttackEnd (was none).
|
||||||
|
- Not expressible: the 25.8 deg axis cone (proposal axis_cone in the port's engine_g6.md), the head turning 5 deg a
|
||||||
|
tick (shots aim straight at Isaac), the +-5 deg jitter, the lead. The stream starting on AttackStart's frame 12
|
||||||
|
rather than after the clip (5 ticks later here).
|
||||||
|
- Port follow-up: engine attack `axis_cone` (max(|ux|, |uy|) > cos) at .9 on 841.0 and 841.1.
|
||||||
|
|
||||||
|
## coal_spider: NpcAI::ENTITY_ROCK_SPIDER 004f9ad0 (818.2). Changed (wake roll; also rock_spider 818.0)
|
||||||
|
- State 16 (IdleRock): falls in on V1.X (+.5 a tick, bounce * -.3), and wakes (state 7 Appear, then 3) once its grid
|
||||||
|
collision class is 5 (landed), |V1.X| < .6, speed < 2 and rand & 3 == 0: a 1 in 4 per tick. Our phase gate was
|
||||||
|
`not_one_in 4` (3 in 4); now `one_in 4`, the same fix made to rock_spider (pass2_misc2's record).
|
||||||
|
- State 3: friction * .6; StateFrame +2 a tick for variants 1/2 (+1 for 0, then +1 more on a 1 in 2 when odd, which never
|
||||||
|
happens at +2); at 12, 24, 36: variants 1/2 draw a random way 20 px clear on rand & 3 == 0 (variant 0 rand % 6), else
|
||||||
|
toward Isaac's CalcTargetPosition(60) (FindGridPath when no line) turned (rand - .5) * 30 deg; push 3 * 1.8 = 5.4 a
|
||||||
|
tick (1.6 when spawned by 0x38b; variant 1 5.1) while a way is set; reset at 48. Our burst {cycle 48, rate 2, at
|
||||||
|
[12, 24, 36], random_one_in 4, jitter 15} and speed 3.24 (5.4 under .6) match.
|
||||||
|
- With Bursting Sack (collectible 0x179 = 377, any player: FirstCollectibleOwner) the random way is never drawn (always at
|
||||||
|
Isaac), and the push is 3 for every variant: not ported.
|
||||||
|
|
||||||
|
## quake_grimace_804_0_3 (and 804.0.0/.1/.2): NpcAI::ENTITY_QUAKE_GRIMACE 004f8960 (804.0.subtype). Changed (timing)
|
||||||
|
- Init: invulnerable, state 3 with StateFrame 10; anchored on its cell (velocity = cell centre - pos each tick).
|
||||||
|
- State 3: Idle, StateFrame -1 a tick, at < 1 state 8. State 8: Slam (91 frames, Hit on 47): Hit -> sound 0x34,
|
||||||
|
ShakeScreen(16), one SHOCKWAVE_DIRECTIONAL (1000.72) at the angle table 00b60b68[min(subtype, 3)] = 180, -90, 0, 90
|
||||||
|
(our bolts angles 180/270/0/90 match). Clip end -> Idle, StateFrame 10. So it slams 10 ticks after spawning and every
|
||||||
|
101 ticks after.
|
||||||
|
- Room cleared (room flag bit 1) in states 3/8 -> CloseEyes (state 16): our cleared_room_create_types.
|
||||||
|
- Was period 90 (a slam on ticks that are multiples of 90, so every 180 ticks behind a 91-tick clip). Now period 1,
|
||||||
|
cooldown 10, first_cooldown [10, 0], for all four subtypes.
|
||||||
|
|
||||||
|
## greed_gaper: NpcAI::ENTITY_GREED_GAPER 005a6b80 (299.0). Changed (Flash ground_chaser -> scripted path)
|
||||||
|
- Init: head overlay Head1..Head4 by npc->_index & 3 (the entity index, not the seed), state 4. Hits from its own type
|
||||||
|
are zeroed (greed gapers do not hurt each other).
|
||||||
|
- State 4: AnimWalkFrame(WalkHori, WalkVert, .1); field 0xc34 = .6; FindGridPath(CalcTargetPosition, .6, 900, 1)
|
||||||
|
(EvadeTarget with friction * .8 while feared/confused-off-target flags 0x1000800); a 1 in 30 groan (0xa5) on its
|
||||||
|
groan ticks. No attack: the coin theft is the player's TakeDamage from this source (sins.cpp coinzz in the port).
|
||||||
|
- Was the Flash gaper model (ground_chaser acceleration .6). Now scripted move path .6, retention 1 (the convention
|
||||||
|
of pass 1's Rebirth walkers), idle Head1, spawn clip HeadAppear, groans kept.
|
||||||
|
- Not done: the head picked by index & 3 (always Head1).
|
||||||
|
|
||||||
|
## poot_mine: NpcAI::ENTITY_POOT_MINE 00562290 (875.0). Changed (poots only when hit)
|
||||||
|
- Friction * .7 every tick. No timed attack: a tick it takes damage (field 0x14 > 0) sets the way = unit(pos - the last
|
||||||
|
hit's source position) (random if they coincide) and, in state 3, state 8 with PootOverlay, V1.Y = 4.
|
||||||
|
- PootOverlay (20 frames, Shoot on 2): Shoot -> sound 0x25, a gas cloud 1000.141 drifting at -2 * way (toward the
|
||||||
|
attacker; its timeout fields 0x45c/0x460 = -1), every entity but itself within 60 of pos - 40 * way gets velocity
|
||||||
|
-10 * way (a one-off shove), six 1000.99 dust puffs. From Shoot on: a wall hit reflects its velocity (1.8 * normal
|
||||||
|
part), and each tick velocity += V1.Y * way / friction, V1.Y *= .8: a jet away from the attacker of net 4, 3.2,
|
||||||
|
2.56 ... a tick under .7 (peak about 6.8 px a tick, about 67 px in all). Clip end -> state 3.
|
||||||
|
- Death (not friendly-flag 0x1000000): BombExplosionEffects(pos, 25 damage, radius scale 1): a real bomb blast.
|
||||||
|
- Was a 1 in 3 every 30 ticks poot with no movement. Now: hurt-gated (attacks[].hurt), period 1; lunge -2 for
|
||||||
|
lunge_ticks 10 (away from Isaac: about the same peak 6.5 and 67 px); retention .8 -> .7; death blast player_damage
|
||||||
|
.5 -> 1 (as the other enemy blasts).
|
||||||
|
- Not expressible: away from the hit's source rather than Isaac; the decaying jet (lunge is flat); the wall reflect; the
|
||||||
|
one-off shove of 10 near the attacker; the cloud drifting.
|
||||||
|
|
||||||
|
## black_goat: NpcAI::ENTITY_GOAT 004f2c20 (891.1). Changed (brought in line with goat, pass3_b, plus its own volleys/laser)
|
||||||
|
- Same squad code as Goat (891.0, see pass3_b.md): FindGridPath .8 under * .97, the dash (rand & 3 == 0, |dy| < 24,
|
||||||
|
CheckLine; push 10 a tick under .7 -> lunge 7, ends on a blocked cell ahead, ProjectileDelay 45) and the shot
|
||||||
|
(IsTargetInAttackRange(1, 7): period 7, range 120, sight; brake .6; ProjectileDelay 45). Copied goat's data
|
||||||
|
(was wander .5, a range-300 enemy_limit-3 repeat-on-speed dash, a 1 in 6 / period 5 / range 200 volley).
|
||||||
|
- Variant 1 volleys: Shoot FireProjectiles mode 3 (0, +-24 deg: count 3 spread .4189), Shoot2 mode 4 (+-8 deg at full
|
||||||
|
speed and +-24 deg at .9 of it: count 4 spread .2793), at 10 (was 3 / 4 shots, spread .2, speed 7). The outer two's
|
||||||
|
.9 speed is not expressible.
|
||||||
|
- Brimstone (variant 1 only): a goat in state 4 with Isaac within 20 on either axis, on rand % 12 == 0 and the squad
|
||||||
|
leader's I2 >= 0, sets the leader's I2 = 8; the leader then puts every on-screen goat of its squad in state 4 into
|
||||||
|
state 9 (Attack2, with four warning effects 1000.198 each) and I2 = -90 (counts back up: a 90-tick squad cooldown).
|
||||||
|
Attack2 (54 frames, Shoot 4 = sound, Shoot2 31): four ShootAngle(variant 1, 0/90/180/270, timeout 15, PositionOffset
|
||||||
|
(0, -18)) with _scale .75; end -> ProjectileDelay 60, brake .6.
|
||||||
|
Now: period 1, one_in 12, alignment 20 (no range), laser from Shoot2 with lifetime 15, width 19 (25 * .75), cooldown 60.
|
||||||
|
- Not expressible: the squad roles (only the nearest dashes, the next shoots, the rest evade: pass3_b's `squad`
|
||||||
|
proposal), the shared laser of every Black Goat at once and its squad cooldown, the warning effects.
|
||||||
|
|
||||||
|
## peeping_fatty: NpcAI::ENTITY_PEEPER_FATTY 005562b0 (835.0; its eyes 835.10 run in the same routine). Changed
|
||||||
|
- Init: state 4, ProjectileCooldown 60 + rand%150; two eyes 835.10 spawned at (-+30, +30), linked both ways.
|
||||||
|
- State 4: anim_walk_frame_4dir. Movement: if an eye holds a seen target (the eye's field +3000, nearest wins),
|
||||||
|
FindGridPath to it at min(distance / 100, .5) (so .5 beyond 50 px); else PathFinder::update_chase_movement 007e6b90:
|
||||||
|
friction * .6, push 1.2 along a heading that eases toward a target heading, redrawn every 45 + rand%120 ticks (and on a
|
||||||
|
1 in 4 when it hits a wall, reflected). A 1 in 40 sound 0xa7. Once the cooldown is out: rand % 60 == 0, or
|
||||||
|
IsTargetInAttackRange(no lead, IsFrame 7, range 1000, CheckLine mode 3) -> state 8.
|
||||||
|
- State 8 (Attack<dir>, 33 frames, Shoot on 21): friction * .4; Shoot -> Game::ButterBeanFart(pos, 120) and
|
||||||
|
FireProjectiles mode 9 (8, 6) = a ring of 6 at speed 8. End -> cooldown 60 + rand%150.
|
||||||
|
- Eye (835.10): friction .95; it looks along its angle (field 0xc34, starts 90) for a target within a .85 cone (Isaac
|
||||||
|
within 200, or another entity more than 120 from the fatty), else wanders to points 200 out on its side
|
||||||
|
(+-110 deg) every 15 + rand%60 ticks; tied to the fatty by a cord (pulled back past 75 px at .03 a tick of slack).
|
||||||
|
- Changed: move chase .3 / .8 -> path .5 / 1; attack period 7 with sight and range 1000 (was range 90, 1 in 4);
|
||||||
|
cooldown 60 + random(150) drawn once, first_cooldown [60, 150]; retention .5 -> .4; ring speed 7 -> 8; fart radius
|
||||||
|
85 -> 120.
|
||||||
|
- Not expressible: chasing only what an eye sees and the blind heading wander otherwise; the 1 in 60 no-sight attack.
|
||||||
|
|
||||||
|
## evis: NpcAI::ENTITY_EVIS 004df3f0 (865.0; the guts 865.10 in the same routine). Changed
|
||||||
|
- Friction * .8 every tick past init. State 3: AnimWalkFrame, MoveRandomlyAxisAligned(.7). On IsFrame(3): with Isaac
|
||||||
|
|dx| < 30 (any distance), or |dy| < 30 and within 300 -> state 8, V1 = the offset to him.
|
||||||
|
- State 8 (Attack01<dir>, Shoot on 16, Pull on 33): Shoot spawns the guts 865.10 10 px out toward Isaac + his velocity
|
||||||
|
* .1 * distance, clamped to 50 deg either side of the cardinal way to him; sound 0xe2; cord length (0xc34) = 160.
|
||||||
|
Clip end -> state 3.
|
||||||
|
- Guts: fly out and back over 15 ticks along that way, (1 - (2t - 1)^n) * 200 from the Evis; a player touching their
|
||||||
|
capsule is caught (sound, ShakeScreen 6) and then dragged with them (velocity = player - guts). A miss: removed.
|
||||||
|
- While caught (state 7): friction * .8 again (.64), Pull<dir> loops; the cord shrinks .33 a tick to 10; past it, the
|
||||||
|
excess * .14 is added to Isaac's velocity toward the Evis (and .25 of that taken off the Evis). It lasts while the guts
|
||||||
|
hold him (they go only with the Evis).
|
||||||
|
- Changed: move chase .3 -> roam .7 (retention .8); attack period 5 / 1 in 4 / range 200 / sight -> period 3, alignment
|
||||||
|
30, range 300, no sight; retention .5 -> .8 (Pull .64); tether pull 1.5 -> .33 a tick; Pull repeat 6 -> 20.
|
||||||
|
- Not expressible: Pull only after a catch, and held until death (engine_g6.md `tether hold`); the column-aligned
|
||||||
|
case having no range; the lead and +-50 deg clamp of the throw; the cord's spring.
|
||||||
|
|
||||||
|
## holy_eye: NpcAI::ENTITY_EYE 00522ef0 (60.2). Changed (timing)
|
||||||
|
- Variant 2 has its own branch: anchored (velocity = start - pos, friction * .8).
|
||||||
|
Init: ProjectileCooldown 15 + rand%60. State 3: counts down; at <= 0 (not charmed/feared) -> Attack (44 frames,
|
||||||
|
Shoot on 9, 16, 23, 30): no range or line-of-sight test. A hit takes damage * 10 off the cooldown.
|
||||||
|
- Each Shoot: sound 0x110, one light beam 1000.19 (CrackTheSky, subtype 2, SetSize 10, vtable +0x40 called with 7)
|
||||||
|
at Isaac + his velocity * 5 for the first; + vel * 15 + a random unit * rand * 100 for the second; + vel * 20
|
||||||
|
+ rand * 70; + vel * 30 + rand * 50 for the fourth; clamped 20 inside the room. End: cooldown 60 + rand%60.
|
||||||
|
- Was period 30 / 1 in 3 / range 300. Now period 1, cooldown 60 + random(60) drawn once, first_cooldown [15, 60],
|
||||||
|
hurt_cooldown 10, retention .8. The four bolts stay one volley at the first Shoot along his velocity (lead 10, count
|
||||||
|
4); Rep's are 7 ticks apart, each re-aimed with its own lead and scatter: not expressible as data.
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
# Group g7 notes (pass 5, 2026-10-24)
|
||||||
|
|
||||||
|
Common Rebirth bosses ported in pass 1 without notes. `./decompile.sh 0x<addr>` reprints the routine. Friction
|
||||||
|
0x36c is reset from entities2 each tick, so an AI's `friction *= f` is the record's retention. FireProjectiles modes:
|
||||||
|
3 = three at 0 / +-24 deg, 8 = eight-way, 9 = ring (vel.x speed, vel.y count). FireBossProjectiles(n, target, traj)
|
||||||
|
(006ccdd0): aimed = dir*7 + random*3.5, fall accel .32 + .1*traj, fall speed 5 - rand*24 - traj, scale .9/1.3 + rand*.05.
|
||||||
|
ProjectileParams +0x24 Acceleration with BulletFlags 0x8000000 (ACCELERATE) multiplies velocity by it each tick.
|
||||||
|
|
||||||
|
## polycephalus: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (269.0). Changed
|
||||||
|
- Variant 1 (The Pile) branches off at the top. Type 269 vs 401 is tested as float bit patterns (3.76949e-43 / 5.61921e-43).
|
||||||
|
- State 3 Idle: per tick rand%30 -> state 4 (GoUnder, sound 0x42). State 4 i1=2 underground: shrinks over 50 ticks,
|
||||||
|
FindGridPath(CalcTargetPosition + RandomVector * rand*100, clamped 20, speed 1.0), collision off; surfaces on
|
||||||
|
dist^2 < 22500 and rand%15 (or confused/feared). Friction *.8 every tick.
|
||||||
|
- Pick (269): state = rand&1 | 8 (subtype 1 always 8); rand%5 and room count < 3 (Room+0x12c0 + Room+0x12c4; with
|
||||||
|
flag 0x10000000 CountRelatedEntities(244 / 58) < 3) and subtype != 2 -> state 10.
|
||||||
|
- ComeUp then: 8 Attack1 on Shoot (frame 11): target Isaac + vel*10; subtype 1 mode 9 (10, 6); else 50% mode 3 at 10,
|
||||||
|
50% mode 8 at 10. 9 Attack2: FireBossProjectiles(1, Isaac + vel*10, 1.0) every tick after Shoot until StopShooting
|
||||||
|
(frames 5..25). 10 Attack3 Shoot: one 244 (subtype 1: 58) at pos + RandomVector*60. End: state 3.
|
||||||
|
- Subtype 2 spawns its twin at init (40 px off) unless its spawner is 269.
|
||||||
|
- Port: surfacing period 1 / one_in 15 / range 150; ComeUp per colour with next lists [3,4,5,5] (spread, eight, stream)
|
||||||
|
and next_roll .2 to the summon (when others_below 2); Attack2 a boss_volley stream (on Shoot until StopShooting,
|
||||||
|
aim_lead 10, volley fall_acceleration .42, fall_base 4); summon on Attack3 (the Summon clip is the Stain's); Idle
|
||||||
|
ticks 1 + random 60 (mean of the 1-in-30 roll), then GoUnder. Not expressible: the jittered underground target.
|
||||||
|
|
||||||
|
## the_stain: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (401.0). Changed
|
||||||
|
- Same surfacing. Pick: rand&1 ? 9 : 8 (subtype 1 always 8); (rand%5 or subtype 1) and count < 3 (flag: Chargers 23,
|
||||||
|
or Round Worms 244 for subtype 1) -> 13. State 8/13 rise with ComeUp, 9 with ComeUp2.
|
||||||
|
- 8 Attack1 Shoot: 17 effects 1000.22 (red creep) at x = pos.x + 120 t, t = -1..1 step .125, scale |t|*.56 + .3
|
||||||
|
(t = 0: 1.84), timeout 70; sound 0x107.
|
||||||
|
- 9: i1 1 Attack2Shooting (loops 4 frames, Shoot on frame 0) for 90 ticks: mode 9 (6, 3), BulletFlags ACCELERATE,
|
||||||
|
Acceleration .985, CircleAngle stateFrame*.118, FallingSpeedModifier -2, FallingAccelModifier -.06; i1 2 Attack2End
|
||||||
|
until its clip and 31 ticks; i1 3 Attack2Start (sound 0x1a3); i1 4 Attack2Shooting 90 ticks of mode 9 (3.2, 4),
|
||||||
|
Acceleration 1.025, angle stateFrame*.12; i1 5 Attack2End; i1 6 GoUnder2 -> state 4 (no Idle).
|
||||||
|
- 13 Summon on "Summon": 2 Chargers (subtype 1: Round Worms) at FindFreePickupSpawnPosition(pos, 60).
|
||||||
|
- 8 and 13 end in state 3 (Idle, 1 in 30 a tick) then GoUnder.
|
||||||
|
- Port: ComeUp (one_in 25) / ComeUp2 (one_in 38) split the 1-in-15 roll .6/.4; spirals (fan of 3 / 4, spread .472 /
|
||||||
|
.48 per volley, speed_scale .985 / 1.025, fall_velocity -5, fall_acceleration -.06); creep count 17, scale .7 along
|
||||||
|
+-120. Not expressible: the creep's even spacing and graded scale.
|
||||||
|
|
||||||
|
## rag_man: NpcAI::ENTITY_RAG_MAN 00493200 (405.0). Changed
|
||||||
|
- Per tick: heads = live 405.1 it spawned; owned = its Raglings (246), remains = those in state 16. Head allowance
|
||||||
|
local_fc = 0 at full health, 1 hurt, 2 < 75%, 3 < 55%, 4 < 35%; live allowance local_130 = 1 hurt, 2 < 60%
|
||||||
|
(subtype 1: 4 and 4). i1 counts ticks while owned - remains < local_130, else 0.
|
||||||
|
- State 4: FindGridPath(target, 1.05, 900) under .8; target Isaac, or nearest live Ragling + 60 along Isaac->Ragling,
|
||||||
|
or (i1 > 119 and below allowance) the nearest remains. Walk clips by velocity.
|
||||||
|
- Decisions: (i1 >= 120 or red) and owned < local_fc and live < local_130 -> 13 head throw; i1 >= 120 and within 70 of
|
||||||
|
remains -> 14 revive; black rand%100 == 0 -> 14; else IsFrame(15), rand%100 < 20, a test on Isaac's absolute
|
||||||
|
coordinates (|y| < |x|, looks like a bug), cooldown < 1, not red -> 8.
|
||||||
|
- 13 HeadThrowLeft/Right (side from Isaac, away from walls within 80): Spawn event spawns 405.1 at pos +-57 x with
|
||||||
|
velocity (+-10, 0); then state 3 with cooldown 40 + rand%20.
|
||||||
|
- 3 headless: friction .75, MoveRandomly(0) then velocity *1.1; cooldown out (not red): one homing (SMART) shot along
|
||||||
|
its velocity at 5 (FallingSpeed -5, FallingAccel .3), cooldown 40 + rand%20; HeadPop once no head lives.
|
||||||
|
- 8 Shooting1/3/5: rand%3, -1 above 2/3 health, +1 below 1/3; each Shoot an aimed SMART shot at 7 from pos +-16 x;
|
||||||
|
cooldown 90 after.
|
||||||
|
- 14 Rebirth Revive event: black FireBossProjectiles(3, random player, traj 10); else remains within 100 -> state 2,
|
||||||
|
live Raglings within 100 +25% max health; itself +5% max.
|
||||||
|
- Head 405.1: rolls 60 + rand*45 ticks, speed 10 easing to 2 over i1-75..i1-15, homing .15, friction .8; then a
|
||||||
|
Ragling 246.1 (red .66 health; black 1-2 Spiders 85 instead).
|
||||||
|
- Port: head throws in 4 hp bands (when hp_share_below/above + type_count of Raglings below 1..4), period 15 one_in 8
|
||||||
|
(~120 ticks), spawn_velocity [10, 0] with spawn_facing; red period 1 below 4. Headless 60-105 ticks, retention .75.
|
||||||
|
Shooting period 15, cooldown 90, Shooting1/3/5 weighted by hp band. Revive radius 100. Black's spray a boss_volley.
|
||||||
|
|
||||||
|
## little_horn: NpcAI::ENTITY_LITTLE_HORN 00490680 (404.0). Changed
|
||||||
|
- Friction *.8 a tick; own bombs (spawner type 404) deal it 25% (damage list scan at the top).
|
||||||
|
- State 3: v1 random (len 1.2*rand), redrawn every 50 ticks; target pos + v1, plus (190-d)*.03 away from each player
|
||||||
|
within 190 and (130-d)*.03 from each entity of a sublist within 130; clamped, plus .03 * (pos clamped 100 in - pos)
|
||||||
|
doubled on its major axis; accel min(.8, |target - pos|) / friction.
|
||||||
|
- Teleport: a player (or listed entity) within 120, or IsFrame(15) rand%100 <= 14; only with i1 (cooldown) < 1:
|
||||||
|
state 6, i2 = 1; rand%100 < 20 (50 at health <= 30%) -> state 16, i2 = 3 + rand%3. Teleport clip end: state 16 and
|
||||||
|
not black drops a bomb (variant 3, orange 8) where it was; it moves to a random free spot >= 160 from there and
|
||||||
|
>= 120 from players (30 tries); Return; i2--, at 0 state 3 and i1 = 75.
|
||||||
|
- Attack roll IsFrame(15) rand%100 < 25: n1 (first sublist, the Dark Balls): 0 -> 60% Shoot, else (or n1 < 3) 20%
|
||||||
|
Shoot; black and n1 < 2 -> Shoot; n2 (second sublist, the pitfalls): 0 -> 50%, 1 -> 10% the pit summon (plain only,
|
||||||
|
NpcHelper::big_horn_is_any_hole_busy false, no flag 0x10000000) else bombs: rand%100 < 75 (or orange) Bomb, else
|
||||||
|
MegaBomb; black nothing.
|
||||||
|
- 8 Shoot: plain/black spawn 404.1 velocity (0, 4), recoil vy -= 3.5/f; orange throws a bomb (4.8) at Isaac at 15
|
||||||
|
from 5 px ahead. 9/10 Bomb/MegaBomb: Bomb event spawns bomb variant 3 / 4 (orange 8) at FindFreePickupSpawnPosition
|
||||||
|
(Isaac's target, 40). 13/14 Summon: pitfall 291 variant 0 on itself (Isaac < 140) or variant 2, 1 (50%), 3 (40%) or
|
||||||
|
5 (10%) of them at 8.75 in a ring starting at Isaac's heading, timeout 240.
|
||||||
|
- Port: one weighted choice every tick (Rep's per-15-tick odds / 15 out of 100000, idle the rest), forced single
|
||||||
|
teleport within 120; chains of 3-5 (next [-1, x, x], [-1, y]); Dark Ball on Shoot, pitfalls on Summon (swapped
|
||||||
|
before); flee speed .55. Not expressible: the random drift, the 75-tick teleport-only cooldown, hot bombs.
|
||||||
|
|
||||||
|
## dark_ball: NpcAI::ENTITY_LITTLE_HORN 00490680 (404.1). Changed
|
||||||
|
- Subtype 0: friction *.8; velocity *= 1.1765 then += .5 * dir to target / friction: v' = .941 v + .5 dir. Pushed off
|
||||||
|
entities within 100 (.003 and .01 a pixel). Sprite offset -20, grid collision walls only. Subtype 1: velocity
|
||||||
|
dir*10. Spawns three 1000.88 trail effects a tick.
|
||||||
|
- Port: scripted hover .5 / retention .941, mass 20 (entities2).
|
||||||
|
|
||||||
|
## dark_one: NpcAI::ENTITY_DARK_ONE 0045d7d0 (267.0). Changed
|
||||||
|
- Friction = .8 (set), MoveRandomlyBoss(0) (drift .625 / .8 by the pass-2 convention). Clamped inside the room.
|
||||||
|
- IsFrame(60) and (rand&3) <= 2 and not dark (Game+0x26518 <= 0) -> 16 Darkness; at its end Game+0x2651c = 1,
|
||||||
|
Game+0x26514 = 180.
|
||||||
|
- Else IsFrame(10): rand%6 -> 8 Attack1 (Shoot: mode 9 (9, 12), HeightModifier -17, FallingSpeedModifier 1.3).
|
||||||
|
Else (|dy| < 20 and IsFrame(10) rand&1) or (dark and IsFrame(10) rand%5) -> 10 Charge (sound 0x77, FlipX to Isaac,
|
||||||
|
target = its position). Else |dx| < 40, Isaac below, IsFrame(10) rand&1 -> 9 Attack2: Shoot event
|
||||||
|
Entity_Laser::ShootAngle(1, pos + (0, 5), 90, timeout 10, offset (0, -20)).
|
||||||
|
- 10: from the Charge event vx = +-22 every tick, vy += clamp(dy / 100, +-.4) (net); past the right side + 100 it
|
||||||
|
wraps to the left - 100 and back, stateFrame counting wraps; ends after two wraps once past its start x.
|
||||||
|
- Port: darkness period 60 when not_one_in 4, 180 ticks; Attack1 period 10 one_in 6 at 9; Charge row 20, one_in 2,
|
||||||
|
three Charge Shake crossings at 22; laser lifetime 10, column 40 above. Not expressible: wrap-round, steering.
|
||||||
|
|
||||||
|
## mega_fatty: NpcAI::ENTITY_MEGA_FATTY 00460780 (264.0). Partial (mostly matched)
|
||||||
|
- Idle needs stateFrame > 30, then rand%15 (or rand%5 while field 0x14 > 0, just hurt). Weights a = 30 suck (brown 0),
|
||||||
|
b = 30 fart (50 within 120), c = 20 jump (40 beyond 240); r = rand % (3a + 2b + c): r < a suck (16), < a+b fart
|
||||||
|
(10), < a+b+c jump (6: target Isaac + vel*10, i1 = rand&1 leap/stomp), else nothing.
|
||||||
|
- Puke per tick from Shoot to StopShooting: mode 0 at RandomVector*rand*(1 + 2 clamp((frame-10)/15)) + delta*.025 +
|
||||||
|
Isaac vel*.6, HeightModifier -300, FallingSpeed -40, FallingAccel 2, variant 3, scale .5 + rand; red: IsFrame(3)
|
||||||
|
mode 9 (5, 4) at pos - (0, 8), CircleAngle frames*.05, scale 1.5, FallingSpeed 1.5, HeightModifier -40.
|
||||||
|
- Already matched in the data (85 / 63 / 142 / 254). Changed: the any-range jumps gated within 240; brown's rates
|
||||||
|
(fart 36 / 45, far jumps 75, nearer 150).
|
||||||
Reference in new issue
Block a user