diff --git a/notes/characters/characters_8.md b/notes/characters/characters_8.md index 08f2889..91a45e1 100644 --- a/notes/characters/characters_8.md +++ b/notes/characters/characters_8.md @@ -69,7 +69,7 @@ What the port took from the code. Reprint any function with `./decompile.sh 0xAD ## butter_bean (Game::ButterBeanFart 0x704360; Entity::AddKnockback 0x6b7a80; Entity::Update 0x6ae820) - Pushes vulnerable enemies (and pickups, bombs; reflects shots, deflects projectiles-as-tears): strength - 2*min(7, radius - dist), x1.5 with trinket 134 (Wiggle?) multiplier > 1, confusion 90 at > 2; mass > 20 x0.5, + 2*min(7, radius - dist), Gigante Bean (trinket 134) doubles the radius and push (x1.5 more at multiplier 2, confusion 90 at 3); mass > 20 x0.5, > 30 x0.2, > 50 x0.015 (as decompiled); velocity = dir * that + old * 0.5; 10 damage when doubled. - With the knockback flag: `AddKnockback(dir*16, floor(lerp(...)), takeImpactDamage=1)` sets entity flags 0x8000 (knocked back) and 0x10000 (impact) in the high word.