notes: Hornfel attacks/mines/charge, Ultra Greed shield/heal/smash pairs, Mother transition laser and worms

This commit is contained in:
shweet committed 2026-10-24 17:16:40 -04:00
1 parent ae89db625c
commit e4c740cc09
2 files changed
+42

No files matched your search

+31
View File
@@ -62,3 +62,34 @@ What these bosses do beyond the first boss pass, read from the decompile; each s
charmed); 3 charm (10): clamp(33 a - 15 b, 1, 150) while b < 6 and a > 0; 4 Recall (12): clamp(33 c, 33, 100);
5 burrow (6): 100 * (clamp(x into the right 80) + clamp(x into the left 80) + clamp(y down the lower half)) while
b == 0; 0 idle: 100 with b >= 1 (or when the list is empty). Flags 0xbb9/0xbbb/0xbbc/0xbbd block each.
## hornfel: Entity_NPC::Hornfel_UpdateAI 004b92e0, NpcHelper::hornfel_attack 004b8ca0
- hornfel_attack (when projectileDelay runs out in state 3): WeightedOutcomePicker, weight 1 each: 0 a throw (state 8,
Attack1Left/Right, _Back when Isaac is above by .2), 1 the double throw, 2 the mines (only while 0xba0 is 0; sets it
150): state 9 Attack2, on Shoot 3 (4 when the room's width * height > 135) brimstone bombs (4.15, flag 0x188) thrown
(FUN_004b90e0) to free spots each the best of 10 random positions 40 in by summed distance from the others.
- State 8's throw: Isaac + his velocity * (.1 + .2 rand) * distance, the free spot there. After it, 1 in 10 a Taunt
(150-tick rest) while above half health.
- State 10 (ChargeLeft/Right/Up/Down by the cart's velocity): the cart's speed + .08 a tick up to 30; every 15 ticks in
the room a normal bomb thrown to a free spot by him. State 11 ChargeFinish: on Shoot one boss shot at Isaac's lead
(.1 of distance) at 10, flags 8, fall -3 + .7, gravity 2. What sets state 10 is not in Hornfel_UpdateAI,
hornfel_minecart or ENTITY_MINECART (the room controller, 1281, probably).
- State 16 (decoy) death: explosion 1000.1, crater 1000.18, BombDamage 110 / 75, six troll bombs (4.3) at 5-20 random.
## ultra_greed: NpcAI::ENTITY_ULTRA_GREED 0059edb0
- shieldStrength 65 (Greedier 45); 85/60 when PersistentGameData+0x142 or (+8 == 2 and a co-op player). Doubled in
states 100 (slot), 400 (guard), 510 (spin). Greedier sets 45 at the morph and keeps it.
- Each tick it sums the coin pickups' values (5.20 subtypes 1-7, table DAT_00b67e34) on the floor (local_148).
- Entity_Pickup::HandleCollision: a coin touched by Ultra Greed (406) or 916 heals UltraGreed_Heal(value): hp +=
max * .00125 * n (capped at max), I2 (anger) += n up to 25, a gold flash.
- NpcHelper::UltraGreed_Smash 0059e730: states 700/16 draw 0 (weight 100: 1 to n random doors) or 1 (70: n draws),
state 710 one; each door drawn opens (state 8) with UltraDoor_Opposite's (state 9).
## mother: NpcAI::ENTITY_MOTHER 00569170
- State 16 (Transition): each Shoot event (frames 25, 31, 102, 150) by I1: 0 and 1 remove an arm (gibs, blood, 0x8d),
2 Entity_Laser::ShootAngle(variant 6, ShootPos + (0, 10), 90 degrees, 47 ticks), tint (2, 2.2, 1), max distance
1000, blood cloud; 3 Morph(912, 10) with full health, velocity (0, 16), offset (0, 60), camera focus 100 below.
- Wrist attack (state 10) on Shoot: eight Mother Worms (912.30) from ShootPos + (0, 60) + 4 out, angles 30 + 120 * i/7
degrees, speed 6-10, target the player, a field 15 + 8i, scale .7-.9.
- State 0 (subtype 0): two effects 1000.140 loading gfx/backdrop/07x_corpse_bottomwall.anm2 (layer 0 alone, under;
the other layers over, 0x35c 1), removes the doors, teleports players to the room's bottom centre - 120.