Player parts: how Entity_Player::Update 0x782af0 transforms the head and body layer groups separately (UpdateCostumes 0x75bf00 marks layers 1, 2, 3, 11 as body; head layers take HeadTransform, _headScale, the head lift * 8; render_build_sprite_quad 0x409cb0 scales a layer about its frame pivot), Jelly Belly's wobble constants (0x787178), and the other part effects (Adrenaline, Tainted Magdalene's hug, Reverse Chariot shake, Berserk, Mars, CACHE_SIZE head scale in EvaluateItems 0x763570)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-30 17:43:06 -04:00
1 parent 71e01c6ba8
commit 88b8393cfe
2 files changed
+48 -1

No files matched your search

+1 -1
View File
@@ -787,7 +787,7 @@ Entity_Player 0x1fb0 std_map_int_int _roomTemporaryCollectibles ctor builds a tr
Entity 0x330 EntityConfig_Entity* _config Entity::LoadEntityConfig 006a98b0 stores the EntityConfig_Entity* here; Entity_Player::Update 00782af0 resets _mass (0x37c) from config+0x44 (mass); NPC AIs spawn_gibs(config+0x60 gibFlags)
Entity_Player 0x110c ANM2 _statusEffectSprite ctor 00753da0 ANM2 ctor; Update 00782af0 loads "gfx/StatusEffects.anm2" into it and plays "Charm"...; Render 0078ca00 draws it above the head (-35 * spriteScale.y)
PlayerCostumeMap 0x0 int _index ClearCollectibleAnim 007ad5a0: -1 = none, else index into Entity_Player::_costumeSpriteDescs (stride 0x130)
PlayerCostumeMap 0xc bool _isBodyLayer Update 00782af0 layer loop over Entity_Player+0x1238 stride 0x10: 0 -> head-style scale/offset (0x1500), else body scale only
PlayerCostumeMap 0xc bool _isBodyLayer Update 00782af0 layer loop over Entity_Player+0x1238 stride 0x10: 0 -> head-style scale/offset (0x1500), else body scale only; UpdateCostumes 0075bf00 sets it for layers 1, 2, 3, 11 (body, body0, body1, top0) only
Entity_Player 0x137e short _deadCatLives GetExtraLives 007bf670 adds it to the 1up/... counts; TriggerDeath 007a1090 decrements it and removes Dead Cat (81) copies above lives*9-8; TriggerCollectibleRemoved 0078ff90 clamps it to 9*GetCollectibleNum(81)
Entity_Player 0x1384 short _numLeprosy AddLeprosy 00759b90: ++ while <3, cache 0x200; EvaluateItems CheckFamiliar(0x79 Leprosy, it)
Entity_Player 0x138c int _bleedOutHealth TakeDamage 007729d0 sets 600 with Shard of Glass (448) under FLAG_BLEED_OUT self-bleed; Update 00782af0 subtracts GetHitPointsLost, at <1 deals damage and resets 600, tints <150, clears the flag+0 when healed; AddHearts/AddRottenHearts zero it
Can't render this file because it contains an unexpected character in line 236 and column 126.